Actually, if the cobwebs aren't fogging my memory wouldn't the argument get
passed simular to the way the PARM is passed to the cobol program. you set
up a llinkage area and reference it on the procedure division statement.
Because this is UNIX the method may be different and Dennis' method may be
the one.
From: Dennis Miller <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[email protected]>
To: [email protected]
Subject: Re: Getting MQ trigger message on UNIX
Date: Tue, 7 Jun 2005 19:00:22 +0000
If you are using the standard trigger monitor, the trigger message is
passed to the triggered application as a command line argument. It is the
equivalent of running the following unix command:
applicid "triggermessage" envdata
Don't know what COBOL you are using, but it will have a mechanism to
transfer command line arguments into working storage. If applicid does not
contain intervening arguments after the program name, then the trigger
message gets passed as the first argument. With microfocus, for example,
you can retrieve it like:
SPECIAL-NAMES. ARGUMENT-VALUE is CMD-ARG.
ACCEPT TMC2 FROM CMD-ARG.
From: Adrian Hadley <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[email protected]>
To: [email protected]
Subject: Getting MQ trigger message on UNIX
Date: Tue, 7 Jun 2005 16:00:03 +0100
Hi all,
I'm trying to find out how a triggered COBOL program running on UNIX can
get the trigger message for the Queue Name information held in the MQTM?
We've coded this on Mainframe CICS using EXEC CICS RETRIEVE, but is there
an equivalant(ish) command in UNIX COBOL?
Thanks in advance,
Ade
_______________________
Adrian Hadley
Senior Analyst Programmer
Express ICS
+44 (0)1827 717733 Switch Board
+44 (0)1827 713185 Fax
[EMAIL PROTECTED]
www.tnt.com
---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the
sender and delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or
attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html