× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Based on later comments, I believe I would build a new front-end CL that called Program A as needed, with a screen and with a subfile, and that new front end would monitor a dataqueue, adding dataqueue entries to the subfile, as a status log.

On 3/24/2015 12:03 PM, Monnier, Gary wrote:
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.