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



James H. H. Lampert wrote:
I wrote:
Is there a way to set up the parameters of a SNDPGMMSG so it behaves exactly like an RPG DSPLY statement?

More specifically, so that it DOESN'T wait for the user to acknowledge before going on?

i.e.
An RPG DSPLY will bring up the "Display Program Messages" screen with the messageit generates, but unless you either ask for a response, or execute within PDM, it keeps on going.

James:

Maybe RPG will wait for a response, and maybe it won't. It depends...

From the V4R3 RPG Reference (I know you appreciate vintage references):

 When factor 1 contains an entry and the result field is blank, the contents of the factor 1 entry are displayed. The program
does not wait for a response unless a display file with the parameter RSTDSP (*NO) specified was used to display a format at
the workstation. Then the program waits for the user to press Enter.

You might need to clarify _exactly_ what behavior you're looking for.

RPG gets some stuff compiled into it around 'display files' that sometimes cause unexpected results.

Tom Liotta


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.