Tim,
Have you tried the QMHRTVRQ (Retrieve Request Message) api?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tim Bronski
Sent: Wednesday, February 27, 2013 1:41 AM
To: Midrange Systems Technical Discussion
Subject: Retrieving request message (the calling command)
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?
--
Need secure FTP? Forget PASE...get your FREE sFTP here www.arpeggiosoftware.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.