Dennis... thanks for the suggestion. Regarding the notion of saying "triggered message". It's understood - just lazy speak :-).
-----Original Message----- From: Miller, Dennis [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 12:22 PM To: [EMAIL PROTECTED] Subject: Re: Authority First, repeat after me 1000 times: "there is no such thing as a triggered message". MQ triggers queues, not messages; the mindset that messages get triggered will lead to frustration and grief. Second, use the CICS bridge support pack or write an SIL modeled after that design: 1. Set up request queue to trigger (first) PROGRAM A. 2. Program A browses the request queue, starting a TRAN B for each message and passing msgid in the STARTDATA. Use the USERID option of EXEC CICS START to propogate the userid. Be aware of the requisite permissions to get the surrogate userid piece working. 3. TRAN B invokes PROGRAM B which (destructively) retrieves the message identified by msgid in STARTDATA, processes it, and most likely sends a reply. 4. As described, PROGRAM B has a fair amount of message handling plus business logic. It's probably a good idea to separate the business logic into PROGRAM's C,D,E,F, etc. In that case, PROGRAM B interogates the message to determine what program is needed and then calls or LINKs to that program, passing the message. Using this model, many times you can put all the MQ logic in PROGRAM B so that service programs C-F have no MQ awareness at all. Regards -----Original Message----- From: Williams, Dave (Systems Management) [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 7:24 AM To: [EMAIL PROTECTED] Subject: Authority In what way can I get the userid in a triggered message to be the userid under which the triggered transaction, in CICS, is to run? 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