Execute Database Management solution Db2 Command Processor (DB2C) commands in batch mode.
search cancel

Execute Database Management solution Db2 Command Processor (DB2C) commands in batch mode.

book

Article ID: 25698

calendar_today

Updated On:

Products

DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite Database Management for DB2 for z/OS - SQL Performance Suite Database Management for DB2 for z/OS - Utilities Suite

Issue/Introduction

Is there a facility to execute the DB2 Command Processor (DB2C) commands in batch mode via the
Database Management Solutions for Db2 for z/OS product suite.

Resolution

Use sample JCL found in hlq.CDBAJCL member DB2CJCL to execute DB2C commands in batch mode.

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 further details reference: Execute Commands in Batch Mode