IMS Log Capture and zLog Publisher |
Scroll |
Precisely does not recommend using the z/OS Master Controller for the IMS Log Capture or zLog Publisher. The Capture, Publisher and Daemon are best run as separate Started Tasks that support more IMS Log Capture and zlog Publisher Operation console Operation commands than are available under the Master.
Example
Execute the Daemon, IMS Log Capture Agent and zLog Publisher under the Master Controller.
Note, all three (3) components will be running as started tasks in separate address spaces.
MASTERZ Parmlib member included in the distribution
---------------------------------------------------------------------
-- Sample Parm for Running Daemon, IMS Log Capture and zLog Publisher
---------------------------------------------------------------------
QMGR=N/A
CMDQUE=DUMMY
TASKDD=SQDFILE
WTOR=N
WTORMSG=Test IMS CDC Agents Ready
FAILJOB=N
FAILMAX=1
----------------------
-- Listener Daemon
----------------------
NAME=SQDAEMON -- Name of Started Task PROCLIB Member
PGM=SQDAEMON -- Name of Daemon Program
AUTOSTART=Y -- Auto-Start when Master Starts (Y/N)
NEWADDRSP=Y -- Execute as STC in Sep Addr Space (Y/N)
SCRIPT= -- ALWAYS Set to Spaces for the Daemon
QUEUE=host_name -s port_number -- Daemon Host & Port Number
----------------------
-- IMS Log Capture
----------------------
NAME=IMSCDCT -- Name of Started Task PROCLIB Member
PGM=SQDIMSC -- Name of IMS Log Capture Program
AUTOSTART=Y -- Auto-Start when Master Starts (Y/N)
NEWADDRSP=Y -- Execute as STC in Sep Addr Space (Y/N)
SCRIPT= -- ALWAYS Set to Spaces for IMS Capture
CABFL=/home/sqdata/IMSCDCT.cab -- Capture CAB File
----------------------
-- ZLOGC Publisher
----------------------
NAME=IMSPUBT -- Name of Started Task PROCLIB Member
PGM=SQDZLOGC -- Name of IMS Publisher Program
AUTOSTART=Y -- Auto-Start when Master Starts (Y/N)
NEWADDRSP=Y -- Execute as STC in Sep Addr Space (Y/N)
SCRIPT= -- ALWAYS Set to Spaces for Publisher
CABFL=/home/sqdata/IMSPUBT.cab -- Publisher CAB File
Notes:
1.The program name of the Daemon is SQDAEMON, and the name of the PROC for the associated started task is DAEMONT.
2.The program name of the IMS Log Capture Agent is SQDIMSC, and the name of the PROC for the associated started task is IMSCDCT.
3.The program name of the Publisher is SQDZLOGC, and the name of the PROC for the associated started task is IMSPUBT
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(MASTERZ)
//SYSPRINT DD SYSOUT=*
//DB2CDC1 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)