Presentation is loading. Please wait.

Presentation is loading. Please wait.

Automation for the Current Plan

Similar presentations


Presentation on theme: "Automation for the Current Plan"— Presentation transcript:

1 Automation for the Current Plan
TWS/BatchCP Automation for the Current Plan Product Presentation 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 What is TWS/BatchCP? TWS/BatchCP is an add on to TWS, it enables you to: TWS/BatchCP can modify the Current Plan in batch mode TWS/BatchCP can do mass updates

3 Who is using TWS/BatchCP?
TWS/BatchCP is useful to anybody working in an TWS environment, especially: Production Planning Operations ...

4 Without TWS/BatchCP TWS’s integrated mass update functions are no competition for TWS/BatchCP: The TWS mass update is complicated and incomplete Your own PIF or OCL program needs maintenance for new TWS versions manpower to implement requirements documentation

5 execute OPC dialog functions in batch mode!
With TWS/BatchCP Insert, delete, modify or list 5.4 5.3 5.2 5.1 5.5 5.6 Occurrences Operations Special Resources Dependencies JCL from the JS-file execute OPC dialog functions in batch mode!

6 How TWS/BatchCP works TWS/BatchCP is a “normal” program (no STC). It communicates with the TWS controller. TWS/BatchCP uses PIF (TWS Program Interface) % secure - 100% reliable TWS/BatchCP can be used in - Batch programs (JCL) - Dialog programs (Clist, REXX)

7 Selection TWS/BatchCP offers a wide range of selection functionality:
Generic Use wildcards * and % to select Occurrences, Operations, Special Resources... All data fields Even undocumented OPC fields are supported, e.g. the Extended Status to search for Operations waiting for Special Resources Comparison Operators Use comparison operators to search for Operations which are now active for more than one hour

8 Control Statements * SEARCH CRITERIA ADID=A*B* * ACTION PARAMETER
RECORD=CPOC/CPOP/CPDEP/CPSR/JS ACTION=INSERT/DELETE/MODIFY/LIST * UPDATE PARAMETER STATUS=C Select Occurrences, Operations, Special Resources... ...select the desired action ..and specify new values for the selected objects

9 Some examples The following three examples show you some of the capabilities of TWS/BatchAD: List all jobs which are now active for more than one hour List all jobs which are waiting for Special Resources Run cyclic jobs, for example every 15 minutes Use TWS/BatchCP and REXX in Operating

10 Example (1) List all jobs which have been active for more than one hour. Time variables! * SEARCH CRITERIA ADID=* STATUS=S OPAS_TO=ACTUAL-0100 * ACTION PARAMETER RECORD=CPOP ACTION=LIST

11 Example (2) List all Operations which are waiting for Special Resources * SEARCH CRITERIA ADID=* OPXST=X * ACTION PARAMETER RECORD=CPOP ACTION=LIST OPC’s Extended Status!

12 TWS/BatchCP via REXX File with TWS/BatchCP control cards
/* REXX SETOPCMH */ ARG JOBNAME "ALLOC DD(PARMIN) DSN('HLQ.OCBBSP1') SHR REUSE" "ALLOC DD(EQQMLIB) DSN('SYS1.OPCESA.V2R1M0.SEQQMSG0') SHR REUSE" "ALLOC DD(EQQYPARM) DSN('HLQ.OPCESA.V2R1M0.EQQYPARM') SHR" "ALLOC DD(EQQMLOG) DSN(*) SHR REUSE" "ALLOC DD(SYSPRINT) DSN(*) REUSE" "CALL 'OPCBATCP.V1R9M1.LOAD(OCBICOM5)' '/"JOBNAME"'" "FREE DD(PARMIN EQQMLOG EQQMLIB EQQYPARM PRGRCF OCBOUT)" EXIT CUSTOMER=PARMJOBN SECURITY_FLAG=N CONTINUE_ON_PIFERROR=Y * SEARCH CRITERIA ... * ACTION PARAMETER RECORD=CPOC/CPOP/CPDEP/CPSR/JS ACTION=INSERT/DELETE/MODIFY/LIST * UPDATE PARAMETER Contents of the file

13 Example (3) TWS/BatchCP and REXX: Set Operations to MH (Manual Hold)
Instead of hundred line commands... ...simply one primary command!

14 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes Yes Yes Yes Yes Yes Yes Yes
Basic Functions TWS/BatchCP BCI Modify Application Operation Predecessor Special Resource Yes Yes Delete Application Yes Yes Copy Application Yes Yes Insert Application Yes Yes

15 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes Yes Yes No Yes No Yes Yes No
Basic Functions TWS/BatchCP BCI Insert and Delete Operation Predecessor Special Resource Yes Yes Delete JS-JCL Yes No Insert JS-JCL Yes No List JS-JCL Yes Yes List CP-WS No Yes

16 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes Yes Yes No Yes No Yes No Yes
Basic Functions TWS/BatchCP BCI List CP-WS (5.5.) Yes Yes Modify CP-WS (5.5.) Yes No Modify CP-WS-Interval (5.5.) Yes No List CP Special Res. Yes No Modify CP Special Resource (5.7.) Yes No

17 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes Yes Yes No Yes No No Yes No
Special Functions TWS/BatchCP BCI Variable simulation Yes Yes List JCL only Yes No List JCL sorted by planned start time Yes No LIST Status with RC No Yes “move” IA from CP to LTP, if IA > CP end No Yes

18 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes No Yes, always Not all > 50
Basic functionality TWS/BatchCP BCI Operators Yes No Generic Selection Yes, always Not all Number of selection parms > 50 < 20 Integrated date and time functions Yes No

19 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes No Yes No Yes No
Selection Criteria TWS/BatchCP BCI Predecessor Yes No Successor Yes No Special Resources Yes No

20 TWS/BatchCP vs. BCI TWS/BatchCP BCI Extended status Yes No
Selection Criteria TWS/BatchCP BCI Extended status Yes No Time depend Y/N Yes No Operation MH, NOP Yes No No on critical path Yes No Operation is urgent Yes No Op. latest out passed Yes No Op. cancel if late Yes No

21 TWS/BatchCP vs. BCI TWS/BatchCP BCI Yes No Yes No New Values
Old start time+HHMM Yes No Commands MH etc. Yes No

22 TWS/BatchCP vs. OCL The OCL (OPC Command Language) is a powerful tool, but: REXX Runtime Library or IBM Compiler Libraries for REXX are required REXX experience is required Would you like to write your own code? Would you maintain your program (from OPC/A to TWS 8.2?)

23 TWS/BatchCP HORIZONT Thank you very much for your attention!
Automation for the Current Plan Thank you very much for your attention! 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


Download ppt "Automation for the Current Plan"

Similar presentations


Ads by Google