How to issue DB2C commands in batch for the CA-DB2 tools?

Document ID : KB000025698
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What facility is available to execute CA DB2 Command Processor (DB2C) commands in batch?

Answer: 

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.

Additional Information:

 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