TWS/BatchAD HORIZONT Product Presentation Software for Datacenters Mass Updates for TWS Product Presentation HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com 1 1 1 1 1 1 1 1 1 1 1
What is TWS/BatchAD? TWS/BatchAD is an add on to TWS, it enables you to: Perform mass updates Modify all TWS definitions in batch To move TWS-Applications from one TWS into another by modifying keys ...
execute TWS dialog functions in batch mode! With TWS/BatchAD Insert, delete, modify or list Applications Calendars Periods Workstations ETT OI Special Resource Definitions Variable tables 1.1 1.3 1.2 1.4 1.7 1.5 1.6 1.9 execute TWS dialog functions in batch mode!
Without TWS/BatchAD TWS’s integrated mass update function does not compare with TWS/BatchAD: The TWS mass update is complicated and incomplete Your own PIF program will need maintenance for new TWS versions manpower to implement requirements documentation
Technique of TWS/BatchAD TWS/BatchAD is a “normal” program (no STC). It communicates with the TWS controller. TWS/BatchAD uses PIF (TWS Program Interface) - 100% secure - 100% reliabel TWS/BatchAD can be used in - Batch programs (JCL) - Dialog programs (Clist, REXX)
Selection TWS/BatchAD offers a wide range of selection functionality: Generic Use wildcards for selection and modification (change all Applications PROD* to TEST*) All data fields are supported Application lists Use predefined application list for selection
Control Statements * SEARCH CRITERIA ADID=TEST* * ACTION PARAMETER RECORD=ADCOM ACTION=MODIFY * UPDATE PARAMETER NEWADID=PROD* Select Applications, Operations, Special Resources... Select the desired action Specify new values for the selected objects
Some examples The following three examples show you the capabilities of TWS/BatchAD: Change key values like Application Id by keeping references (Successors, OI, ETT) Delete Operations by keeping internal and external dependencies Copy Applications, Operations, Calendars etc. from from Test to Production
Example (1) Change Operation No: Automatically: Change the Operation No. in predecessor definitions of all successors! Change Operation No: * SEARCH CRITERIA ADID=M*APPL* OPNO=99 * ACTION PARAMETER RECORD=ADOP ACTION=MODIFY * UPDATE PARAMETER NEWOPNO=255 ... * SEARCH CRITERIA PREADID=M*APPL* PREOPNO=99 * ACTION PARAMETER RECORD=ADDEP ACTION=MODIFY * UPDATE PARAMETER NEWPREOPNO=255 ...
Example (2) Keep dependencies! Delete Operations: 10 12 20 33 30 *SEARCH CRITERIA ADID=MYAPPL OPNO=20 *ACTION PARAMETER RECORD=ADOP ACTION=DELETE RESTORE_DEPENDECY_NET=Y 10 12 33 30 Keep dependencies!
Example (3) Test JCL with TWS Variables Test Production Variables The Problem: JCL with TWS Variables Test JCL with TWS Variables The Solution: 1) Copy Variables with TWS/BatchAD Test Production 2) Simulate Variables with SmartJCL Variables Variables JCL JCL SmartJCL JCL Checker
TWS/BatchAD TWS/BatchAD has an ISPF dialog. Makes it easier to generate TWS/BatchAD control cards Samples and templates are available online Integrated history function to access control cards that where generated previousely GA Q3 2006
TWS/BatchAD – ISPF Dialog Import/Export Standard Fuctions History and Examples
TWS/BatchAD – ISPF Dialog Let‘s change the start time of all jobs belonging to applications ABC* from 22:30 to 23:00
TWS/BatchAD - MainMenu Type M (odify)
TWS/BatchAD - Select Object Specify 12 to modify operations
TWS/BatchAD - Select ADCOM Specify application selection criteria
TWS/BatchAD - Select ADOP Specify operation selection criteria
TWS/BatchAD - Update ADOP Specify new value
TWS/BatchAD - Batchjob TWS/BatchAD Control Cards
TWS/BatchAD – Examples Examples allows you to access standard control cards easily
TWS/BatchAD – Examples Select desired example
TWS/BatchAD – Examples TWS/BatchAD control cards
TWS/BatchAD vs. BCI (1) TWS/BatchAD BCI Comparison Operators Yes No Selection Criteria All fields Limited (no Jobname!) Selection by List Yes No Modify all fields Yes No
TWS/BatchAD vs. BCI (2) TWS/BatchAD BCI Yes No Modify, Insert, Delete: Workstation Calendar Period Special Resource ETT, OI Variables Yes No
TWS/BatchAD vs. BCI (3) TWS/BatchAD BCI “Batchloader“ Yes, for all Data! Only for AD and OI Extended Batchloader TWS Batchloader Pending Applications Yes No Export of all Data Yes Only AD + OI Size limitations No Yes, AD < 32K
TWS/BatchAD vs. BCI (4) TWS/BatchAD BCI Import Readable Format Yes, for all Data! Only AD + OI Readable Format Yes No Special Functions Simulation Yes No Sort Operations Yes No Generic Update Yes No
TWS/BatchAD vs. BatchLoader (1) Comparison Operators Yes No The Batchloader utility of TWS allows to create new Applications, or to update existing Applications, but it does not create Batchloader statements based on existing Applications Selection Criteria All fields No Selection by List Yes No Modify all fields Yes
TWS/BatchAD vs. BatchLoader (2) Modify, Insert, Delete: Workstation Calendar Period Special Resource ETT, OI Variables Yes No
TWS/BatchAD vs. BatchLoader (3) Yes, for all Data! Only for Apps and OI Extended Batchloader TWS Batchloader Pending Applications Yes No Export of all Data Yes No Size limitations No Yes, APP < 32K
TWS/BatchAD vs. BatchLoader (4) Import Yes, for all Data! Only AD + OI Readable Format Yes Yes Special Functions Simulation Yes No Sort Operations Yes No Generic Update Yes No
Thank you very much for your attention! TWS/BatchAD Mass Updates for TWS Thank you very much for your attention! HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com 1 1 1 1 1 1 1 1 1 1 1