Echo AS400 job log to Display file

5 pts.
Tags:
ECHO
IBM PC5250 Emulator
Joblogs
SNDPGMMGS
Is there a way or freeware utility to display each line or step of a job to a display file as they execute? Each job would add a new "line" to the display file as it ran so that you would see the last 20 or so job steps on the 5250 screen. I'm using the SNDPGMMGS command but it just shows one line at the bottom of the display. I'd like to see a running list of the steps completed as each step runs. I've seen this in some software package upgrades I've installed but I can't find any way to this with my own CL programs and jobs.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

You could try using REXX to execute your commands and echo them to the screen.

You could write your own program to display the commands as they’re being executed – you’d need a program to write to a display file, without reading from it, update the screen then write it again.

The S/36 environment can also echo each command to the screen as it’s executed, from a S/36 procedure.

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following