Execution of the Apply Engine as an IMS batch program run under the IMS control module DFSRRC00 or the zOS Master Controller will use JCL similar to sample member SQDATAI included in the distribution.
Example
A sample JCL job stream is supplied in the SQDATAI member of the Connect CDC (SQData) CNTL library.
//SQDATAI JOB 1,MSGLEVEL=(1,1),MSGCLASS=H,REGION=0M,NOTIFY=&SYSUID
//*
//*--------------------------------------------------------------------
//* Execute the SQData Engine under IMS
//*--------------------------------------------------------------------
//* Note: 1) This Job may require specification of the Public/Private
//* Key pair in order to connect to a Capture/Publisher
//* running on another platform
//*
//* 2) The SQData Engine can be run Standalone or under the
//* Master Controller SQDAMAST
//*
//* Standalone Operation:
//* 1) Specify PGM=DFSRRC00
//* 2) Add the proper DFSRRC00 Parms
//* 3) Remove SQDPARM DD statement
//*
//* Master Controller Operation:
//* 1) Specify PGM=SQDAMAST
//* 2) Add the proper DFSRRC00 Parms
//* 3) Run as BMP or DLI as specified in Master Controller
//* parameter
//*
//* Required DDNAME:
//* SQDFILE DD - File that contains the Parsed Engine Script
//*--------------------------------------------------------------------
//*SQDATAI EXEC PGM=SQDAMAST
//SQDATAI EXEC PGM=DFSRRC00
//STEPLIB DD DISP=SHR,DSN=DFSE10.USER.SDFSRESL
// DD DISP=SHR,DSN=DFSE10.SDFSRESL
// DD DISP=SHR,DSN=SQDATA.V400.LOADLIB
// DD DISP=SHR,DSN=CSQ901.SCSQAUTH
// DD DISP=SHR,DSN=CSQ901.SCSQANLE
//*
//SQDPUBL DD DISP=SHR,DSN=SQDATA.NACL.PUBLIC
//SQDPKEY DD DISP=SHR,DSN=SQDATA.NACL.PRIVATE
//SQDFILE DD DISP=SHR,DSN=SQDATA.V400.SQDOBJ(<ENGINE>)
//SQDPARM DD DISP=SHR,DSN=SQDATA.V400.PARMLIB(MASTIMS)
//*
//IMSAPLYX DD SYSOUT=*
//*
//DFSRESLB DD DISP=SHR,DSN=DFSE10.SDFSRESL
//IMS DD DISP=SHR,DSN=USER.PSBLIB
// DD DISP=SHR,DSN=USER.DBDLIB
//DFSESL DD DISP=SHR,DSN=USER.LINKLIB
// DD DISP=SHR,DSN=DFSE10.SDFSRESL
// DD DISP=SHR,DSN=CSQ901.SCSQAUTH
// DD DISP=SHR,DSN=CSQ901.SCSQANLE
//DFSVSAMP DD DISP=SHR,DSN=DFSE10.DFSVSAMP(STANDARD)
//SORTLIB DD DISP=SHR,DSN=SYS1.SORTLIB
//*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//CEEDUMP DD SYSOUT=*
//*SQDLOG8 DD DUMMY
//SQDLOG DD SYSOUT=*
//*
//FAILJCLI DD DISP=SHR,DSN=SQDATA.V400.FAILJCL
//FAILJCLO DD SYSOUT=(H,INTRDR)
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. |
PDBA | Specifies an IMS database file referenced within the Apply Engine script. IMS database files must be included in the JCL if you are not using dynamic database file allocation. |
SYSPRINT | This DD specifies the destination of the Engine Runtime Report. |
Note: The step name specifies that module SQDATAI will be executed as an IMS batch program running under the IMS control program DFSRRC00:SQDATAI EXEC PGM=DFSRRC00, PARM=’DLI, SQDATAI, TESTPSB’.