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

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

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

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

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

7 Selection IWS/BatchCP offers a wide range of selection functionality:
Generic Use wildcards * and % to select Occurrences, Operations, Special Resources... All data fields Even undocumented IWS 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 IWS/BatchCP: 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 IWS/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 IWS’s Extended Status!

12 IWS/BatchCP via REXX File with IWS/BatchCP control cards
/* REXX SETOPCMH */ ARG JOBNAME "ALLOC DD(PARMIN) DSN('HLQ.OCBBSP1') SHR REUSE" "ALLOC DD(EQQMLIB) DSN('SYS1.IWS.V2R1M0.SEQQMSG0') SHR REUSE" "ALLOC DD(EQQYPARM) DSN('HLQ.IWS.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) IWS/BatchCP and REXX: Set Operations to MH (Manual Hold)
Instead of hundred line commands... ...simply one primary command!

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

15 IWS/BatchCP vs. BCI IWS/BatchCP BCI Yes Yes Yes No Yes No Yes Yes No
Basic Functions IWS/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 IWS/BatchCP vs. BCI IWS/BatchCP BCI Yes Yes Yes No Yes No Yes No Yes
Basic Functions IWS/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 IWS/BatchCP vs. BCI IWS/BatchCP BCI Yes Yes Yes No Yes No No Yes No
Special Functions IWS/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 IWS/BatchCP vs. BCI IWS/BatchCP BCI Yes No Yes, always Not all > 50
Basic functionality IWS/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 IWS/BatchCP vs. BCI IWS/BatchCP BCI Yes No Yes No Yes No
Selection Criteria IWS/BatchCP BCI Predecessor Yes No Successor Yes No Special Resources Yes No

20 IWS/BatchCP vs. BCI IWS/BatchCP BCI Extended status Yes No
Selection Criteria IWS/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 IWS/BatchCP vs. BCI IWS/BatchCP BCI Yes No Yes No New Values
Old start time+HHMM Yes No Commands MH etc. Yes No

22 IWS/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?

23 IWS/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