In a recent note, Steve Pordash said:

> Date:         Wed, 13 Sep 2006 16:45:48 -0500
> 
> Does anyone know of an API that exists so I can read a jes pool file while a
> batch job is still active? I can read a spool file using the subsystem
> interface 79 function, however it only allows spool files to be read once
> the batch job finishes.  I know I can do it using SDSF, however I can't rely
> on that.  Any help would be greatly appreciated.
> 
Is it necessary that it be a JES spool file?

As an alternative, if output is written to an HFS file, it can be
read while the job is in progress.  In fact, with /bin/tail you
can scroll the output as it is written block-by-block (with a
2-second latency).  The HFS file could be printed later, with
an IEBGENER step.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to