Commands can be executed in JCL to alter/define MQ
Here I am altering INITQ for Local Queue PK01.//PRODSTEP EXEC PGM=CSQUTIL,PARM='QueueManger Name' <===== QMGR ?????
//SYSPRINT
DD SYSOUT=*
//STEPLIB
DD DSN=MQM.SCSQLOAD,DISP=SHR
//SYSIN
DD *
COMMAND
DDNAME(CMDGET)
/*
//CMDGET
DD *
ALTER
QLOCAL(PK01) INITQ(CICS1.INITQ)
In below JCL I have altered INITQ, PROCESS, Trigger Depth and Trigger Type for Local PK01. Same way for PK02 I am altering Inititiation Queue and Process for Queue PK02.
//PRODSTEP
EXEC PGM=CSQUTIL,PARM='QueueManager Name' <===== QMGR ?????
//SYSPRINT
DD SYSOUT=*
//STEPLIB
DD DSN=MQM.SCSQLOAD,DISP=SHR
//SYSIN
DD *
COMMAND
DDNAME(CMDGET)
COMMAND
DDNAME(CM1GET)
/*
//CMDGET
DD *
ALTER
QLOCAL(PK01) INITQ(CICSI2.INITQ) PROCESS(PK01) TRIGDPTH(10) TRIGTYPE(FIRST)
//CM1GET
DD *
ALTER
QLOCAL(PK02) INITQ(CICSI2.INITQ) PROCESS(PK02)
No comments:
Post a Comment