MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » February 2013

Re: Retrieving request message (the calling command)



Tim,

You could send a *RQS message and directly receive the same message in your CLP, this is similar to a command processor.

Thus SNDPGMMSG *RQS and RCVPGMMSG *RQS *LAST.

Regards,
Carel Teijgeler

On 27-2-2013 10:40, Tim Bronski wrote:
I'm trying to retrieve the actual command string of the the command that
was used to invoke my program - the CPP. Using QMHRCVPM or RCVMSG I can
retrieve the request message with the command string in the message data
but ONLY if the command is entered on a command line. If the command was
invoked from a CLP there's nothing there. I've looked up and down the
stack. Its obviously around somewhere and I could have sworn I've done
this before. Anyone know what the difference is between the way a
command is processed in these two scenarios and where I might find my
command?






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact