|
When you say "from a CL program, I don't" does that mean that your CL program is trying to receive the completion message, but is not finding one?
Or does it mean that it doesn't print on the screen?
In the latter case, it's important to understand the way messages work on i5/OS. Each call stack level has it's own message queue. Typically, completion messges are sent one level up the call stack. So, if the command line invokes RSTOBJ, the completion message is sent to the command line itself (which will display it on the screen for the user's benefit). If the RSTOBJ command is run from your program, the completion message would be sent to your program -- which would ignore it unless you've written code to retrieve it and do something with it.
So in this situation, if you want the message to be displayed on the command line after your CL program exits, you'll need to retreive the message sent by RSTOBJ (via the RCVMSG command) and re-send it up to your CL program's caller (which would, presumably, be the command line).
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.