Echo AS400 job log to Display file
5 pts.
0
Q:
Echo AS400 job log to Display file
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.
ASKED: May 14 2009  12:19 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23625 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button

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.
Last Answered: May 19 2009  10:25 AM GMT by Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0