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?