Presentation is loading. Please wait.

Presentation is loading. Please wait.

HORIZONT 1 TWS/BatchCP HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com TWS/BatchCP.

Similar presentations


Presentation on theme: "HORIZONT 1 TWS/BatchCP HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com TWS/BatchCP."— Presentation transcript:

1 HORIZONT 1 TWS/BatchCP HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 / TWS/BatchCP Automation for the Current Plan Product Presentation

2 HORIZONT 2 TWS/BatchCP What is TWS/BatchCP? TWS/BatchCP can modify the Current Plan in batch mode TWS/BatchCP can do mass updates TWS/BatchCP is an add on to TWS, it enables you to:

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

4 HORIZONT 4 TWS/BatchCP Without 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 TWS’s integrated mass update functions are no competition for TWS/BatchCP:

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

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

7 HORIZONT 7 TWS/BatchCP Selection 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 TWS/BatchCP offers a wide range of selection functionality:

8 HORIZONT 8 TWS/BatchCP 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 HORIZONT 9 TWS/BatchCP Some examples 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 The following three examples show you some of the capabilities of TWS/BatchAD:

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

11 HORIZONT 11 TWS/BatchCP 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 HORIZONT 12 TWS/BatchCP Example (3) Possible solution without TWS/BatchCP: 96 Run Cycles with different Input Arrival Times or 96 time dependent Operations Disadvantages: Do you really want to have to define 96 separate Run Cycles or Operations? What happens if you now need to change the job to run every 10 minutes? Too complicated! A job should run every 15 minutes:

13 HORIZONT 13 TWS/BatchCP Example (3) Job with TWS/BatchCP CPU-Job Increase the start time of the CPU Operation and reset the Status A time dependent CPU Operation with the “first” start time How to run a job every 15 minutes with TWS/BatchCP:

14 HORIZONT 14 TWS/BatchCP Example (4) /* 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... File with TWS/BatchCP control cards Contents of the file TWS/BatchCP and REXX:

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

16 HORIZONT 16 TWS/BatchCP TWS/BatchCP vs. WSSTAT If a Workstation is set manually Offline, the WSSTAT cannot be used to set it back to activate it again. The result: EQQWL23W WORK STATION CPU IS PENDING ONLINE. MANUAL ACTION REQUIRED TWS/BatchCP can do that

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

18 HORIZONT 18 TWS/BatchCP TWS/BatchCP vs. BCI TWS/BatchCPBCI Yes Insert and Delete Operation Predecessor Special Resource YesNo Delete JS-JCL YesNo Insert JS-JCL NoYes List CP-WS Yes List JS-JCL Basic Functions

19 HORIZONT 19 TWS/BatchCP TWS/BatchCP vs. BCI TWS/BatchCPBCI Yes List CP-WS (5.5.) YesNo Modify CP-WS (5.5.) YesNo List CP Special Res. YesNo Modify CP-WS- Interval (5.5.) Basic Functions YesNo Modify CP Special Resource (5.7.)

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

21 HORIZONT 21 TWS/BatchCP TWS/BatchCP vs. BCI TWS/BatchCP Operators BCI YesNo Basic functionality > 50< 20 NoYes Number of selection parms Integrated date and time functions Yes, alwaysNot all Generic Selection

22 HORIZONT 22 TWS/BatchCP TWS/BatchCP vs. BCI TWS/BatchCPBCI Selection Criteria Predecessor YesNo Successor YesNo Special Resources YesNo

23 HORIZONT 23 TWS/BatchCP TWS/BatchCP vs. BCI TWS/BatchCPBCI Selection Criteria YesNo YesNoExtended status Time depend Y/N YesNo YesNo YesNo Operation MH, NOP on critical path Operation is urgent YesNo Op. latest out passed YesNo Op. cancel if late

24 HORIZONT 24 TWS/BatchCP TWS/BatchCP vs. BCI TWS/BatchCPBCI Old start time+HHMM YesNo New Values Commands MH etc. YesNo

25 HORIZONT 25 TWS/BatchCP 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?) TWS/BatchCP vs. OCL The OCL (OPC Command Language) is a powerful tool, but:

26 HORIZONT 26 TWS/BatchCP HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 / TWS/BatchCP Automation for the Current Plan Thank you very much for your attention!


Download ppt "HORIZONT 1 TWS/BatchCP HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com TWS/BatchCP."

Similar presentations


Ads by Google