You can also write directly to a journal receiver, I would suggest setting up a specific journal for that function. See APIs to do it.

Auditors love it since once the receiver is written it cannot be altered unlike a table or log file in IFS.


Jim Oberholtzer
Agile Technology Architects

On Nov 14, 2025, at 2:48 PM, Richard Schoen <richard@xxxxxxxxxxxxxxxxx> wrote:

Not that I know of without writing your own log entries to a table or via snd-msg.

I have written my own common logging tables before to write logs for CL or RPG.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

----------------------------------------------------------------------

message: 1
date: Fri, 14 Nov 2025 10:12:19 -0500
from: Rob Berendt <robertowenberendt@xxxxxxxxx>
subject: Re: Suggestion for logging RPG program

- Journal file I/O?
- Job trace? (GO CMDTRC)
- Step through it with debug?

On Fri, Nov 14, 2025 at 9:29?AM gio.cot via MIDRANGE-L < midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Hi all

Is there a way to log the program rpg operation like we obtain when
for a CLP program we set the CHGJOB LOG(2 50 *MSG) ?

I try better explain: when in clp program we run "CHGJOB LOG(2 50
*MSG) , in the job log we all command the are executed, with an RPG
program can i obtain teh result ?

Hope my question is clear ..

Thanks in advance


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


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