> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin
> Sent: Monday, January 28, 2008 9:10 AM
> To: [email protected]
> Subject: Re: Keep only the tail of the dataset

[snip]

> Might yet be done allocating the trace file in JCL to a named
> pipe (FIFO) to be read by a chopping daemon.  The FIFO could
> be allocated and the daemon started in a prior job step.  Two
> likely problems:
> 
> o If the trace records are variable length containing binary
>   information, that can not be preserved in a Unix file.

Why not? I have successfully ftp'ed raw (binary) SMF data, including the
RDWs from z/OS to Linux. I can then read the file using Java, decoding
the RDWs. UNIX itself does not care what data is being written to a
file. It is just a byte stream. Of course, if the creating program
itself does not have some way to delimit an end-of-record, then it
__might__ not be possible to reliably read the data. E.g. undefined
records which don't have an RDW, nor an end-of-record indicator (like
program objects).

> 
> o If the daemon crashes, it soon takes the application down
>   with it.

Hum, I haven't tried, but I was under the impression that if the
"reader" went down, the "writer" would soon stop due to the buffer being
full. The "writer" would then wait until a "reader" started up again.
Oh, wait, yeah, a S522 on the "writer" might occur if it took too long
to restart the "reader".

> 
> -- gil



--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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