The trigger monitor is up and running. I can send the shutdown message to it
via CKTIEND and it shuts down as expected. So I start it back up and try to
drop a message into the triggered queue. The triggered queue name is
MQT1.LOCAL.QUEUE and the process definition is named MQT1.LOCAL.QUEUE as
well.


The problem is, the JCL it produces upon recieving a trigger message fails.
I suspect because my process definition is incorrect?

The JCL I would like to kick off is in @TSMT00.MQ.CNTL(MQEX702B). Here are
the first few lines of it:

000001,//MQEX702B PROC
000002,//******************************************************************
000003,//** THIS JCL WILL EXECUTE RN0722PC, WHICH CALLS RN0702PP, THE MQ  *
000004,//** WRAPPER FOR BATCH PROCESSING.                                 *
000005,//** IT ASSUMES THAT THE MA12 SUPPORT PAC WILL BE TRIGGERING IT    *
000006,//** THAT IS WHY THERE IS NO JOBCARD AT THE TOP. MA12 MAKES THE CARD
000007,//******************************************************************
000008,//RN072201 EXEC PGM=DFSRRC00,REGION=9000K,
000009,//         PARM=(DLI,DSNMTV01,RF0001P1)
000010,//STEPLIB  DD DSN=SYS1.SCSQANLE,DISP=SHR




Here is the process def. (I have tried about 800 different variations, this
is the latest):

DEF PROCESS(MQT1.LOCAL.QUEUE)
    APPLICID('//BTACLIB JCLLIB [EMAIL PROTECTED]')
    USERDATA('//S1 EXEC PROC=MQEX702B)
    APPLTYPE('z/OS')


Here is the output of the job as it fails bb interpretor:
//J7900027 JOB J7211ZZRJB12345678,'P PPOTKAY X77906',                  *
// MSGLEVEL=1,MSGCLASS=H,[EMAIL PROTECTED]
//*MAIN CLASS=DB2A
//*MAIN SYSTEM=ST1
//*
//* JOB SUBMITTED BY CKTIBAT.
//* PROCESS: MQT1.LOCAL.QUEUE
//* TRIGGERING Q: MQT1.LOCAL.QUEUE
//BTACLIB JCLLIB [EMAIL PROTECTED]
//S1 EXEC PROC=MQEX702B
/*EOF
        1 //J7900027 JOB J7211ZZRJB12345678,'P PPOTKAY X77906',
          // MSGLEVEL=1,MSGCLASS=H,[EMAIL PROTECTED]
          //*MAIN CLASS=DB2A
          //*MAIN SYSTEM=ST1
          //*
          //* JOB SUBMITTED BY CKTIBAT.
          //* PROCESS: MQT1.LOCAL.QUEUE
          //* TRIGGERING Q: MQT1.LOCAL.QUEUE
        2 //BTACLIB JCLLIB [EMAIL PROTECTED]
        3 //S1 EXEC PROC=MQEX702B
          IEFC025I INSTALLATION MODIFIED JCL - //************ JOBCARD
ERROR-5 **


and the error messages....
STMT NO. MESSAGE
       3 IEFC042I JOB CANCELLED BY INSTALLATION EXIT - IEFUJV
       3 IEFC029I EXIT ERROR: IEFUJV ATTEMPTED TO INSERT JCL COMMENTS -
STATEM
       3 IEFC607I JOB HAS NO STEPS




Peter Potkay
MQSeries Specialist
The Hartford Financial Services
[EMAIL PROTECTED]
x77906
IBM MQSeries Certified




This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to