Batch loader syntax enhancements
By default, Workload Automation Programming Language supports the same format of batch loader supported by EQQYLTOP. However, the following syntax enhancements make the batch loader function easier to use.
Some enhancements are automatically available and do not require
any OPTIONS
to be set to exploit them or stop
them.
- Quotation marks: Workload Automation Programming Language does not require you to specify the keyword values within quotation marks, but it supports them if used.
- Only primary batch loader statements (for example
ADSTART
,CLSTART
) are required at the beginning of a new line. - You can use as input alternative keywords that are shorter, more consistent, and meaningful.
Continuation rules have been amended to be able to use the full
width of the input dataset, whatever the width may be, but to process
batch loader generated under EQQYLTOP syntax rules you can set OPTIONS SYNTAX(LEGACY)
to force EQQYLTOP compliance.
With SYNTAX(LEGACY)
, Workload Automation Programming Language uses only keywords compatible with the legacy Batch Loader. With SYNTAX(EXTENDED)
, the alternate syntax is listed
as output.
The following list shows the alternative and extra keywords available:
ADSTART
ADSTAT
becomesSTATUS
ADTYPE
becomesTYPE
ADVALFROM
becomesVALFROM
GROUP
becomesAUTHGRP
ADGROUPID
becomesGROUPDEF
ADCIV
ADCIVADID
becomesADID
ADCIVID
becomesCONDID
ADCIVOPNO
becomesOPNO
ADCIVTYPE
becomesTYPE
ADCIVFWHE
becomesFROMWHEN
ADCIVFHHH
becomesFROMHHH
ADCIVFHH
becomesFROMHH
ADCIVFMM
becomesFROMMM
ADCIVFD
becomesFROMDAYS
ADCIVTWHE
becomesTOWHEN
ADCIVTHHH
becomesTOHHH
ADCIVTHH
becomesTOHH
ADCIVTMM
becomesTOMM
ADCIVTD
becomesTODAYS
ADCNC
CONDDEPNO
is no longer requiredCONDCOUNT
becomesCOUNT
CONDDESCR
becomesDESCR
ADCNS
CONDDEPCONDID
is no longer requiredCONDDEPPREADID
becomesPREADID
CONDDEPPRECSEL
becomesPRECSEL
CONDDEPPREWSID
becomesPREWSID
CONDDEPPREOPNO
becomesPREOPNO
CONDDEPDEPTYP
is no longer requiredCONDDEPTYP
becomesCHECK
CONDDEPLOG
becomesLOGIC
CONDDEPVALRC
becomesRC1
CONDDEPVALRC2
becomesRC2
CONDDEPVALST
becomesSTATUS
CONDDEPPROCSTEP
becomesPROCSTEP
CONDDEPSTEPNAME
becomesSTEPNAME
ADDEP
PRINT
is a new keyword to allow the LTP Print option to be set
ADOP
ADOPWTO
becomesWTO
ADOPCATM
becomesCLEANUP
ADOPJOBCRT
becomesCRITICAL
ADOPJOBPOL
becomesPOLICY
ADOPUSRSYS
becomesUSRSYS
ADOPEXPJCL
becomesEXPJCL
ADOPWLMCLASS
becomesWLMCLASS
ADRUN
SEQ
is a new keyword to enable a specific run cycle to be identified for update, rather than having to specify everyADRUN
statement again.ADRJTAB
becomesJCLVTAB
ADOPSAI
COMMTEXT
is no longer required.CT1
is a new keyword that maps to the first 64 characters ofCOMMTEXT
in line with the way the command is displayed within the ISPF interface.CT2
is a new keyword that maps to the second 64 characters ofCOMMTEXT
.CT3
is a new keyword that maps to the third 64 characters ofCOMMTEXT
.CT4
is a new keyword that maps to the final 63 characters ofCOMMTEXT
.COMPINFO
becomesCI
.
The original syntax for ADOPSAI
breaks
keyword values across multiple lines. In the following example, the
text is meaningless, used only to show the flow of complete keywords.
ADOPSAI
COMMTEXT(‘AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDʼ)
AUTFUNC(AFAFAFAF) SECELEM(SESESESE)
COMPINFO(‘CICICICICICICICICICICICICICICICICICICICICICICICICICICICICICICI
CIʼ)
SYNTAX(EXTENDED)
presents the same values
in the following format, which is easier to read and follows the layout
used to enter the information through the product dialogs.
ADOPSAI
CT1(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)
CT2(BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB)
CT3(CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC)
CT4(DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD)
AUTFUNC(AFAFAFAF) SECELEM(SESESESE)
CI(CICICICICICICICICICICICICICICICICICICICICICICICICICICICICICICICI)
ADXIV
ADXIVADID
becomesADID
ADXIVWSID
becomesWSID
ADXIVOPNO
becomesOPNO
ADXIVTYPE
becomesTYPE
ADXIVFWHE
becomesFROMWHEN
ADXIVFHHH
becomesFROMHHH
ADXIVFHH
becomesFROMHH
ADXIVFMM
becomesFROMMM
ADXIVFD
becomesFROMDAYS
ADXIVTWHE
becomesTOWHEN
ADXIVTHHH
becomesTOHHH
ADXIVTHH
becomesTOHH
ADXIVTMM
becomesTOMM
ADXIVTD
becomesTODAYS
RGSTART
RGNAME
becomesRGID
RGIATIME
becomesIATIME
RGJVTAB
becomesJVTAB
RGCALEND
becomesCALENDAR
RGDESCR
becomesDESCR
RGOWNER
becomesOWNER
RGDLDAY
becomesDLDAY
RGDLTIME
becomesDLTIME