From the RPG reference you can specify the message queue:

Free-Form Syntax DSPLY{(E)} {message {message-queue {response}}}
Code Factor 1 Factor 2 Result Field Indicators
DSPLY (E) message message-queue response _ ER _

Scott Mildenberger | Software Developer | Washington Companies IT Services
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James H. H. Lampert
Sent: Thursday, January 14, 2021 9:31 AM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: DSPLY statements in batch jobs?

Normally, of course, a DSPLY statement sends its message to the terminal in an interactive job, and sends it to the system operator in a batch job.

Is there a way to have it go to some other message queue in a batch job?

--
JHHL
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a messag

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