Precisely recommends using either Started Tasks or the z/OS Master Controller for large numbers of IMS DLI Apply Engines.
Example
Execute an engine subtask, running under IMS (DFSRRC00) as a DLI Batch process within the z/OS Master Controller using the startup parameter file, MASTIMSB, listed below.
MASTIMSB Parmlib member included in the distribution
QMGR=N/A
CMDQUE=SQDATA.CMDQUE
UPSTATE=N
WTOR=Y
WTORMSG=SQDATA TEST ENGINES READY
FAILJOB=Y
FAILMAX=3
----------------------------------------------
-- ENGINE LIST only 1 allowed for DFSRRC00 --
----------------------------------------------
NAME=IMSTOIMS
PGM=DFSRRC00
AUTOSTART=X
NEWADDRSP=N
SCRIPT=DLI,SQDATAI,APPLYPSB,,,,,,,,,IMSA,,Y
QUEUE=IMSTOIMS@SHM
Note:
- The program name of the subtask is DFSRRC00, which is the name of the IMS control module. The SQData program required to run under IMS only is SQDATAI.
- The parm usually passed to IMS must be specified as the SCRIPT= value.
- AUTOSTART=X instructs the z/OS Master Controller to shutdown if the Apply Engine stops.
Master Controller JCL
SQDAMAST
sample included in the distribution
//*--------------------------------------------------------------------
//* Sample JCL to Run the SQData Master Controller SQDAMAST
//*
//* Add additional DD statements or Libraries as required
//*--------------------------------------------------------------------
//*********************************************************************
//*
//JOBLIB DD DISP=SHR,DSN=SQDATA.V400.LOADLIB
// DD DISP=SHR,DSN=IMS.SDFSRESL
//*
//SQDATA EXEC PGM=SQDAMAST
//SQDPARM DD DISP=SHR,DSN=SQDATA.V400.PARMLIB(MASTIMSD)
//SQDFILE DD DISP=SHR,DSN=SQDATA.V400.SQDOBJ(IMSTOIMS)
//SYSPRINT DD SYSOUT=*
//ENGINE1 DD SYSOUT=*
//*
//FAILJCLI DD DISP=SHR,DSN=SQDATA.V400.CNTL)
//FAILJCLO DD SYSOUT=(H,INTRDR)
//*
//**** PARM WORK FILE - REQUIRED IF UPSTATE=Y
//SQDPWRK DD DISP=SHR,DSN=SQDATA.V400.PARMLIB(PARMWORK)
Note: The SQDFILE DD is required for execution against IMS and should reference the parsed script library member.