× 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.



I have a CL program that communicates with the user mainly via SNDPGMMSG and SNDUSRMSG. (User interaction is minimal, confined to confirmation and error messages.)

I now have a situation in which I would like to send a message requiring no response to the "Display Program Messages" screen, immediately (i.e., without waiting) before sending one that does require a response.

In other words, when the "Display Program Messages" screen pops up, it should show both the first, informational message, and the second, inquiry message, e.g.,

FOO is in state BAR.
Are you sure you wish to perform the BAZ operation on FOO? (Y N)

I know that sort of thing is easy enough to do with DSPLY statements in RPG, but at least in the permutations of SNDUSRMSG and SNDPGMMSG I've tried so far from CL, it always either waits, or doesn't send the message.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.