Download presentation
Presentation is loading. Please wait.
Published byJustin Holmes Modified over 7 years ago
1
TWS/Graph HORIZONT Getting Started Software for Datacenters
The Best View to TWS Getting Started HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 / 1 1 1 1 1 1 1 1 1 1 1
2
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
3
TWS/Graph - Getting Started Overview
goto Create PC files with TWS/Graph Host TWS/Graph PC Basics TWS/Graph Host AD Documentation TWS/XRef Host TWS/Graph PC advanced techniques goto goto goto goto
4
Create PC files 1/6 Use TWS/Graph Host to read your OPC database and to create PC files: USERID.TWSGRAPH.AD Application Description 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!
5
Create PC files 2/6 For the AD: Select Option 1 For the CP:
6
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 Submit job immediately or... Output file for the PC
7
Create PC files 4/6 ..submit the job manually HORIZONT TWS/Graph 7 8 3
11 4 4 12 12
8
Create PC files 5/6 Check for RC=0...
RC=0 OK RC=12 No applications found according to your selection criteria HORIZONT HORIZONT 8 TWS/Graph 8 3 8 3 3 4 4 11 12 12
9
Create PC files 6/6 ...and see DD SYSPRINT for statistics HORIZONT
9 TWS/Graph 8 3 8 3 3 11 4 4 12 12
10
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 8 3 8 3 3 11 4 4 12 12
11
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 8 3 8 3 3 4 4 11 12 12
12
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 8 3 8 3 3 11 4 4 12 12
13
TWS/Graph - Getting Started Overview
goto Create PC files with TWS/Graph Host TWS/Graph PC Basics TWS/Graph Host AD Documentation TWS/XRef Host TWS/Graph PC advanced techniques goto goto goto goto HORIZONT 13 TWS/Graph 8 3 3 3 8 12 4 11 12 4
14
PC Client Basics Press Open
First you have to load some data from “TWS for z/OS” (OPC). HORIZONT 14 TWS/Graph 8 3 3 8 3 4 4 11 12 12
15
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 8 3 3 3 8 12 4 11 12 4
16
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 8 3 3 8 3 4 4 11 12 12
17
Basics - Enter Selection Criteria
... (like OPC option 1.4.3!) Important: Do not select too many Applications! Netplans with more than 500 objects are quite difficult to read! OK... HORIZONT 17 TWS/Graph 8 3 8 3 3 4 4 11 12 12
18
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 8 3 3 8 3 4 4 11 12 12
19
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 8 3 3 8 3 4 4 11 12 12
20
Basics – Some Actions HORIZONT
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 8 3 3 8 3 4 4 11 12 12
21
Basics – Some Actions Number of operations in this netplan
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 8 3 3 8 3 4 4 11 12 12
22
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 8 3 8 3 3 4 4 11 12 12
23
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 8 3 3 8 3 4 4 11 12 12
24
Basics - External Preds and Succs
Remove the checkmarks, if there is no need for all external predecessors or successors... HORIZONT 24 TWS/Graph 8 3 8 3 3 11 4 4 12 12
25
TWS/Graph – Basics Summary
Use selection criteria on the PC All external Predecessors and Successors are selected automatically Switch from application to operation netplans with a simple mouse click Use the mouse to Zoom HORIZONT 25 TWS/Graph 8 3 8 3 3 11 4 4 12 12
26
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 8 3 3 8 3 4 4 11 12 12
27
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 8 3 3 8 3 4 4 11 12 12
28
Operation List If you double-click on an Operation to obtain more information... The result is a list with all Operations of the selected Applications HORIZONT 28 TWS/Graph 8 3 3 8 3 4 4 11 12 12
29
PS: All information windows can be resized!
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 8 3 8 3 3 4 4 11 12 12
30
...and maximize the Operation netplan...
Maximize Netplan ...and maximize the Operation netplan... In Operation netplans symbols and colors help you to identify Workstations (CPU-Id) HORIZONT 30 TWS/Graph 8 3 3 8 3 4 4 11 12 12
31
How can I locate an operation?
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 8 3 3 8 3 4 4 11 12 12
32
Search for Operations We are searching for Operations with WsId=CPU*
Click OK... HORIZONT 32 TWS/Graph 8 3 3 8 3 4 4 11 12 12
33
Search Results HORIZONT 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 8 3 8 3 3 4 4 11 12 12
34
Marked Symbols Subnet creates a new netplan with marked Operations
Selected Operations are marked Selected Operations are marked Selected Operations are marked Subnet creates a new netplan with marked Operations All other Operations are not marked HORIZONT 34 TWS/Graph 3 8 3 8 3 4 4 11 12 12
35
Marked Symbols The result is a netplan with all marked Operations Subnets are very useful in order to extract information! HORIZONT 35 TWS/Graph 8 3 3 8 3 4 4 11 12 12
36
How to create a Subnet ..and create a Subnet with the selected Operations! ..and create a Subnet with the selected Operations! Select Operations with left mouse clicks... Select Operations with left mouse clicks... Select Operations with left mouse clicks... HORIZONT 36 TWS/Graph 3 8 3 8 3 4 4 11 12 12
37
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 8 3 8 3 3 11 4 4 12 12
38
Search for Special Resources
Another task: Let’s search for Special Resources! Click OK to start the search... HORIZONT 38 TWS/Graph 8 3 3 8 3 4 4 11 12 12
39
Remove Existing Marks What does that mean? HORIZONT
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 8 3 3 8 3 4 4 11 12 12
40
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... Do not forget: The resulting Operations are marked in the netplan! HORIZONT 40 TWS/Graph 8 3 8 3 3 4 4 11 12 12
41
Display Special Resource Information
Select Special Resources... ...and get a list with Special Resources HORIZONT 41 TWS/Graph 8 3 3 8 3 4 4 11 12 12
42
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 8 3 8 3 3 11 4 4 12 12
43
TWS/Graph - Getting Started Overview
goto Create PC files with TWS/Graph Host TWS/Graph PC Basics TWS/Graph Host AD Documentation TWS/XRef Host TWS/Graph PC advanced techniques TWS/Graph Simulation goto goto goto goto goto HORIZONT 43 TWS/Graph 8 3 3 3 8 12 4 11 12 4
44
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 HTML HORIZONT 44 TWS/Graph 8 3 3 8 3 4 4 11 12 12
45
Create AD Docu 1/4 From the Application Netplan: Select Docu...
HORIZONT 45 TWS/Graph 8 3 8 3 3 11 4 4 12 12
46
Create AD Docu 2/4 Select the desired topics... HORIZONT TWS/Graph 46
8 3 8 3 3 11 4 4 12 12
47
Create AD Docu 3/4 … and get the result as a list ... HORIZONT
47 TWS/Graph 8 3 8 3 3 11 4 4 12 12
48
Create AD Docu 3/4 … or as a HTML file HORIZONT TWS/Graph 48 8 3 8 3 3
11 4 4 12 12
49
HTML Settings for AD Docu
How to get HTML?: Click on “HTML Parameter”... HORIZONT 49 TWS/Graph 8 3 8 3 3 11 4 4 12 12
50
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 8 3 3 8 3 4 4 11 12 12
51
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 8 3 8 3 3 11 4 4 12 12
52
Create AD docu for more applications
If you have marked applications in the netplan (left mouse click or search functions)… HORIZONT 52 TWS/Graph 8 3 8 3 3 11 4 4 12 12
53
Create AD docu for more applications
…and you click with the right mouse somewhere on the freespace… HORIZONT 53 TWS/Graph 8 3 8 3 3 11 4 4 12 12
54
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 8 3 3 8 3 4 4 11 12 12
55
Create AD docu for more applications
…to get the docu for the selected application HORIZONT 55 TWS/Graph 8 3 8 3 3 11 4 4 12 12
56
TWS/Graph – Docu Summary
1. The AD report creates automatically a documentation of your Application description The report offers special tables like Application Schedules, Successors , JCL, Datasets... The docu can be created for as many applications as you like HORIZONT 56 TWS/Graph 8 3 8 3 3 11 4 4 12 12
57
TWS/Graph - Getting Started Overview
Create PC files with TWS/Graph Host TWS/Graph PC Basics TWS/Graph Host AD Documentation TWS/XRef Host Basics OR TWS/Graph PC advanced techniques TWS/Graph Simulation goto goto goto goto goto goto goto goto HORIZONT 57 TWS/Graph 8 3 3 3 8 12 4 4 11 12
58
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 8 3 3 8 3 4 4 11 12 12
59
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 8 3 8 3 3 4 4 11 12 12
60
Model Library COPY MODEL Command ===> Replace ===> Y (Y - replace existing models, N - do not replace) Source ===> SYS.TWSGRAPH.V4R0.MODEL____________________________ Target 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 8 3 3 8 3 4 4 11 12 12
61
Copy Models to a private Library
COPY MODEL ROW 1 TO 5 OF 5 COMMAND ===> 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 8 3 3 8 3 4 4 11 12 12
62
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 8 3 3 8 3 4 4 11 12 12
63
Select Model Use option 2 to select a model for further processing ...
HORIZONT 63 TWS/Graph 8 3 8 3 3 11 4 4 12 12
64
Select Model ...select the desired Model with the line command S...
HORIZONT 64 TWS/Graph 8 3 8 3 3 11 4 4 12 12
65
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 8 3 8 3 3 4 4 11 12 12
66
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 8 3 3 8 3 4 4 11 12 12
67
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 8 3 3 8 3 4 4 11 12 12
68
Modify Models ...and select the Model you like to modify with the Line Command M... HORIZONT 68 TWS/Graph 8 3 8 3 3 11 4 4 12 12
69
Modify Models ... position of the field in the Input Panel...
...length of the field in the resulting report... OPC fields... ...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 8 3 3 3 8 12 4 11 12 4
70
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 8 3 3 8 3 4 4 11 12 12
71
Start the Query The result is a list with all Applications meeting your selection criteria! HORIZONT 71 TWS/Graph 8 3 8 3 3 11 4 4 12 12
72
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 8 3 3 8 3 4 4 11 12 12
73
An Example… Example: We need to locate all Operations having at least 50 external Predecessors. Select the appropriate Model... HORIZONT 73 TWS/Graph 8 3 3 8 3 4 4 11 12 12
74
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 8 3 8 3 3 11 4 4 12 12
75
An Example… Specify 49... ... and GT (Greater Than) ... HORIZONT
75 TWS/Graph 8 3 3 8 3 4 4 11 12 12
76
An Example… ...to get a list with all Operations having at least 50 external Predecessors HORIZONT 76 TWS/Graph 8 3 8 3 3 11 4 4 12 12
77
Another Example… Another example:
We need to locate all Operations running on Workstation CPU1 or CPU2 HORIZONT 77 TWS/Graph 8 3 8 3 3 11 4 4 12 12
78
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 8 3 8 3 3 11 4 4 12 12
79
OR Selection APPID GE A APPID LE C A OR B C APPID GE X X Y Z
Page 1 of 2 Result: AND Page 2 of 2 OR APPID GE X APPID LE Z A B C X Y Z AND HORIZONT 79 TWS/Graph 8 3 3 3 8 12 4 4 11 12
80
OR Selection The Primary Command COPY copies the current page, OR creates a new page with all available selection criteria. HORIZONT 80 TWS/Graph 8 3 8 3 3 11 4 4 12 12
81
OR Selection OR... WsId EQ CPU1...
Let’s go back to Page 1 of 2 to check our definition HORIZONT 81 TWS/Graph 8 3 8 3 3 4 4 11 12 12
82
OR Selection ‘Page 2 of 2’ indicates that there are 2 OR pages!
WsId EQ CPU2 HORIZONT 82 TWS/Graph 8 3 3 8 3 4 4 11 12 12
83
OR Selection ...Let’s go back to the first page...
...and start the query with the Primary Command EXEC HORIZONT 83 TWS/Graph 8 3 3 8 3 4 4 11 12 12
84
OR Selection ...The result is a list with all Operations running on Workstation CPU1 OR CPU2 HORIZONT 84 TWS/Graph 8 3 8 3 3 11 4 4 12 12
85
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 8 3 8 3 3 11 4 4 12 12
86
TWS/Graph - Getting Started Overview
goto Create PC files with TWS/Graph Host TWS/Graph PC Basics TWS/Graph Host AD Documentation TWS/XRef Host TWS/Graph PC advanced techniques goto goto goto goto HORIZONT 86 TWS/Graph 8 3 3 3 8 12 4 11 12 4
87
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 8 3 8 3 3 11 4 4 12 12
88
How to use Application Lists
Every day I need exactly 3 special Applications. How can I do this? HORIZONT 88 TWS/Graph 8 3 8 3 3 11 4 4 12 12
89
How to use Application Lists
Use Menu Option File Save As... HORIZONT 89 TWS/Graph 8 3 8 3 3 11 4 4 12 12
90
How to use Application Lists
Select Application List... ...specify the file name.... ...and save the file HORIZONT 90 TWS/Graph 8 3 8 3 3 4 4 11 12 12
91
How to use Application Lists
Select Open... ...and the data file name... Select Load applications from application list... ...specify the file name of the Application List.... HORIZONT 91 TWS/Graph 8 3 3 8 3 4 4 11 12 12
92
How to use Application Lists
...get the Application list... ...and press OK HORIZONT 92 TWS/Graph 8 3 3 8 3 4 4 11 12 12
93
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 8 3 3 8 3 4 4 11 12 12
94
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 8 3 8 3 3 11 4 4 12 12
95
How to use Application Lists
I would like to add an Application to the list. How can I do this? Select Edit Application List... ...specify the file name.... HORIZONT 95 TWS/Graph 8 3 8 3 3 4 4 11 12 12
96
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 8 3 3 8 3 4 4 11 12 12
97
TWS/Graph – Advanced Techniques Predecessors and Successors
HORIZONT 97 TWS/Graph 3 8 3 8 3 11 4 4 12 12
98
Predecessors and successors
There are two options with TWS/Graph to search for all predecessors and successors of an application or operation: Search within an existing netplan Search directly in the database goto goto HORIZONT 98 TWS/Graph 8 3 3 8 3 4 4 11 12 12
99
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 8 3 3 8 3 4 4 11 12 12
100
Search within netplans
1. Click with the right mouse on the start job HORIZONT 100 TWS/Graph 8 3 8 3 3 11 4 4 12 12
101
Search within netplans
2. Select “Mark successors” HORIZONT 101 TWS/Graph 8 3 8 3 3 11 4 4 12 12
102
Search within netplans
4. Select SUBNET 3. The successors are marked HORIZONT 102 TWS/Graph 8 3 3 8 3 4 4 11 12 12
103
Search within netplans
5. The resulting netplan with all successors HORIZONT 103 TWS/Graph 8 3 8 3 3 11 4 4 12 12
104
Search within netplans
I need all successors from more than one startpoint. How can I do this? Mark all startpoints HORIZONT 104 TWS/Graph 8 3 3 8 3 4 4 11 12 12
105
Search within netplans
Click with the right mouse somewhere on the whitespace Select “Mark successors”… HORIZONT 105 TWS/Graph 8 3 3 8 3 4 4 11 12 12
106
Search within netplans
The Result HORIZONT 106 TWS/Graph 8 3 8 3 3 11 4 4 12 12
107
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 8 3 8 3 3 11 4 4 12 12
108
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 8 3 3 8 3 4 4 11 12 12
109
Load Predecessors and Successors
Open HORIZONT 109 TWS/Graph 8 3 8 3 3 11 4 4 12 12
110
Load Predecessors and Successors
Select “Load predecessors and successors”… Check this box if you like to search ONLINE HORIZONT 110 TWS/Graph 8 3 3 8 3 4 4 11 12 12
111
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 8 3 3 8 3 4 4 11 12 12
112
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 8 3 3 8 3 4 4 11 12 12
113
Load Predecessors and Successors
Levels based on operations… …Levels based on applications… HORIZONT 113 TWS/Graph 8 3 3 8 3 4 4 11 12 12
114
Load Predecessors and Successors
Resulting operation netplan based on operation level Resulting operation netplan based on application level HORIZONT 114 TWS/Graph 8 3 3 8 3 4 4 11 12 12
115
Load Predecessors and Successors
specify levels HORIZONT 115 TWS/Graph 8 3 8 3 3 11 4 4 12 12
116
Load Predecessors and Successors
1st level 2nd level 3rd level 4th level ? start HORIZONT 116 TWS/Graph 3 8 3 8 3 4 4 11 12 12
117
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 8 3 3 8 3 4 4 11 12 12
118
Load Predecessors and Successors
specify options HORIZONT 118 TWS/Graph 8 3 8 3 3 11 4 4 12 12
119
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 8 3 3 8 3 4 4 11 12 12
120
Load Predecessors and Successors
Start Without “All operations” With “All operations” Start HORIZONT 120 TWS/Graph 8 3 3 8 3 4 4 11 12 12
121
Load Predecessors and Successors
Without “All predecessors and successors” Start With “All predecessors and successors” Start HORIZONT 121 TWS/Graph 8 3 3 8 3 4 4 11 12 12
122
Load Predecessors and Successors
After confirming the selection by clicking on OK… HORIZONT 122 TWS/Graph 8 3 8 3 3 11 4 4 12 12
123
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 8 3 8 3 3 4 4 11 12 12
124
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 8 3 3 8 3 4 4 11 12 12
125
Load Predecessors and Successors
The result HORIZONT 125 TWS/Graph 8 3 8 3 3 11 4 4 12 12
126
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 8 3 3 8 3 4 4 11 12 12
127
TWS/Graph – Advanced Techniques Netplan "From-Job-To-Job"
HORIZONT 127 TWS/Graph 3 8 3 8 3 11 4 4 12 12
128
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 8 3 8 3 3 11 4 4 12 12
129
From Job - To Job One possible solution to get the result: HORIZONT
129 TWS/Graph 8 3 8 3 3 11 4 4 12 12
130
From Job - To Job Click with the right mouse on the starting point, and select “Mark successors” HORIZONT 130 TWS/Graph 8 3 8 3 3 11 4 4 12 12
131
From Job - To Job Create a subnet HORIZONT TWS/Graph 131 8 3 8 3 3 11
4 4 12 12
132
From Job - To Job From the end point select “Mark predecessors”
HORIZONT 132 TWS/Graph 8 3 8 3 3 11 4 4 12 12
133
From Job - To Job Create a subnet HORIZONT TWS/Graph 133 8 3 8 3 3 11
4 4 12 12
134
From Job - To Job The result HORIZONT TWS/Graph 134 8 3 8 3 3 11 4 4
12 12
135
From Job - To Job If you like to change the orientation… HORIZONT
135 TWS/Graph 8 3 8 3 3 11 4 4 12 12
136
From Job - To Job “From top to bottom” instead of “From left to right”
HORIZONT 136 TWS/Graph 8 3 8 3 3 11 4 4 12 12
137
From Job - To Job Like “Load predecessors and successors” TWS/Graph has an alternative function : “Load From – To” HORIZONT 137 TWS/Graph 8 3 8 3 3 11 4 4 12 12
138
From Job - To Job Startpoint 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 8 3 8 3 3 4 4 11 12 12
139
TWS/Graph – Advanced Techniques
Work with Application Lists Predecessors and Successors Netplan "From-Job-to-Job” Clusters Modify netplans Simulation goto goto goto goto goto goto HORIZONT 139 TWS/Graph 8 3 3 3 8 12 4 11 12 4
140
How to use “Cluster” Use cluster to group Operations graphically according to Applications, Owners, Input Arrival Id... HORIZONT 140 TWS/Graph 8 3 8 3 3 11 4 4 12 12
141
How to use “Cluster” Select the desired field, for example the Owner Id... HORIZONT 141 TWS/Graph 8 3 8 3 3 11 4 4 12 12
142
How to use “Cluster” Owner ABC... ...Owner DEF... ...and Owner XYZ...
HORIZONT 142 TWS/Graph 8 3 8 3 3 4 4 11 12 12
143
TWS/Graph – Advanced Techniques
Work with Application Lists Predecessors and Successors Netplan "From-Job-to-Job” Clusters Modify netplans Simulation goto goto goto goto goto goto HORIZONT 143 TWS/Graph 8 3 3 3 8 12 4 11 12 4
144
Modify netplans Why should I modify netplans graphically?
Cleanup dependencies... Establish handover procedures... Why should I modify netplans graphically? Replace existing software like Visio, Corell Draw... Create Application templates... HORIZONT 144 TWS/Graph 3 8 3 8 3 4 4 11 12 12
145
Modify netplans Deleting links...
Click with the right mouse to get the link menu, than select Delete HORIZONT 145 TWS/Graph 8 3 3 8 3 4 4 11 12 12
146
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 8 3 3 8 3 4 4 11 12 12
147
Modify netplans Inserting links...
Left mouse click at the Predecessor, than at the Successor... Left mouse click at the Predecessor, than at the Successor... HORIZONT 147 TWS/Graph 8 3 8 3 3 4 4 11 12 12
148
Modify netplans Inserting links... ...and here we have a new link!
HORIZONT 148 TWS/Graph 8 3 3 8 3 4 4 11 12 12
149
Modify netplans Deleting Operations...
Click with the right mouse at an Operation, select Edit, than Delete..... HORIZONT 149 TWS/Graph 8 3 3 8 3 4 4 11 12 12
150
Modify netplans Deleting Operations... ...says Yes... HORIZONT
150 TWS/Graph 8 3 3 8 3 4 4 11 12 12
151
Modify netplans Deleting Operations... ...and deleted! HORIZONT
151 TWS/Graph 8 3 3 8 3 4 4 11 12 12
152
Modify netplans Copy Operations...
Click with the right mouse at an Operation, select Edit, than Copy... HORIZONT 152 TWS/Graph 8 3 3 8 3 4 4 11 12 12
153
Modify netplans Copy Operations...
Please note that the Operation Number is increased automatically! Click on OK... HORIZONT 153 TWS/Graph 8 3 8 3 3 4 4 11 12 12
154
Modify netplans Copy Operations...
...Select a position for the new Operation... ...Select a position for the new Operation... HORIZONT 154 TWS/Graph 8 3 8 3 3 4 4 11 12 12
155
Modify netplans Copy Operations... ...and here is our new Operation!
HORIZONT 155 TWS/Graph 8 3 3 8 3 4 4 11 12 12
156
Create new Netplans Create a new Netplan... Select File New.. HORIZONT
156 TWS/Graph 8 3 3 8 3 4 4 11 12 12
157
Create new Netplans Create a new Application...
...select Insert Application.. HORIZONT 157 TWS/Graph 8 3 3 8 3 4 4 11 12 12
158
Create new Netplans Create a new Application...
...specify Application data.. HORIZONT 158 TWS/Graph 8 3 3 8 3 4 4 11 12 12
159
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 8 3 8 3 3 4 4 11 12 12
160
Create new Netplans Create a new Operation... HORIZONT TWS/Graph 160 8
3 8 3 3 11 4 4 12 12
161
Create new Netplans Create a new Operation...
...specify Operation data... HORIZONT 161 TWS/Graph 8 3 3 8 3 4 4 11 12 12
162
Create new Netplans Create a new Operation...
...select a position for the new Operation with a left mouse click.... HORIZONT 162 TWS/Graph 8 3 3 8 3 4 4 11 12 12
163
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 8 3 8 3 3 4 4 11 12 12
164
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 8 3 8 3 3 4 4 11 12 12
165
Save Files ..use File Save as... HORIZONT TWS/Graph 165 8 3 8 3 3 11 4
12 12
166
Save Files ..and select the way you like to save your modifications
Save the netplan... ...or create an Application List... ...or create Batchloader Statements... or update your OPC Application Description direct by using APPC or TCP/IP... HORIZONT 166 TWS/Graph 3 8 3 8 3 4 4 11 12 12
167
Use the direct update to:
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 8 3 3 8 3 4 4 11 12 12
168
Direct Updates How does that go? Select "File save as”, check "OPC update" and specify your OPC subsystem. HORIZONT 168 TWS/Graph 8 3 8 3 3 11 4 4 12 12
169
Direct Updates Every Application is displayed in the Batchloader format and can be modified manually! HORIZONT 169 TWS/Graph 8 3 8 3 3 11 4 4 12 12
170
Direct Updates If another user in the meantime changed the Application, a warning is displayed. HORIZONT 170 TWS/Graph 8 3 8 3 3 11 4 4 12 12
171
Direct Updates If an OPC related error occurs, e.g. WsId or wrong Run-Cycle, the corresponding OPC message will be displayed HORIZONT 171 TWS/Graph 8 3 8 3 3 11 4 4 12 12
172
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 8 3 3 8 3 4 4 11 12 12
173
TWS/Graph – Advanced Techniques
Work with Application Lists Predecessors and Successors Netplan "From-Job-to-Job” Clusters Modify netplans Simulation goto goto goto goto goto goto HORIZONT 173 TWS/Graph 8 3 3 3 8 12 4 11 12 4
174
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 1 1 1 1 1 1 1 1 1 1 1
175
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 8 3 8 3 3 11 4 4 12 12
176
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 8 3 8 3 3 11 4 4 12 12
177
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 8 3 3 8 3 4 4 11 12 12
178
Simulation HORIZONT 178 TWS/Graph 3 8 3 8 3 11 4 4 12 12
179
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 8 3 3 8 3 4 4 11 12 12
180
Simulation Transfer the output file to the PC.
And display the Current Plan in a netplan... HORIZONT 180 TWS/Graph 8 3 3 8 3 4 4 11 12 12
181
Simulation HORIZONT 181 TWS/Graph 3 8 3 8 3 11 4 4 12 12
182
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 8 3 3 8 3 4 4 11 12 12
183
Simulation Call the Forecast function of TWS/Graph HORIZONT TWS/Graph
FORECAST BASED ON TRIAL CURRENT PLAN Command ===> Forecast Period From ===> YYMMDD HHMM To ===> YYMMDD HHMM Input Database ===> F L Existing Long Term Plan, F Forecast AD VSAM ===> P390A.OPCESA.V2R0M0.AD______________________ WS VSAM ===> P390A.OPCESA.V2R0M0.WS______________________ RD VSAM ===> P390A.OPCESA.V2R0M0.RD______________________ SI VSAM ===> P390A.OPCESA.V2R0M0.SI______________________ LT VSAM ===> 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 8 3 3 8 3 4 4 11 12 12
184
Simulation Transfer the output file to the PC.
And display the Current Plan in a Barchart... ...or in a Netplan! HORIZONT 184 TWS/Graph 8 3 8 3 3 4 4 11 12 12
185
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 REPLAN Replan current planning period 2 EXTEND Extend the current planning period 3 TRIAL Produce a trial plan 4 PRINT CURRENT Print statistics for current planning period 5 SYMPHONY RENEW - Create Symphony file starting from Current Plan If you run TWS/Graph forecast function, TWS‘s original trial option is used
186
DEPENDENCY LOOP FOUND This problem can happen:
BROWSE P390K.OP8C.CPTRIAL.SYSPRINT Line Col Command ===> Scroll ===> CSR EQQ0384E DEPENDENCY LOOP FOUND IN AN APPLICATION NETWORK EQQ0384E LIST OF OPERATIONS CONTAINED IN LOOP FOLLOWS: EQQ0384E LOOP:OP GEPRUE44 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE43 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE42 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE41 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE40 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE39 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE38 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE37 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE36 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRU132 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU131 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU130 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU129 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU128 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU127 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU126 IN APPL OPCGRAPH3X IA TWS (OPC) writes the application and jobnames into the SYSPRINT file
187
DEPENDENCY LOOP FOUND What can be done?
BROWSE P390K.OP8C.CPTRIAL.SYSPRINT Line Col Command ===> Scroll ===> CSR EQQ0384E DEPENDENCY LOOP FOUND IN AN APPLICATION NETWORK EQQ0384E LIST OF OPERATIONS CONTAINED IN LOOP FOLLOWS: EQQ0384E LOOP:OP GEPRUE44 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE43 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE42 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE41 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE40 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE39 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE38 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE37 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRUE36 IN APPL OPCGRAPH4 IA EQQ0384E LOOP:OP GEPRU132 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU131 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU130 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU129 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU128 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU127 IN APPL OPCGRAPH3X IA EQQ0384E LOOP:OP GEPRU126 IN APPL OPCGRAPH3X IA 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...
188
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.
189
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
190
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.
191
TWS/Graph loop analysis
Select application decription Turn off external pred/succ
192
TWS/Graph loop analysis
Specify the filename of the SYSPRINT. It is allocated dynamically and read by the TWS/Graph host task.
193
TWS/Graph loop analysis
The result is an operation netplan, including all operations of all applications that are in the loop
194
TWS/Graph loop analysis
Select Search Loops
195
TWS/Graph loop analysis
All operations on the loop are marked
196
TWS/Graph loop analysis
Click on Subnet
197
TWS/Graph loop analysis
You have to find a correct point to “cut” the chain
198
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
199
Critical Path based on knowledge
Critical end job Mark Predecessors
200
Critical Path based on knowledge
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.
201
Critical Path based on knowledge
Click on "subnet" to extract the critical path
202
Critical Path based on knowledge
The netplan with the critical path And how long is the duration?
203
Critical Path based on knowledge
Select "Search-Critical Path", but all you need to know about that is described on the next slides.
204
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"
205
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!
206
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.
207
Critical Path based on TWS values
Select "Planned" or "Actual" Select "Ent time" or "Duration"
208
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"
209
Critical Path based on TWS Flag
TWS ISPF dialog option 6.3, scroll right: “Critical Path Flag”
210
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)
211
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.
212
Results: Critical Path by duration
The path with the longest duration (in total) forms the critical path (red boxes)
213
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...
214
Results: Critical Path by TWS
TWS/Graph marks the jobs that are marked by TWS as critical...
215
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
216
Statusmonitor This chapter will show you how to use TWS/Graph to monitor your production. Error!
217
Statusmonitor TWS/Graph overs two different ways to monitor production
Simple Monitor for small productions or extracts (<500 jobs) Complex Monitor for complete Production
218
A simple monitor Open a netplan from the current plan
219
A simple monitor Specify selection criteria… (Use * only for small productions)
220
A simple monitor Not more than 500 applications !
221
A simple monitor Specify refresh rate Select update Statuscolors…
222
A simple monitor Status colors
223
A simple monitor Show colors
224
A simple monitor Red shows errors
225
Monitoring Production?
Is it possible to monitor a complete production? Technically yes, but…
226
Monitoring Production?
The problem: A complete production is too big for graphical monitoring!
227
Monitoring Production with TWS/Graph
The solution: Monitor the critical path, and not the complete production!
228
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 ( or WTO to SYSLOG)
229
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.
230
Define Structure After you've made a decision what you like to monitor, you must define a structure
231
Define Structure Now this empty structure must be filled up with objects: Groups Applications Operations
232
Define Structure Use the right mouse to insert objects into the empty structure
233
Define Structure Top Level, e.g. the OPC subsystem
234
Define Structure Next Level, e.g. Operations
235
Define Structure Do you want to get a list of all jobs that are in error?
236
Define Structure Or do you want a list with all jobs that are started?
237
Define Structure Or do you like to monitor all jobs that are defined in OPC to be monitored? (available with TWSz 8.1)
238
Starting the Monitor Start
239
Starting the Monitor Refresh all 5 minutes
Write status information to HTML
240
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
241
Status Monitor is up and running
Job(s) in error Job(s) are active
242
Status Monitor is up and running
All netplans can be loaded directly from the monitor, here are the active Job(s)
243
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
244
Define more Jobs/Applications
245
Define more Jobs/Applications
246
Define more Jobs/Applications
247
Define more Jobs/Applications
248
Define more Jobs/Applications
249
Define more Jobs/Applications
250
Define more Jobs/Applications
251
Define more Jobs/Applications
252
Starting the Monitor Start
253
Starting the Monitor
254
Status Monitor is up and running
Jobs are waiting Some Jobs are in error, other jobs are active, other jobs are waiting Not planned
255
Status Monitor is up and running
256
Status Monitor is up and running
257
Status Monitor is up and running
This display can be used on a big screen for the operators
258
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
259
HTML Output The HTML files can be used to publish TWS status information via Intranet
260
HTML Output
261
HTML Output
262
HTML Output Detailed job information
263
How to monitor late jobs
264
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)
265
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
266
“Late” Monitor is up and running
267
“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
268
Alerts After every refresh any program can be called from TWS/Graph.
269
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
270
WTO - Output Syslog Message zusammenbauen TWS/Graph Message Jobname
:31:33.88 STC $HASP100 O8CP#14 ON STCINRDR :31:34.09 STC IEF695I START O8CP#14 WITH JOBNAME O8CP#14 , GROUP STCOPC :31:34.09 STC $HASP373 O8CP#14 STARTED :31:34.11 STC IEF403I O8CP#14 - STARTED - TIME= :31:34.89 STC ICH70001I P390K LAST ACCESS AT 12:21:50 :31:36.50 STC OPG099I HOR60DAY A R IN :31:36.54 STC OPG099I HOR60DAY HOR60010 W L CPU :31:38.23 STC Message zusammenbauen TWS/Graph Message Jobname Application Monitor- Status (Late) OPC- Status (waiting)
271
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
272
Milestones Probably the best way to monitor the Critical Path is to insert milestones and to monitor them with TWS/Graph
273
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
274
Milestones The status monitor of TWS/graph needs one object for every milestone
275
Milestones The monitor signalises if a milestone is late. In this case the daily production was delayed right after the start at 10:00
276
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
277
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)
278
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.
279
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 T A-99
280
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
281
Using TWS-"Deadlines" 3. After having started the monitor, TWS/Graph checks automatically all predecessors of the critical job.
282
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)
283
Using TWS-"Deadlines" 5. If you like to see which job missed the deadline, you must select “netplan”…
284
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).
285
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
286
Many thanks for your attention!
TWS/Graph The Best View to TWS Many thanks for your attention! HORIZONT Software für Rechenzentren Garmischer Str. 8 D München Tel ++49(0)89 / 1 1 1 1 1 1 1 1 1 1 1
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.