> OK everyone...I figured it out...my problem is that I was BUILDing over
> top of the existing data. I just added the PARSEd fields in the INREC to
> the end of the record, and moved the INCLUDE to OUTFIL.


Billy,

Glad you figured it out.  It is always preferable to put the temporary
fields at the end of the record using OVERLAY.  This would let you have the
original data as is.  The only issue with this approach is when dealing
with Variable Length files and you want to preserve the lengths. By adding
the temp fields at the end you make every record the same length which
defeats the purpose of variable length records.  For VLR you put the temp
field right after the RDW and move the contents to the right.

Thanks,
Kolusu
DFSORT Development
IBM Corporation

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to