TWS/Graph - horizont

Download Report

Transcript TWS/Graph - horizont

TWS/Graph
The Best View to TWS
Getting Started
HORIZONT
Software
for Datacenters1
HORIZONT
Garmischer Str. 8
D- 80339 München
Tel ++49(0)89 / 540 162 - 0
www.horizont-it.com
TWS/Graph
TWS/Graph – Some basic information
Before we’re starting with the training, we like to
give some basic information about TWS/Graph:
• TWS/Graph is the successor of OPC/Graph
• TWS/Graph can read and display data from “TWS for z/OS” and “TWS
for Distributed”
• In connection with “TWS for z/OS” the product can be used offline or
online
HORIZONT
2
TWS/Graph
TWS/Graph - Getting Started Overview
Create PC files with TWS/Graph
Host
goto
goto
TWS/Graph PC Basics
goto
TWS/Graph Host AD Documentation
goto
TWS/XRef Host
goto
TWS/Graph PC advanced
techniques
HORIZONT
3
TWS/Graph
Create PC files 1/6
Use TWS/Graph Host to read your OPC database
and to create PC files:
USERID.TWSGRAPH.AD
Description
Application
USERID.TWSGRAPH.CP
Current Plan
Start the procedure by calling TWS/Graph HOST...
Click here to skip this chapter if you like to use TWS/Graph’s built-in
communication feature rather than manual FTP, or if the input files are
already available on your PC!
HORIZONT
4
TWS/Graph
Create PC files 2/6
For the AD:
Select Option 1
For the CP:
Select Option 2
HORIZONT
5
TWS/Graph
Create PC files 3/6
* for all
Applications
It is a good idea to unload
the complete database,
because selection is also
available on the PC!
Check OPC
parameters
HORIZONT
Submit job
immediately
or...
Output file
for the PC
6
TWS/Graph
Create PC files 4/6
..submit the
job manually
HORIZONT
7
TWS/Graph
Create PC files 5/6
Check for
RC=0...
RC=0 OK
RC=12 No applications found
according to your
selection criteria
HORIZON
HORIZONT
8
TWS/Graph
Create PC files 6/6
...and see DD
SYSPRINT for
statistics
HORIZONT
9
TWS/Graph
Transfer PC Files 1/2
After a successful unload job the output file has
to be transferred to the PC manually
Important:
The file transfer mode is TEXT, following options
have to be selected:
- ASCII (translation from EBCDIC to ASCII)
- CRLF (Carriage return line feed)
HORIZONT
10
TWS/Graph
Transfer PC Files 2/2
Host file (Example):
´USERID.TWSGRAPH.AD´
PC file (Example):
C:\TWSGRAPH\TWSGRAPH.AD
Required transfer mode is TEXT!
(ASCII and CRLF!)
HORIZONT
11
TWS/Graph
TWS/Graph – PC Files Summary
1.
Call TWS/Graph Host
2.
Select “AD UNLOAD” or “CP UNLOAD”
3.
Enter Selection Criteria
4.
Submit Job
5.
Check Results
6.
Transfer output file to the PC
HORIZONT
12
TWS/Graph
TWS/Graph - Getting Started Overview
goto
Create PC files with TWS/Graph
Host
goto
TWS/Graph PC Basics
goto
TWS/Graph Host AD Documentation
goto
TWS/XRef Host
goto
TWS/Graph PC advanced
techniques
HORIZONT
13
TWS/Graph
PC Client Basics
Press
Open
First you have to load some data
from “TWS for z/OS” (OPC).
HORIZONT
14
TWS/Graph
Basics - File Open
Select
Application
description
Enter the name of
the PC file:
TWSGRAPH.AD
Select Initial
Netplan type
Select
Enter selection
criteria
…or “Use
communication” if you
like to work ONLINE
OK...
HORIZONT
15
TWS/Graph
Basics - Enter Selection Criteria
If you’re working
ONLINE...
Specify your TSO userid and password.
Please note that the TSO session is not
blocked by TWS/Graph!
HORIZONT
16
TWS/Graph
Basics - Enter Selection Criteria
Enter Selection
Criteria
...
(like OPC option 1.4.3!)
OK...
HORIZONT
Important:
Do not select too many Applications!
Netplans with more than 500 objects
are quite difficult to read!
17
TWS/Graph
Basics - List Selected Applications
The result is a list with all
Applications meeting your
Selection Criteria
Deselect
Applications you do
not need with a
mouse click
plus all external
Predecessors and
Successors
(optional)
Then click
OK...
HORIZONT
18
TWS/Graph
Basics - Application Netplan
The result is a netplan with
the selected applications
Number of applications in
this netplan
APP: application netplan
AD: Source is AD file
HORIZONT
19
TWS/Graph
Basics – Some Actions
Click on OP
button to
create an
Operation
netplan
Zoom in...
Position the
mouse on
application
symbols...
...and see the
Application Id!
HORIZONT
20
TWS/Graph
Basics – Some Actions
With click on APP
button you can jump
back to the application
netplan (but stay here)
Number of operations in
this netplan
OP: operation netplan
AD: Source is AD file
HORIZONT
21
TWS/Graph
Basics - Zoom In
Another way to Zoom in: 1.
Position the mouse in a white
space, keep the left mouse
button pressed
2. Drag the
mouse to the
opposite corner,
release the left
mouse button
3. Click with the
left mouse key
somewhere into
the rectangle...
HORIZONT
22
TWS/Graph
Basics - External Preds and Succs
The result is a
more detailed
view of your
applications
The netplan includes all external
Predecessors and Successors.
Applications which are selected
automatically by TWS/Graph are
displayed with a dashed line!
HORIZONT
23
TWS/Graph
Basics - External Preds and Succs
Remove the checkmarks, if
there is no need for all
external predecessors or
successors...
HORIZONT
24
TWS/Graph
TWS/Graph – Basics Summary
1. Use selection criteria on the PC
2. All external Predecessors and Successors are
selected automatically
3. Switch from application to operation netplans
with a simple mouse click
4. Use the mouse to Zoom
HORIZONT
25
TWS/Graph
How to display Application Data
To obtain more information:
Click with the right mouse on the
Application
In the menu, select
Application
Information
HORIZONT
26
TWS/Graph
How to display Operation Data
The result is a list
with all
Application data..
..plus some other
options!
Let’s try the
Operations
button...
HORIZONT
27
TWS/Graph
Operation List
If you doubleclick on an
Operation to
obtain more
information...
The result is a list with
all Operations of the
selected Applications
HORIZONT
28
TWS/Graph
Operation Data
…you’ll get a list
with all Operation
data!
PS: All
information
windows can be
resized!
Close all
information
windows...
HORIZONT
29
TWS/Graph
Maximize Netplan
...and maximize the
Operation netplan...
In Operation netplans symbols
and colors help you to identify
Workstations (CPU-Id)
HORIZONT
30
TWS/Graph
Search for Operations
Very simple!
Use the menu option Search
to locate Applications,
Operations,
Special Resources...
How can I locate
an operation?
HORIZONT
31
TWS/Graph
Search for Operations
We are
searching for
Operations with
WsId=CPU*
Click OK...
HORIZONT
32
TWS/Graph
Search Results
Double click in the
listbox..
...to display all data
of the selected
Operation
the result of the search is a
list with 5 Operations
HORIZONT
33
TWS/Graph
Marked Symbols
Selected
Operations are
marked
Subnet creates a
new netplan with
marked Operations
All other
Operations are
not marked
HORIZONT
34
TWS/Graph
Marked Symbols
The result is a netplan
with all marked
Operations
Subnets are very
useful in order to
extract information!
HORIZONT
35
TWS/Graph
How to create a Subnet
..and..and
create
a
create
a
Subnet
with the
Subnet
with
selected
the selected
Operations!
Operations!
Select Operations
with left mouse
clicks...
HORIZONT
36
TWS/Graph
TWS/Graph – Netplan Basics Summary
1.
Use the right mouse to active context menus
2.
Display Application- and Operation data with the
options in the context menu
3.
Use left double clicks in Operation lists to display
Operation data
4.
Use Search to locate and mark Applications and
Operations
5.
Use Subnet in order to extract marked
Applications and Operations
HORIZONT
37
TWS/Graph
Search for Special Resources
Another task:
Let’s search for
Special Resources!
Click OK to start the
search...
HORIZONT
38
TWS/Graph
Remove Existing Marks
What does
that mean?
That message occurs if there are any marked objects in the netplan.
1. If you select the ceckbox: You remove the existing marks before the search.
2. If you do not select it: You keep the existing marks. In this way, different Operations
can be searched sequentially, e.g. first WSID=A* and then WSID=B*
HORIZONT
39
TWS/Graph
List of Operations with Special Resources
The result of the search
is a list with all
Operations which have
Special Resources
Press Menu to
display the
Special
Resources...
HORIZONT
Do not forget:
The resulting
Operations are
marked in the netplan!
40
TWS/Graph
Display Special Resource Information
Select Special
Resources...
...and get a
list with
Special
Resources
HORIZONT
41
TWS/Graph
TWS/Graph – Search Summary
1.
Use the Search function to locate Applications,
Operations, Special Resources...
2.
Existing markings will be removed automatically
(if you confirm it!)
3.
Use Subnets in order to extract selected
Applications or Operations
We are at the end of PC basics, let’s have a break!
HORIZONT
42
TWS/Graph
TWS/Graph - Getting Started Overview
goto
Create PC files with TWS/Graph
Host
goto
TWS/Graph PC Basics
goto
TWS/Graph Host AD
Documentation
goto
TWS/XRef Host
goto
TWS/Graph PC advanced
techniques
goto
TWS/Graph Simulation
HORIZONT
43
TWS/Graph
AD Documentation
The AD Docu is a complete documentation of
your Applications including:
• Run Cycles
• One-year-in-advance run day overview
• Internal and external Pred and Succ
• Special Resources
• JCL
LIST
HORIZONT
44
TWS/Graph
HTML
Create AD Docu 1/4
From the Application
Netplan:
Select Docu...
HORIZONT
45
TWS/Graph
Create AD Docu 2/4
Select the desired
topics...
HORIZONT
46
TWS/Graph
Create AD Docu 3/4
… and get the result
as a list ...
HORIZONT
47
TWS/Graph
Create AD Docu 3/4
… or as a HTML file
HORIZONT
48
TWS/Graph
HTML Settings for AD Docu
How to get HTML?:
Click on “HTML
Parameter”...
HORIZONT
49
TWS/Graph
HTML Settings for AD Docu
Select this option if
you like to get HTML
If the HTML docu is not displayed, try one of the
following commands:
•REGINA EXEC.REX IEXPLORE
•START IEXPLORE
•IEXPLORE
HORIZONT
50
TWS/Graph
Create AD docu for more applications
Normally you have to click with
the right mouse on an
application, and the docu is
created exactly for this
application…
HORIZONT
51
TWS/Graph
Create AD docu for more applications
If you have marked applications in
the netplan (left mouse click or
search functions)…
HORIZONT
52
TWS/Graph
Create AD docu for more applications
…and you click with the right
mouse somewhere on the
freespace…
HORIZONT
53
TWS/Graph
Create AD docu for more applications
…you can create a docu for all
selected applications.
Click on an entry in the index at
the end of the docu…
HORIZONT
54
TWS/Graph
Create AD docu for more applications
…to get the docu for the
selected application
HORIZONT
55
TWS/Graph
TWS/Graph – Docu Summary
1.
The AD report creates automatically a
documentation of your Application description
2.
The report offers special tables like
Application Schedules, Successors , JCL,
Datasets...
3.
The docu can be created for as many
applications as you like
HORIZONT
56
TWS/Graph
TWS/Graph - Getting Started Overview
Create PC files with TWS/Graph
Host
goto
goto
TWS/Graph PC Basics
goto
TWS/Graph Host AD Documentation
goto
TWS/XRef Host
goto
Basics
goto
OR
goto
TWS/Graph PC advanced
techniques
TWS/Graph
HORIZONT
Simulation 57
goto
TWS/Graph
TWS/XRef – AD Queries on the Host
Select Option 6
”TWS/XRef"
TWS/XRef enables you to create your own Queries
and Reports on your Application Description
HORIZONT
58
TWS/Graph
What is a Model?
If you are using TWS/XRef for the
first time, you should use Option 1
(MODELS) to create a copy of the
default library, in our example it is
‘SYS.TWSGRAPH.V4R0.MODELS
’
What is a Model?
It is a combination
of Input- and Output
definitions!
And what is a Model library?
It is a PO-dataset containing
your own Models!
HORIZONT
59
TWS/Graph
Model Library
-------------------------------- COPY MODEL ------------------------Command ===>
Replace
Source
Target
===> Y (Y - replace existing models, N - do not replace)
===> SYS.TWSGRAPH.V4R0.MODEL____________________________
USER.OPCXREF.MODEL_________________________________
Enter the name of the default library supplied
with TWS/Graph,
usually ‘SYS.TWSGRAPH.V4R0.MODEL’
and the name of your personal library, usually
‘USER.OPCXREF.MODEL’...
HORIZONT
60
TWS/Graph
Copy Models to a private Library
------------------------------- COPY MODEL ------------COMMAND ===>
ROW 1 TO 5 OF 5
SCROLL ===> PAGE
Source
: SYS.TWSGRAPH.V4R0.MODEL
Target
: USER.OPCXREF.MODEL
Select models with an "S"
Cmd Name
Description
S
OP#1
Operations with application-names___________________________
S
SR#1
Special Resources, output with operation - data_____________
S
APP#1
Application - data with run - cycle information_____________
S
APP#2
Application - data with operation information_______________
S
DEFAULT Default model, all keys_____________________________________
******************************* BOTTOM OF DATA ***************************
...select all Models with an S
(Line Command), than ENTER
HORIZONT
61
TWS/Graph
Copy Models to a private Library
Now your
personal Model
library is ready
to get started!
Let’s go back to the Main
Panel of TWS/XRef...
HORIZONT
62
TWS/Graph
Select Model
Use option 2 to select a model for
further processing ...
HORIZONT
63
TWS/Graph
Select Model
...select the
desired Model
with the line
command S...
HORIZONT
64
TWS/Graph
Specify Selection Criteria
...and specify the selection criteria.
Here we are looking for all
Applications using other periods than
DAILY.
Use comparison
operarators like
EQ, NE, GT, LT...
...and start the
query finally with
the Primary
Command EXEC...
HORIZONT
65
TWS/Graph
Display Results
The result is a list with all
Applications using other
Periods than DAILY!
TWS/XRef supports all data fields of
Applications, Run Cycles, Rules,
Predecessors and Special Resources!
HORIZONT
66
TWS/Graph
Modify Models
Select Option 1
“MODELS”...
Looks good! But how can I
define my own Input
Panels and Report
Layouts with TWS/XRef?
HORIZONT
67
TWS/Graph
Modify Models
...and select the Model you
like to modify with the Line
Command M...
HORIZONT
68
TWS/Graph
Modify Models
OPC fields...
... position of the field
in the Input Panel...
...length of the field
in the resulting
report...
...and the position of
the field in the report
You are now ready to modify your
Model...
Finally let’s test the Model with
the Primary Command TEST...
HORIZONT
69
TWS/Graph
Start the Query
First you have to
specify the desired
selection criteria...
...and than you have to
start the query with the
Primary Command
EXEC
HORIZONT
70
TWS/Graph
Start the Query
The result is a list with
all Applications meeting
your selection criteria!
HORIZONT
71
TWS/Graph
Running TWS/XRef in Batch Mode
It is also possible to
run the program in
batch mode!
Does that mean that I can schedule
queries automatically to create input
files for other programs?
Exactly!
HORIZONT
72
TWS/Graph
An Example…
Example:
We need to locate all Operations
having at least 50 external
Predecessors.
HORIZONT
Select the
appropriate
Model...
73
TWS/Graph
An Example…
The only input field which is mandatory for that
task is ‘No. of ext. Pred’.
To supress all other fields in the input panel the
values at ‘Pos’ have to be Blank.
HORIZONT
74
TWS/Graph
An Example…
Specify 49...
... and GT
(Greater Than)
...
HORIZONT
75
TWS/Graph
An Example…
...to get a list with all
Operations having at
least 50 external
Predecessors
HORIZONT
76
TWS/Graph
Another Example…
Another example:
We need to locate all Operations running
on Workstation CPU1 or CPU2
HORIZONT
77
TWS/Graph
Another Example…
All entries on a page are logically connected with
AND. With the Primary Commands OR and COPY
you can create queries like
WSID=CPU1 OR WSID=CPU2
HORIZONT
78
TWS/Graph
OR Selection
APPID GE A
Page 1 of 2
Result:
AND
Page 2 of 2
APPID LE C
A
B
C
X
Y
Z
OR
APPID GE X
AND
APPID LE Z
HORIZONT
79
TWS/Graph
OR Selection
The Primary Command COPY
copies the current page, OR
creates a new page with all
available selection criteria.
HORIZONT
80
TWS/Graph
OR Selection
WsId EQ
CPU1...
OR...
Let’s go back to Page 1 of 2 to
check our definition
HORIZONT
81
TWS/Graph
OR Selection
‘Page 2 of 2’
indicates that
there are 2 OR
pages!
WsId EQ CPU2
HORIZONT
82
TWS/Graph
OR Selection
...Let’s go back to
the first page...
...and start the
query with the
Primary Command
EXEC
HORIZONT
83
TWS/Graph
OR Selection
...The result is a list
with all Operations
running on
Workstation CPU1
OR CPU2
HORIZONT
84
TWS/Graph
TWS/XRef - Summary
1.
Create Query Panels and Report Layouts
2.
Use all Data Fields of the Application Description
3.
Use Generic Expressions like AppId=A*B%%1
4.
Use Comparison Operators EQ,NE,GT,LT...
5.
Use AND as well as OR logic
...and all of that without any line of coding!
HORIZONT
85
TWS/Graph
TWS/Graph - Getting Started Overview
goto
Create PC files with TWS/Graph
Host
goto
TWS/Graph PC Basics
goto
TWS/Graph Host AD Documentation
goto
TWS/XRef Host
goto
TWS/Graph PC advanced
techniques
HORIZONT
86
TWS/Graph
TWS/Graph – Advanced Techniques
• Work with Application Lists
• Predecessors and Successors
• Netplan "From-Job-to-Job”
• Clusters
• Modify netplans
• Simulation
• Loop Analysis
• Critical Path
• Status monitoring with TWS/Graph
HORIZONT
87
TWS/Graph
How to use Application Lists
Every day I need
exactly 3 special
Applications.
How can I do this?
HORIZONT
88
TWS/Graph
How to use Application Lists
Use Menu Option
File Save As...
HORIZONT
89
TWS/Graph
How to use Application Lists
Select
Application List...
...and save the file
HORIZONT
90
...specify the file
name....
TWS/Graph
How to use Application Lists
Select Open...
...and the data file
name...
Select Load
applications from
application list...
HORIZONT
...specify the file
name of the
Application List....
91
TWS/Graph
How to use Application Lists
...get the
Application list...
...and press OK
HORIZONT
92
TWS/Graph
How to use Application Lists
And get the
resulting netplan
What’s that?
There are more than 3
Applications in the netplan!
HORIZONT
93
TWS/Graph
How to use Application Lists
You have selected all
external Predecessors
and Successors. That
means that all external
Predecessors and
Successor will be taken into
account automatically!
HORIZONT
94
TWS/Graph
How to use Application Lists
I would like to add
an Application to
the list.
How can I do this?
Select Edit Application
List...
HORIZONT
...specify the file
name....
95
TWS/Graph
How to use Application Lists
...ore use any external editor,
e.g. the notepad, to modify the
Application list
...and get the list into an
internal editor...
HORIZONT
96
TWS/Graph
TWS/Graph – Advanced Techniques
Predecessors and Successors
HORIZONT
97
TWS/Graph
Predecessors and successors
There are two options with TWS/Graph to
search for all predecessors and successors
of an application or operation:
1. Search within an existing netplan
goto
2. Search directly in the database
goto
HORIZONT
98
TWS/Graph
Predecessors and successors
Every option has its pro and cons:
•
Search within existing netplans is fast, but only
applications or operations which are already displayed are
taken into account
•
Search from the database can be slow, especially when it
is performed ONLINE
HORIZONT
99
TWS/Graph
Search within netplans
1. Click with the right
mouse on the start job
HORIZONT
100
TWS/Graph
Search within netplans
2. Select “Mark successors”
HORIZONT
101
TWS/Graph
Search within netplans
4. Select SUBNET
3. The successors are
marked
HORIZONT
102
TWS/Graph
Search within netplans
5. The resulting netplan
with all successors
HORIZONT
103
TWS/Graph
Search within netplans
I need all successors
from more than one
startpoint.
How can I do this?
1. Mark all startpoints
HORIZONT
104
TWS/Graph
Search within netplans
2. Click with the right
mouse somewhere
on the whitespace
3. Select “Mark
successors”…
HORIZONT
105
TWS/Graph
Search within netplans
4. The Result
HORIZONT
106
TWS/Graph
Search within netplans
Summary: The function "all
Predecessors and Successors"
has some disadvantages
1. All levels are searched.
2. Only operations which are
displayed in the actual netplan are
taken into account.
HORIZONT
107
TWS/Graph
Load Predecessors and Successors
Alternatively, the search can be
performed on the complete input file or
ONLINE by using the integrated
communication feature. All predecessors
and successors can be selected, and not
only those which are already displayed in
the actual netplan.
ONLINE may result in bad performance. For
subsequent analysis of predecessors and
successors it may be more efficient to
download the complete AD or CP manually
from OPC (click here for more information
how to download files manually)
HORIZONT
108
TWS/Graph
Load Predecessors and Successors
Open
HORIZONT
109
TWS/Graph
Load Predecessors and Successors
Select “Load predecessors and
successors”…
Check this box if you like to
search ONLINE
HORIZONT
110
TWS/Graph
Load Predecessors and Successors
If you specify any operation
criteria: The search is performed
on operation level...
specify the start application...
HORIZONT
111
TWS/Graph
Predecessors and successors
What is the difference between application
and operation level?
•
On application level only external dependencies are taken
into account. Performance is better, but resulting netplans
are usually bigger.
•
On operation level internal and external dependencies are
analyzed. Performance is slower, but the netplans are
easier to read.
HORIZONT
112
TWS/Graph
Load Predecessors and Successors
Levels based on
operations…
…Levels based on
applications…
HORIZONT
113
TWS/Graph
Load Predecessors and Successors
Resulting operation
netplan based on
operation level
Resulting operation
netplan based on
application level
HORIZONT
114
TWS/Graph
Load Predecessors and Successors
specify
levels
HORIZONT
115
TWS/Graph
Load Predecessors and Successors
start
HORIZONT
1st level
2nd level
116
3rd level
4th level ?
TWS/Graph
Load Predecessors and Successors
No, 2nd level
(because of the
dotted link)
Please note: Only one link from
the beginning to to the end can
cause extreme big netplans!
HORIZONT
117
TWS/Graph
Load Predecessors and Successors
specify options
HORIZONT
118
TWS/Graph
Predecessors and successors
What are the options?
• “All operations” means that applications are
displayed completely, and not only with the
succeeding or preceeding operations
• “All direct predecessors” and “All direct successors”
includes automatically related operations and
applications
HORIZONT
119
TWS/Graph
Load Predecessors and Successors
Without “All
operations”
Start
With “All
operations”
Start
HORIZONT
120
TWS/Graph
Load Predecessors and Successors
Without “All
predecessors and
successors”
Start
With “All
predecessors and
successors”
Start
HORIZONT
121
TWS/Graph
Load Predecessors and Successors
After confirming
the selection by
clicking on OK…
HORIZONT
122
TWS/Graph
Load Predecessors and Successors
…the start point has
to be selected
That list is only displayed if more
applications or operations are
meeting the selection criteria
Please note that TWS/Graph allows
to select multiple startpoints
HORIZONT
123
TWS/Graph
Load Predecessors and Successors
…resulting
applications are
listed..
That list is the typical TWS/Graph’s
application list, which is displayed
after any selection
HORIZONT
124
TWS/Graph
Load Predecessors and Successors
The result
HORIZONT
125
TWS/Graph
Predecessors and successors
Can I What are the options?
•
“All operations” means that applications are displayed
completely, and not only with the succeeding or
preceeding operations
•
“All direct predecessors” and “All direct successors”
includes automatically related operations and
applications
HORIZONT
126
TWS/Graph
TWS/Graph – Advanced Techniques
Netplan "From-Job-To-Job"
HORIZONT
127
TWS/Graph
From Job - To Job
Problem:
There is a start job and a final job
and you want to see all jobs which
are in between.
HORIZONT
128
TWS/Graph
From Job - To Job
One possible
solution to get the
result:
HORIZONT
129
TWS/Graph
From Job - To Job
1. Click with the right
mouse on the starting
point, and select “Mark
successors”
HORIZONT
130
TWS/Graph
From Job - To Job
2. Create a
subnet
HORIZONT
131
TWS/Graph
From Job - To Job
3. From the end point
select “Mark
predecessors”
HORIZONT
132
TWS/Graph
From Job - To Job
4. Create a
subnet
HORIZONT
133
TWS/Graph
From Job - To Job
The result
HORIZONT
134
TWS/Graph
From Job - To Job
If you like to
change the
orientation…
HORIZONT
135
TWS/Graph
From Job - To Job
“From top to bottom”
instead of
“From left to right”
HORIZONT
136
TWS/Graph
From Job - To Job
Like “Load predecessors and successors”
TWS/Graph has an alternative function :
“Load From – To”
HORIZONT
137
TWS/Graph
From Job - To Job
Startpoin
t
Endpoint
That function is pretty much identical
to “Load predecessors and
successors”. The only difference is
that all input fields exist twice, for the
start point and for the end point
HORIZONT
138
TWS/Graph
TWS/Graph – Advanced Techniques
Work with Application Lists
goto
Predecessors and Successors
goto
Netplan "From-Job-to-Job”
goto
Clusters
goto
Modify netplans
goto
Simulation
goto
HORIZONT
139
TWS/Graph
How to use “Cluster”
Use cluster to group Operations
graphically according to
Applications, Owners, Input Arrival
Id...
HORIZONT
140
TWS/Graph
How to use “Cluster”
Select the desired field, for
example the Owner Id...
HORIZONT
141
TWS/Graph
How to use “Cluster”
Owner ABC...
...Owner DEF...
...and Owner XYZ...
HORIZONT
142
TWS/Graph
TWS/Graph – Advanced Techniques
Work with Application Lists
goto
Predecessors and Successors
goto
Netplan "From-Job-to-Job”
goto
Clusters
goto
Modify netplans
goto
Simulation
HORIZONT
goto
143
TWS/Graph
Modify netplans
Cleanup
dependencies...
Establish handover
procedures...
Why should I modify
netplans graphically?
Replace existing
software like Visio,
Corell Draw...
HORIZONT
Create Application
templates...
144
TWS/Graph
Modify netplans
Deleting links...
Click with the right
mouse to get the
link menu, than
select Delete
HORIZONT
145
TWS/Graph
Modify netplans
Inserting
links...
Click with the right
mouse somewhere
in the white space
to get the object
menu, than select
Insert Link...
HORIZONT
146
TWS/Graph
Modify netplans
Inserting
links...
Left mouse
click at the
Predecessor,
than at the
Successor...
HORIZONT
147
TWS/Graph
Modify netplans
Inserting
links...
...and here we
have a new
link!
HORIZONT
148
TWS/Graph
Modify netplans
Deleting
Operations...
Click with the right
mouse at an
Operation, select
Edit, than
Delete.....
HORIZONT
149
TWS/Graph
Modify netplans
Deleting
Operations...
...says Yes...
HORIZONT
150
TWS/Graph
Modify netplans
Deleting
Operations...
...and
deleted!
HORIZONT
151
TWS/Graph
Modify netplans
Copy
Operations...
Click with the right
mouse at an
Operation, select Edit,
than Copy...
HORIZONT
152
TWS/Graph
Modify netplans
Copy
Operations...
Please note that the
Operation Number is
increased
automatically!
Click on OK...
HORIZONT
153
TWS/Graph
Modify netplans
Copy
Operations...
...Select a
position for
the new
Operation...
HORIZONT
154
TWS/Graph
Modify netplans
Copy
Operations...
...and here is
our new
Operation!
HORIZONT
155
TWS/Graph
Create new Netplans
Select File
New..
Create a new
Netplan...
HORIZONT
156
TWS/Graph
Create new Netplans
Create a new
Application...
...select Insert
Application..
HORIZONT
157
TWS/Graph
Create new Netplans
Create a new
Application...
...specify
Application
data..
HORIZONT
158
TWS/Graph
Create new Netplans
Create a new
Application...
...and click on OP
to get an empty
Operation
netplan...
...select a position
for the new
Application with a
left mouse click....
HORIZONT
159
TWS/Graph
Create new Netplans
Create a new
Operation...
HORIZONT
160
TWS/Graph
Create new Netplans
Create a new
Operation...
...specify
Operation
data...
HORIZONT
161
TWS/Graph
Create new Netplans
Create a new
Operation...
...select a position for the
new Operation with a left
mouse click....
HORIZONT
162
TWS/Graph
Insert external Dependencies
Insert a new
external
Dependency...
How can I connect
two Applications?
Similar to OPC: You have to
connect Operations!
Click on the OP Button to get the
Operation netplan...
HORIZONT
163
TWS/Graph
Insert external Dependencies
..and insert a new link between
the Operations...
Insert a new
external
Dependency...
...the link between the
Applications will be inserted
automatically!
HORIZONT
164
TWS/Graph
Save Files
..use File Save as...
HORIZONT
165
TWS/Graph
Save Files
..and select the way you
like to save your
modifications
Save the netplan...
...or create an
Application List...
...or create
Batchloader
Statements...
HORIZONT
or update your OPC
Application Description
direct by using APPC or
TCP/IP...
166
TWS/Graph
Direct Updates
Use the direct update to:
• Create or modify OPC definitions graphically
(even Offline!)
• Implement your modifications at a later time
• Shift definitions from your test environment to production
• Establish a handover system
HORIZONT
167
TWS/Graph
Direct Updates
How does that go?
Select "File save as”,
check "OPC update" and
specify your OPC
subsystem.
HORIZONT
168
TWS/Graph
Direct Updates
Every Application is
displayed in the
Batchloader format and can
be modified manually!
HORIZONT
169
TWS/Graph
Direct Updates
If another user in the
meantime changed the
Application, a warning
is displayed.
HORIZONT
170
TWS/Graph
Direct Updates
If an OPC related error occurs,
e.g. WsId or wrong RunCycle, the corresponding OPC
message will be displayed
HORIZONT
171
TWS/Graph
Direct Updates
PS.: On subject safety:
• TWS/Graph is using the PIF (OPC Program interface). All
examinations (wrong or double Op-No., wrong Run-Cycle, missing
job name) are carried out by OPC.
• 100 % Security: All RACF rules are taken into account!
HORIZONT
172
TWS/Graph
TWS/Graph – Advanced Techniques
Work with Application Lists
goto
Predecessors and Successors
goto
Netplan "From-Job-to-Job”
goto
Clusters
goto
Modify netplans
goto
Simulation
HORIZONT
goto
173
TWS/Graph
Simulation
• A simulation function should provide an ability to ask ”what
happens if... ?”
• The user likes to insert, delete or modify Applications,
Operations, internal and external Dependencies, Special
Resources...
• A simulation function should collect these changes and
recalculate the planned start and end times.
• It should have absolutely no effect on production.
HORIZONT
174
TWS/Graph
Simulation
• TWS/Graph has no integrated simulation function.
The reason: OPC planning is too complex!
• Following data may have an impact on planning:
• Run Cycles and Rules
• Calendar
• Input Arrival
• Special Ressources
• Time Jobs
• ...
HORIZONT
175
TWS/Graph
Simulation
• A simple recalculation of the planned job run times
without taking into account other parameters (as
implemented in MS Project) is not very useful.
• The results will probably be wrong!
HORIZONT
176
TWS/Graph
Simulation
Basically there are two possibilities to implement
an effective OPC based simulation:
• Use a test OPC to do the simulation, and display the
results of the simulation with TWS/Graph.
• Use TWS/Graph to modify a copy of the AD, use that AD
together with the Forecast function of TWS/Graph.
HORIZONT
177
TWS/Graph
Simulation
LTP
CP1
WS
CP2
AD
AD
IDCAMS
REPRO
Test OPC
PIF
WS
ProductionOPC
Use the OPC Dialog or
TWS/Graph Client to
modify and display test
data
HORIZONT
OPC
Refresh
LTP Extend
CP Extend
FTP or Batchloader
TCP/IP or TCP/IP
TWS/
Graph
Client
Test-OPC for
Simulation
178
TWS/Graph
Simulation
Following tasks have to be done to display the
results of a simulation with TWS/Graph:
• Copy AD, WS, RD, SI and LT from Production to Test.
• Modify the Test AD with the OPC dialogue or with
TWS/Graph (Batchloader or Communication)
• Replan the LTP and the CP of the Test OPC
• Display the resulting CP with TWS/Graph
HORIZONT
179
TWS/Graph
Simulation
• Transfer the output file to the PC.
And display the Current
Plan in a netplan...
HORIZONT
180
TWS/Graph
Simulation
TWS/Graph
Forecast
AD
AD
FTP
ProductionOPC
OPCBatchloader
Simulation
Cycle
Batchloader
TWS/Graph
Client
AD
HORIZONT
CP
181
TWS/Graph
Simulation
Following tasks have to be done to use the
Forecast function of TWS/Graph for Simulation:
• Use TWS/Graph Unload AD, transfer the file to the PC
• Modify the data with the TWS/Graph Client
• Create Batchloader statements
• Transfer the Batchloader file to the Host
• Update the Test AD with EQQYLTOP
HORIZONT
182
TWS/Graph
Simulation
Call the Forecast function of TWS/Graph
--------------------- FORECAST BASED ON TRIAL CURRENT PLAN --------------Command ===>
Forecast Period
From
To
===> 991231 0600
===> 000101 2359
Input
Database
AD VSAM
WS VSAM
RD VSAM
SI VSAM
LT VSAM
===>
===>
===>
===>
===>
===>
YYMMDD HHMM
YYMMDD HHMM
F
L Existing Long Term Plan, F Forecast
P390A.OPCESA.V2R0M0.AD______________________
P390A.OPCESA.V2R0M0.WS______________________
P390A.OPCESA.V2R0M0.RD______________________
P390A.OPCESA.V2R0M0.SI______________________
P390A.OPCESA.V2R0M0.LT______________________
Output
SYSPRINT DPREPORT ===> P390G.TWSGRAPH.EQQMLOG______________________
PC-File
===> P390G.TWSGRAPH.CP___________________________
Note: File has to be transfered to the PC
and used as a CP-file with TWS/Graph PC!
Submit
===> S
S submit job, E edit before submit
HORIZONT
183
TWS/Graph
Simulation
Transfer the output file to the PC.
And display the Current
Plan in a Barchart...
HORIZONT
...or in a Netplan!
184
TWS/Graph
Loop Analysis
You can use the OPC Dialog to generate a Batch-Job
which creates a new plan and a SYSPRINT file:
-------------------------- PRODUCING OPC DAILY PLANS -------------------------Option ===>
Select one of the following :
1
2
3
4
5
REPLAN
EXTEND
TRIAL
PRINT CURRENT
SYMPHONY RENEW
-
Replan current planning period
Extend the current planning period
Produce a trial plan
Print statistics for current planning period
Create Symphony file starting from Current Plan
If you run TWS/Graph forecast function,
TWS‘s original trial option is used
HORIZONT
185
TWS/Graph
DEPENDENCY LOOP FOUND
This problem can happen:
BROWSE
Command
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
P390K.OP8C.CPTRIAL.SYSPRINT
Line 00002823 Col 001 080
===>
Scroll ===> CSR
DEPENDENCY LOOP FOUND IN AN APPLICATION NETWORK
LIST OF OPERATIONS CONTAINED IN LOOP FOLLOWS:
LOOP:OP 0015 GEPRUE44 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0014 GEPRUE43 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0013 GEPRUE42 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0012 GEPRUE41 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0011 GEPRUE40 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0010 GEPRUE39 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0009 GEPRUE38 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0008 GEPRUE37 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0007 GEPRUE36 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0014 GEPRU132 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0013 GEPRU131 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0012 GEPRU130 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0011 GEPRU129 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0010 GEPRU128 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0009 GEPRU127 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0008 GEPRU126 IN APPL OPCGRAPH3X IA 031215 0600
TWS (OPC) writes the
application and jobnames
into the SYSPRINT file
HORIZONT
186
TWS/Graph
DEPENDENCY LOOP FOUND
What can be done?
BROWSE
Command
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
EQQ0384E
P390K.OP8C.CPTRIAL.SYSPRINT
Line 00002823 Col 001 080
===>
Scroll ===> CSR
DEPENDENCY LOOP FOUND IN AN APPLICATION NETWORK
LIST OF OPERATIONS CONTAINED IN LOOP FOLLOWS:
LOOP:OP 0015 GEPRUE44 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0014 GEPRUE43 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0013 GEPRUE42 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0012 GEPRUE41 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0011 GEPRUE40 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0010 GEPRUE39 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0009 GEPRUE38 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0008 GEPRUE37 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0007 GEPRUE36 IN APPL OPCGRAPH4 IA 031215 0600
LOOP:OP 0014 GEPRU132 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0013 GEPRU131 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0012 GEPRU130 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0011 GEPRU129 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0010 GEPRU128 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0009 GEPRU127 IN APPL OPCGRAPH3X IA 031215 0600
LOOP:OP 0008 GEPRU126 IN APPL OPCGRAPH3X IA 031215 0600
Do you really like to check all
listed applications and jobs if
there is any wrong predecessor?
There can be hundreds and
thousands of jobs...
HORIZONT
187
TWS/Graph
TWS/Graph loop analysis
The reason for the loop is one (or more) wrong
predecessor definition in the application description. In
this case TWS is not able to create a valid plan
TWS/Graph helps you to find out the operation(s) that
are responsible for the problem.
HORIZONT
188
TWS/Graph
TWS/Graph loop analysis
How does it work:
• TWS/Graph reads the sysprint file to get the names of
applications that are in the loop
• This names are used as a selection criteria to build an
operation netplan
• The PC-Client provide a function to detect all operations
that are on the loop
• Finally you have to decide which dependencies are wrong
HORIZONT
189
TWS/Graph
TWS/Graph loop analysis
If you cannot use the TCPIP communication between
TWS/Graph PC-Client and Host:
From TWS/Graph‘s ISPF dialog, call option 4 and
generate an output file. Transfer the file to your PC.
HORIZONT
190
TWS/Graph
TWS/Graph loop analysis
Select application
decription
Turn off external
pred/succ
HORIZONT
191
TWS/Graph
TWS/Graph loop analysis
Specify the filename of the
SYSPRINT. It is allocated
dynamically and read by the
TWS/Graph host task.
HORIZONT
192
TWS/Graph
TWS/Graph loop analysis
The result is an operation
netplan, including all
operations of all applications
that are in the loop
HORIZONT
193
TWS/Graph
TWS/Graph loop analysis
Select Search Loops
HORIZONT
194
TWS/Graph
TWS/Graph loop analysis
All operations on the
loop are marked
HORIZONT
195
TWS/Graph
TWS/Graph loop analysis
Click on Subnet
HORIZONT
196
TWS/Graph
TWS/Graph loop analysis
You have to find a
correct point to “cut”
the chain
HORIZONT
197
TWS/Graph
Critical Path
This chapter explains how to analyse the
critical path:
• Based on your knowledge about critical jobs.
- In this case, the critical path is formed by all predecessors of your
critical end job(s)
• Based on TWS values.
- The path with the longest duration
- The path with the latest end times
- The path that is flagged by TWS as critical
HORIZONT
198
TWS/Graph
Critical Path based on knowledge
Critical end job
Mark
Predecessors
HORIZONT
199
TWS/Graph
Critical Path based on knowledge
Critical Path
To find the critical path, you must use the functions to
locate "Predecessors and Successors".
Please review these chapter again, if you are unsure about
these functions.
HORIZONT
200
TWS/Graph
Critical Path based on knowledge
Click on "subnet" to
extract the critical path
HORIZONT
201
TWS/Graph
Critical Path based on knowledge
The netplan with the
critical path
And how long is
the duration?
HORIZONT
202
TWS/Graph
Critical Path based on knowledge
Select "Search-Critical Path", but
all you need to know about that is
described on the next slides.
HORIZONT
203
TWS/Graph
Critical Path based on TWS values
In opposite to the method described before,
there are other ideas about the critical path:
• The critical path is the job stream with the "longest"
duration.
• The critical path is the job stream that has the "latest" start
times
• The critical path is flagged by using the TWS value "on
critical path"
HORIZONT
204
TWS/Graph
Critical Path based on TWS values
If you want to search for the critical path
based on "longest duration" or "latest" start,
you must take into account:
• TWS has planned start- and end times.
These values are useful before production starts
 Useful to find out what will happen!
• TWS has actual start- and end times.
These values are useful after production has ended
 Useful to find out what has happened last night!
HORIZONT
205
TWS/Graph
Critical Path based on TWS values
Load a current plan
netplan, and activate
the critical path
function.
A known problem is that TWS/Graph requires a netplan to search
for the critical path. If you cannot load the whole production into
one netplan, you should use the functions as described in
previous chapter to get smaller netplans.
HORIZONT
206
TWS/Graph
Critical Path based on TWS values
Select "Planned" or
"Actual"
Select "Ent time" or
"Duration"
HORIZONT
207
TWS/Graph
Critical Path based on TWS values
• Select Planned if you want to analyse what will probably happen in the
next planning period
 Please note that the values for "estimated durations" (Application
description) must be more more or less correct. Otherwise the result will be
wrong
• Select Actual if you want to analyse what happened last night.
 Use TWS/Graph's batch unload to extend the data right before the extend
of the current plan, otherwise the data is lost!
• Select TWS Flag to see which jobs are flagged by TWS as critical
 We are sorry, but we never found out which criteria TWS uses to mark jobs
as "critical"
HORIZONT
208
TWS/Graph
Critical Path based on TWS Flag
TWS ISPF dialog option
6.3, scroll right:
“Critical Path Flag”
HORIZONT
209
TWS/Graph
Critical Path based on TWS values
• Select Duration if you want to find out which path has the
longest duration in total.
• Select End time if you want to find out which path will delay
next production cycle (if you selected Planned), or which
path delayed previous production cycle (if you selected
Actual)
 How does that work?
TWS/Graph searches for the latest job in the netplan (based on
planned or actual end time). All predecessors of that job are
analysed, the latest job is marked. From that job all prdecessors are
analyzed…(and so on)
HORIZONT
210
TWS/Graph
Results of the Critical Path based
on TWS values
The subsequent examples will show you that
the critical path can be different, depending
on the method you have selected.
HORIZONT
211
TWS/Graph
Results: Critical Path by duration
The path with the longest duration (in total) forms
the critical path (red boxes)
06:12
N
06:13
00:01
20:23
F
19:15
F
06:12
N
06:12
N
19:16
00:01
19:23
F
20:27
00:04
19:27
00:04
20:27
Y
19:27
Y
20:28
00:01
19:28
00:01
06:13
00:01
06:13
00:01
HORIZONT
19:23
F
19:29
00:06
212
19:29
Y
19:30
00:01
TWS/Graph
Results: Critical Path by End Time
Search for the last job, analyse the predecessors of
the last job, from the predecessors take the last
job...
06:12
N
06:13
00:01
20:23
F
19:15
F
06:12
N
06:12
N
19:16
00:01
19:23
F
20:27
00:04
19:27
00:04
20:27
Y
19:27
Y
20:28
00:01
19:28
00:01
06:13
00:01
06:13
00:01
HORIZONT
19:23
F
19:29
00:06
213
19:29
Y
19:30
00:01
TWS/Graph
Results: Critical Path by TWS
TWS/Graph marks the jobs that are marked by
TWS as critical...
06:12
N
06:13
00:01
20:23
F
19:15
F
06:12
N
06:12
N
19:16
00:01
19:23
F
20:27
00:04
19:27
00:04
20:27
Y
19:27
Y
20:28
00:01
19:28
00:01
06:13
00:01
06:13
00:01
HORIZONT
19:23
F
19:29
00:06
214
19:29
Y
19:30
00:01
TWS/Graph
Summary about the Critical Path
• There is no single method to analyse the critical
path, but there are several ways.
• You must decide yourself what fits better to your
needs.
• TWS/Graph can analyses the path based on TWS
data. If the estimated durations are wrong, then the
calculation performed by TWS/Graph will be wrong
HORIZONT
215
TWS/Graph
Statusmonitor
This chapter will show you how to use
TWS/Graph to monitor your production.
C
WVT030UVG
20.10.1998
06:00
C
WVT032UVG
20.10.1998
06:00
C
WVT034UVG
20.10.1998
06:00
20.10.1998
C
WVT017TRZ
20.10.1998
06:00
20.10.1998
06:00
20.10.1998
C
WVT431PAZ
20.10.1998
C
20.10.1998
06:00
C
WVT432PAZ
06:00
WVT510NM3
C
WVT036UVG
06:00
20.10.1998
C
WVT763AEZ
C
WVT035UVG
06:00
C
WVT511NMF
06:00
20.10.1998
06:00
C
WVT434PAZ
20.10.1998
Error!
HORIZONT
216
TWS/Graph
06:00
Statusmonitor
TWS/Graph overs two different ways to
monitor production
• Simple Monitor for small productions or
extracts (<500 jobs)
• Complex Monitor for complete Production
HORIZONT
217
TWS/Graph
A simple monitor
Open a netplan from
the current plan
HORIZONT
218
TWS/Graph
A simple monitor
Specify selection criteria…
(Use * only for small productions)
HORIZONT
219
TWS/Graph
A simple monitor
Not more than 500 applications !
HORIZONT
220
TWS/Graph
A simple monitor
Specify refresh
rate
Select update
Statuscolors…
HORIZONT
221
TWS/Graph
A simple monitor
Status colors
HORIZONT
222
TWS/Graph
A simple monitor
Show colors
HORIZONT
223
TWS/Graph
A simple monitor
Red shows errors
HORIZONT
224
TWS/Graph
Monitoring Production?
Is it possible to
monitor a
complete
production?
Technically yes,
but…
HORIZONT
225
TWS/Graph
Monitoring Production?
The problem:
A complete production is too big for
graphical monitoring!
HORIZONT
226
TWS/Graph
Monitoring Production with TWS/Graph
The solution:
Monitor the critical path, and not the
complete production!
HORIZONT
227
TWS/Graph
TWS/Graph Status Monitor
TWS/Graph has an integrated Status Monitor. It can
be used to monitor your production:
•
•
•
•
•
Monitor the critical path
Monitor Milesstones
Monitor if production is late
Create HTML files with actual status information
Send Alerts (Email or WTO to SYSLOG)
HORIZONT
228
TWS/Graph
Identify Critical Jobs
As a first step you must
know what you like to
monitor, and how to group
these jobs logically, e.g. by
functionality, by owner, by
department etc.
HORIZONT
229
TWS/Graph
Define Structure
After you've made a
decision what you like to
monitor, you must define a
structure
HORIZONT
230
TWS/Graph
Define Structure
Now this empty structure must
be filled up with objects:
• Groups
• Applications
• Operations
HORIZONT
231
TWS/Graph
Define Structure
Use the right
mouse to insert
objects into the
empty structure
HORIZONT
232
TWS/Graph
Define Structure
Top Level, e.g. the
OPC subsystem
HORIZONT
233
TWS/Graph
Define Structure
Next Level, e.g.
Operations
HORIZONT
234
TWS/Graph
Define Structure
Do you want to get
a list of all jobs that
are in error?
HORIZONT
235
TWS/Graph
Define Structure
Or do you want a
list with all jobs that
are started?
HORIZONT
236
TWS/Graph
Define Structure
Or do you like to monitor all
jobs that are defined in
OPC to be monitored?
(available with TWSz 8.1)
HORIZONT
237
TWS/Graph
Starting the Monitor
Start
HORIZONT
238
TWS/Graph
Starting the Monitor
Refresh all 5 minutes
Write status information
to HTML
HORIZONT
239
TWS/Graph
Status Monitor is up and running
No job is in error
Jobs are active
Some critical jobs are
done, some others are
still waiting
After the refresh the colors are changed, every
colour has a special meaning
HORIZONT
240
TWS/Graph
Status Monitor is up and running
Job(s) in error
Job(s) are active
HORIZONT
241
TWS/Graph
Status Monitor is up and running
All netplans can be loaded
directly from the monitor,
here are the active Job(s)
HORIZONT
242
TWS/Graph
Complex Monitoring
e.g. for special jobs
...and jobs for several
departments
The structure should be defined in a way that
allows to monitor all interesting elements from
one screen: The Focal Point
HORIZONT
243
TWS/Graph
Define more Jobs/Applications
HORIZONT
244
TWS/Graph
Define more Jobs/Applications
HORIZONT
245
TWS/Graph
Define more Jobs/Applications
HORIZONT
246
TWS/Graph
Define more Jobs/Applications
HORIZONT
247
TWS/Graph
Define more Jobs/Applications
HORIZONT
248
TWS/Graph
Define more Jobs/Applications
HORIZONT
249
TWS/Graph
Define more Jobs/Applications
HORIZONT
250
TWS/Graph
Define more Jobs/Applications
HORIZONT
251
TWS/Graph
Starting the Monitor
Start
HORIZONT
252
TWS/Graph
Starting the Monitor
HORIZONT
253
TWS/Graph
Status Monitor is up and running
Some Jobs are in error,
other jobs are active,
other jobs are waiting
HORIZONT
Jobs are
waiting
Not planned
254
TWS/Graph
Status Monitor is up and running
HORIZONT
255
TWS/Graph
Status Monitor is up and running
HORIZONT
256
TWS/Graph
Status Monitor is up and running
This display can be used on a big
screen for the operators
HORIZONT
257
TWS/Graph
HTML Output
In addition to the treechart all information is
presented in HTML files. Benefits are:
• End user needs no host connection
• End user needs no special knowledge
• End user can access status information from anywhere
HORIZONT
258
TWS/Graph
HTML Output
The HTML files can be used to
publish TWS status information via
Intranet
HORIZONT
259
TWS/Graph
HTML Output
HORIZONT
260
TWS/Graph
HTML Output
HORIZONT
261
TWS/Graph
HTML Output
Detailed job
information
HORIZONT
262
TWS/Graph
How to monitor late jobs
HORIZONT
263
TWS/Graph
How to monitor late jobs
The jobs is „late“, if it is
not complete until 18:00
Selection criteria:
One or more jobs (generic selection)
HORIZONT
264
TWS/Graph
How to monitor late jobs
These job(s) are „late“, if they are
not complete until 18:00.
06:00 (=IA) + 12:00 Std. = 18:00
Selection criteria
HORIZONT
265
TWS/Graph
“Late” Monitor is up and running
HORIZONT
266
TWS/Graph
“Late” Monitor is up and running
Job (and superior levels)
are „late“
The superior Level is still red, because
ERROR has higher priority than LATE
HORIZONT
267
TWS/Graph
Alerts
After every refresh any
program can be called from
TWS/Graph.
HORIZONT
268
TWS/Graph
Alerts
Create Message
Send Email
TWS/Graph has an integrated REXX interface.
Parameters like the jobname or the status can be
passed as a parameter to a program
HORIZONT
269
TWS/Graph
WTO - Output
Syslog
03213 18:31:33.88 STC04191 00000081
03213 18:31:34.09 STC04191 00000290
03213
03213
03213
03213
03213
03213
18:31:34.09
18:31:34.11
18:31:34.89
18:31:36.50
18:31:36.54
18:31:38.23
STC04191
STC04191
STC04191
STC04191
STC04191
STC04191
00000090
00000081
00000081
00000090
00000090
00000290
$HASP100 O8CP#14 ON STCINRDR
IEF695I START O8CP#14 WITH JOBNAME O8CP#14
, GROUP STCOPC
$HASP373 O8CP#14 STARTED
IEF403I O8CP#14 - STARTED - TIME=13.31.34
ICH70001I P390K
LAST ACCESS AT 12:21:50
Message
OPG099I
HOR60DAYzusammenbauen A R IN
OPG099I HOR60DAY
HOR60010 W L CPU
-
TWS/Graph Message
Jobname
Application
OPC- Status
(waiting)
HORIZONT
270
MonitorStatus (Late)
TWS/Graph
How to use TWS/Graph to avoid delays
TWS/Graph can be used to find out if production will
be in time, or if there are delays. There are some
basic techniques to do that:
• Milestones
• TWS/Graph and OPC Deadline times
HORIZONT
271
TWS/Graph
Milestones
Probably the best way to monitor the
Critical Path is to insert milestones and to
monitor them with TWS/Graph
HORIZONT
272
TWS/Graph
Milestones
Now the same application with milestones (yellow symbols)
PS: We used the TWS/Graph function ”Search for redundant links” to
clean up the application
HORIZONT
273
TWS/Graph
Milestones
The status monitor of
TWS/graph needs one
object for every milestone
HORIZONT
274
TWS/Graph
Milestones
The monitor signalises if a milestone is late.
In this case the daily production was delayed
right after the start at 10:00
HORIZONT
275
TWS/Graph
Pros and Cons
We think Milestones is the best method to monitor
thousands of jobs:
+ Simply to use
+ Excellent performance
(TWS/Graph must monitor only the milestones, and not the
whole stuff)
- Milestones must be maintained
HORIZONT
276
TWS/Graph
Using TWS-"Deadlines"
TWS/Graph offers alternatives to monitor the critical
path:
• TWS/Graph allows to check automatically all predecessors of a critical
job (e.g. the online start). If one preceding job exceeds its deadline, the
status LATE is shown.
• To do this you must specify '00:00' in the 'late time' field and 'Operation
Deadline' in the 'late time origin' field. As long as you have coded
deadline times, the monitor produces late alerts for these if they are in
your monitored critical path. And if there is a known delay to the start of
batch by, say 2 hours, you only need to change the 'late time' field to
'02:00' for one monitored job (last one in the critical path)
HORIZONT
277
TWS/Graph
What are TWS Deadlines?
The deadlines we are using in our function
are the operation deadlines. They have to be
specified in the application descriptions of
TWS.
HORIZONT
278
TWS/Graph
Using TWS-"Deadlines"
1. Find out the last job in
your critical path, e.g. the
online system. In our
example the last job is
T82030050A-99
HORIZONT
279
TWS/Graph
Using TWS-"Deadlines"
2. Define an object in the
status monitor that points
to the critical job
The late time must be
specified as an offset to the
deadline. If you specify
00:10, and the deadline in
TWS is 12:30, the job will
be late if it is not complete
until 12:40.
The critical job
Specify 99 for all
predecessors
HORIZONT
280
TWS/Graph
Using TWS-"Deadlines"
3. After having started the monitor,
TWS/Graph checks automatically
all predecessors of the critical job.
HORIZONT
281
TWS/Graph
Using TWS-"Deadlines"
4. The status monitor
shows LATE if any
preceding job missed the
deadline
(remember: the deadline
has to be specified in the
application description of
TWS)
HORIZONT
282
TWS/Graph
Using TWS-"Deadlines"
5. If you like to see which
job missed the deadline,
you must select “netplan”…
HORIZONT
283
TWS/Graph
Using TWS-"Deadlines"
6. TWS/Graph shows the
netplan with all predecessors
of the critical job, all jobs that
missed the deadline are
marked (here pink).
HORIZONT
284
TWS/Graph
Pros and Cons
In opposite to the “old” method of using milestones
this new function has some disadvantages:
- Operation deadlines must be maintained in TWS.
- Poor performance (TWS/Graph must locate and
analyse all predecessors)
+ In case of delays the monitor can be adjusted
easily, only the ‘late’ time must be modified in the
status monitor
HORIZONT
285
TWS/Graph
TWS/Graph
The Best View to TWS
Many thanks for your
attention!
HORIZONT
Software
für Rechenzentren
286
HORIZONT
Garmischer Str. 8
D- 80339 München
Tel ++49(0)89 / 540 162 - 0
www.horizont-it.com
TWS/Graph