Dear John,

EXEC CICS ASSIGN STARTCODE(start-code)
IF start-code == "SD"
  EXEC CICS RECEIVE INTO(this-should-be-an-MQ-trigger-message)
  II
whatever-you-need-to-test-to-validate-that-it-really-is-a-trigger-message
    here-you-are...

Cheers,

Jantje.

-----Original Message-----
From: Rick Tsujimoto [mailto:[EMAIL PROTECTED]
Sent: dinsdag 2 maart 2004 15:35
To: [EMAIL PROTECTED]
Subject: Re: MQ Triggering in CICS


Assuming the program can only be started from an MQ trigger, take a look at
the usecount for the program.  If the program can be started from other
means, then you'll probably have to run a trace.




                      "Dawson, John"
                      <[EMAIL PROTECTED]         To:
[EMAIL PROTECTED]
                      IGROUP.COM>                cc:
                      Sent by: MQSeries          Subject: MQ Triggering in
CICS
                      List
                      <[EMAIL PROTECTED]
                      .AC.AT>


                      03/01/2004 03:18
                      PM
                      Please respond to
                      MQSeries List





Folks,

In a CICS program, how can I tell that the CICS program was started from a
MQ trigger?


Thanks,

John Dawson

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

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

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