z/OS
Sample input file for QPREG on z/OS
R,WebSphere MQ Server Connection Monitor,ComMQSoftwareWebSphereMQSVRCONNQueue Manager!ComMQSoftwareWebSphereMQServerClientMachine,CSQ1!WORKSTATION1
U,WebSphere MQ Server Connection Monitor,ComMQSoftwareWebSphereMQSVRCONNQueue Manager!ComMQSoftwareWebSphereMQServerClientMachine,CSQ1!WORKSTATION2
R,WebSphere MQ Server Connection Monitor,ComMQSoftwareWebSphereMQSVRCONNQueue Manager!ComMQSoftwareWebSphereMQServerClientMachine,CSQ1!WORKSTATION3
The list above is an example that updates EAAXML and tells QPSCM to monitor all server connection channels to queue manager CSQ1 used by clients WORKSTATION1 and WORKSTATION3. It also unregisters the connection from WORKSTATION2 so that MainView Middleware Monitor does not report this information. The list below is an example JCL to allocate the QPREG input file.
Allocate QPREG input file
//JQPREG JOB (990),'JQPREG', MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID
//*
//ALLOC EXEC PGM=IEFBR14
//DD1 DD=YOURHLQ s/b YOURHLQ.QPSCM.IN
//DISP=(NEW,CATLG,DELETE),
//UNIT=3390,
//VOL=SER=MQS263,
//SPACE=(TRK,(30,15),RLSE),
//DCB=(LRECL=1020,DSORG=PS,RECFM=FB,BLKSIZE=1020)
The list below is an example of JCL to execute QPREG using the parameters entered in the QPREG input file defined in the list above. The file name execution must be in the form of DD:DDNAME.
Register QPREG input file
//JQPREG JOB (990),'REGISTER',MSGCLASS=C,CLASS=A,
// NOTIFY=&SYSUID
//*
//JOBL DD DISP=SHR,DSN=YOURHLQ.LOADLIB
//*
//FILE EXEC PGM=QPREG
//PARM=('MSGFILE(SYSOUT)/file DD:SYSIN')
//SYSPRINT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//SYSIN DD DISP=OLD,DSN=YOURHLQ.QPSCM.IN