This command file is crude but seems to do what you want. Just feed it a
spool file name & your -f value. In the PRINT command a negative value shows
that many lines from the end. A positive value is counted from the
beginning.
parm sp_file start_line=1
setvar done FALSE
while (not done) do
echo ====
print !sp_file;start=!start_line
pause 5
endwhile
John Dass <[log in to unmask]> wrote in message
news:3aa9a098.436208@news.singnet.com.sg...
>
> Hello,
>
> I remember that in Unix you can tail -f the stdout of a running
> program so as to monitor the execution. However in MPe you have
> to goto MPEX and do a 'printo #Jxxxx' repeatedly to montor
> the execution. Is there a way to 'tail -f' the stdlist so that as the
> results of the executing program gets to STDLIST, it is displayed
> on the screen and there is no need to do a 'printo' repeatedly?
>
> Thank you very much for your help in advance.
>
> Cheers!
> John
>