What facility is available to execute CA DB2 Command Processor (DB2C) commands in batch?
Use sample JCL found in highlvl.CDBASRC member DB2CJCL to execute DB2C in batch.
The //SYSIN DD contains the input (the command typed on the terminal during online DB2C processing) and can be either in-stream data in the JCL or a dataset.
The DB2C batch output is written to SYSPRINT, which can be either an output class or a dataset.
For more information about ‘How To Execute Commands in Batch Mode’, go to the ‘Using Value Pack’ documentation provided on https://docops.ca.com/db2mgmt