Choices I see 1. use the DB2 date facilities when the unload tape is created. REORG with DISCARD processing will purge records with single column date manipulation. 2. use INREC to build a DFSORT type date field and then use OMIT logic from Frank that will let you do 1 year. Use OUTREC to remove the date field. 3. write a REXX to generate control cards or pass the file directly.
I am waiting for the ability of DFSORT to invoke REXX directly. That would let me do all kind of fixes without ever writing a full program. Mike ---------------------------------------------------------------------- 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

