Professional Documents
Culture Documents
Workload Automation Programming Language (WAPL) : o More in Less Time
Workload Automation Programming Language (WAPL) : o More in Less Time
Run EQQJOBS option 3 which generates the necessary JCL’s to use in batch.
(starting on page 54 of ‘Planning and Installation z/OS’)
EQQJOBS also creates the job EQQWPLCO to rename the supplied members
in the supplied SEQQWAPL library.
(page 126 of ‘Planning and Installation z/OS’)
Sources:
[eqqi1mst] Planning and Installation z/OS
[eqqw1mst] WAPL User's Guide
WARNING: If you use z/OS 2.2 or higher make sure you have fix UI44302 installed
Use the 9.3 EQQJOBS option 3 and run the EQQWPLCO job.
EQQWTSO1
EQQWTSO2
EQQWTSO3
EQQWTSO4
These samples can be used to build up a WAPL environment to run your WAPL
commands in.
Dep ADID
ADID Oper
Runcycle
Jobname
Type
# of ADID’s # of Operations [OBJ1-ADOP-1-
Description ADID1
ADID2 [OBJ1-ADOP-2-
[OBJ1-ADRUN-
[OBJ] [OBJ1-#ADOP] ADDEP-2-
[OBJ1-ADDESC] ADID2
[OBJ2] 2-ADRTYPE]
ADOPJN]
ADDEPADID]
ADID3
Dep ADID
ADID Last User # Dependencies Oper
Runcycle
Jobname
Type
[OBJ1-ADOP-1-
[OBJ1- [OBJ1-ADOP-1- [OBJ1-ADOP-3-
[OBJ1-ADRUN-
ADID3 ADDEP-3-
ADLUSER] #ADDEP] 3-ADRTYPE]
ADOPJN]
[OBJ3] ADDEPADID]
Output
Check ADID
If length is incorrect
Write to ADIDWRNG
ADIDWRNG
Incorrect Names ADID
Correct Names
Input
Read TWSPARM
Compare Data
Write to OUTPUT
Date calculations can be used for things like automatically creating calendars
and removing jobs from the current plan on certain days of the year.
Create dates for next year