|
If Program A has SFLMSG defined, have you tried sending a status message rather than a completion message?
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John R. Smith, Jr.
Sent: Tuesday, March 24, 2015 8:32 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Sending a message in CL
I have program A that repeatedly calls program B with different parameters (both are CLLE). Program B does its task based on the parameter and then needs to send a message that will show up at the bottom of the screen when program A is complete so we can see what all happened by scrolling through the messages.
I tried having Program B do a SNDPGMMSG *PRV *COMP and if I call program B from the command line, it works. However, when program B is called from program A, the messages never show when program A is complete. Can anyone tell me which command and parms need to be used to have program B send the message all the way back?
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.