IMS BMP Execution |
Scroll |
The following example provides a sample JCL stream for executing the Engine as an IMS Batch Message Program (BMP) under the IMS control module DFSRRC00.
Example
A sample JCL job stream is supplied in the SQDATAI member of the Connect CDC SQData CNTL library
//SQDATAI EXEC PGM=DFSRRC00, PARM='BMP, SQDATAI, TESTPSB'
//STEPLIB DD DSN=IMS.SDFSRESL,DISP=SHR
// DD DSN=SQDATA.V400.LOADLIB, DISP=SHR
//SQDFILE DD DSN=SQDATA.SCRPTOUT, DISP=SHR
//IMS DD DSN=IMS.PSBLIB, DISP=SHR
// DD DSN=IMS.DBDLIB, DISP=SHR
//DFSRESLB DD DSN=IMS.SDFSRESL, DISP=SHR
//DFSVSAMP DD DSN=IMS.DFSVSAMP(STANDARD), DISP=SHR
//SORTLIB DD DSN=SYS1.SORTLIB, DISP=SHR
//XMLOUT DD DSN=SQDATA.XML.FILE, DISP=SHR
//SYSPRINT DD SYSOUT=*
Explanation of DD Statements
SQDATAI EXEC PGM=DFSRRC00, PARM=’BMP, SQDATAI, TESTPSB’ Specifies that module SQDATAI will be executed as an IMS batch program running under the IMS control program DFSRRC00. Please note that the parsed Apply Engine script file must be referenced by the DDNAME SQDFILE.
STEPLIB This DD refers to the IMS and Connect CDC SQData load library and the IMS RESLIB.
IMS This DD refers to the IMS DBD / PSB libraries and the IMS RESLIB.
DFSRESLIB This DD refers to the IMS RESLIB.
DFSVSAMP This DD refers to the IMS VSAM specification parameter data set.
SORTLIB Refers to the z/OS sort routine library.
SQDFILE Required - Refers to the parsed Apply Engine script uses as input to the Engine.
XMLOUT Refers to an output XML formatted datastore file. This DDNAME must be specified in the DATASTORE command within the Apply Engine script.
SYSPRINT This DD specifies the destination of the Engine Runtime Report.