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 becomes STATUS
    • ADTYPE becomes TYPE
    • ADVALFROM becomes VALFROM
    • GROUP becomes AUTHGRP
    • ADGROUPID becomes GROUPDEF
  • ADCIV
    • ADCIVADID becomes ADID
    • ADCIVID becomes CONDID
    • ADCIVOPNO becomes OPNO
    • ADCIVTYPE becomes TYPE
    • ADCIVFWHE becomes FROMWHEN
    • ADCIVFHHH becomes FROMHHH
    • ADCIVFHH becomes FROMHH
    • ADCIVFMM becomes FROMMM
    • ADCIVFD becomes FROMDAYS
    • ADCIVTWHE becomes TOWHEN
    • ADCIVTHHH becomes TOHHH
    • ADCIVTHH becomes TOHH
    • ADCIVTMM becomes TOMM
    • ADCIVTD becomes TODAYS
  • ADCNC
    • CONDDEPNO is no longer required
    • CONDCOUNT becomes COUNT
    • CONDDESCR becomes DESCR
  • ADCNS
    • CONDDEPCONDID is no longer required
    • CONDDEPPREADID becomes PREADID
    • CONDDEPPRECSEL becomes PRECSEL
    • CONDDEPPREWSID becomes PREWSID
    • CONDDEPPREOPNO becomes PREOPNO
    • CONDDEPDEPTYP is no longer required
    • CONDDEPTYP becomes CHECK
    • CONDDEPLOG becomes LOGIC
    • CONDDEPVALRC becomes RC1
    • CONDDEPVALRC2 becomes RC2
    • CONDDEPVALST becomes STATUS
    • CONDDEPPROCSTEP becomes PROCSTEP
    • CONDDEPSTEPNAME becomes STEPNAME
  • ADDEP
    • PRINT is a new keyword to allow the LTP Print option to be set
  • ADOP
    • ADOPWTO becomes WTO
    • ADOPCATM becomes CLEANUP
    • ADOPJOBCRT becomes CRITICAL
    • ADOPJOBPOL becomes POLICY
    • ADOPUSRSYS becomes USRSYS
    • ADOPEXPJCL becomes EXPJCL
    • ADOPWLMCLASS becomes WLMCLASS
  • ADRUN
    • SEQ is a new keyword to enable a specific run cycle to be identified for update, rather than having to specify every ADRUN statement again.
    • ADRJTAB becomes JCLVTAB
  • ADOPSAI
    • COMMTEXT is no longer required.
    • CT1 is a new keyword that maps to the first 64 characters of COMMTEXT 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 of COMMTEXT.
    • CT3 is a new keyword that maps to the third 64 characters of COMMTEXT.
    • CT4 is a new keyword that maps to the final 63 characters of COMMTEXT.
    • COMPINFO becomes CI.

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 becomes ADID
    • ADXIVWSID becomes WSID
    • ADXIVOPNO becomes OPNO
    • ADXIVTYPE becomes TYPE
    • ADXIVFWHE becomes FROMWHEN
    • ADXIVFHHH becomes FROMHHH
    • ADXIVFHH becomes FROMHH
    • ADXIVFMM becomes FROMMM
    • ADXIVFD becomes FROMDAYS
    • ADXIVTWHE becomes TOWHEN
    • ADXIVTHHH becomes TOHHH
    • ADXIVTHH becomes TOHH
    • ADXIVTMM becomes TOMM
    • ADXIVTD becomes TODAYS
  • RGSTART
    • RGNAME becomes RGID
    • RGIATIME becomes IATIME
    • RGJVTAB becomes JVTAB
    • RGCALEND becomes CALENDAR
    • RGDESCR becomes DESCR
    • RGOWNER becomes OWNER
    • RGDLDAY becomes DLDAY
    • RGDLTIME becomes DLTIME