> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bill Wilkie
> Sent: Monday, January 28, 2008 9:16 AM
> To: [email protected]
> Subject: Re: Keep only the tail of the dataset
> 
> 
> If you only want the last 2,000 records or so, why not just 
> close the file and reopen it every 3,000 or so records?  
>  
> Bill

1) The OP has stated that the program is written and may no longer be
modified.

2) Since the program does not know when it may terminate, it is possible
that the last OPEN would be just before the program is to terminate,
thereby making the trace file have 0 records.

Another possibility, which I am not suggesting, but only mentioning, is
to use GPSAM from the CBT. This function uses subsystems to redirect
Q/BSAM output to another program, similar to a "pipe".

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