How can I extend a long COMMAND statement across multiple lines in the SYSVIEW GSVXBAT Batch Interface job JCL?

Document ID : KB000047084
Last Modified Date : 05/06/2018
Show Technical Document Details
Question:

How can I extend a long COMMAND statement across multiple lines in the SYSVIEW GSVXBAT Batch Interface job JCL?

 

 

Answer:

A COMMAND statement with the command text ending with a + sign within the parentheses indicates that the command text will be continued in the next COMMAND statement that follows in the SYSIN using this format as an example:

COMMAND=(DLEXPORT AUDITDEF.*.*.* SYSA.DEV.SYSVIEW.R141.CNM4BDAT SYSA.DLE.+)
COMMAND=(OUTPUT(EXPORT6) IDENT NOCONFIRM)                                             

The above is equivalent to the following COMMAND statement that would not have fit on one line in the GSVXBAT job JCL:
 
COMMAND=(DLEXPORT AUDITDEF.*.*.* SYSA.DEV.SYSVIEW.R141.CNM4BDAT SYSA.DLE.OUTPUT(EXPORT6) IDENT NOCONFIRM)
 
This method is the same as that which would be used to extend a long command while logged into SYSVIEW. 
 
Additional Information:
Additional information regarding the use of the GSVXBAT Batch Interface can be found here.
 
 
Information regarding the method used to extend a long command that will not fit on the command line while logged into SYSVIEW can be found here.