Hi,
I have a file containing header, detail and trailer record. I want to extract header in one file, detail in one file and trailer in one file.
I have extracted header and trailer. But i'm nt sure how to extract detail record alone. We dont use ICETOOL utlity. Pls help with SORT.
my file is like this.
000000hdr data000
12345678
56990000
8899900
000000trl data
Note:
For extracting header and trailer, sort card that i used is:
OPTION COPY
OUTFIL REMOVECC,NODETAIL,HEADER1=(1,80),
FNAMES=SORTOF1
OUTFIL REMOVECC,NODETAIL,TRAILER1=(1,80),
FNAMES=SORTOF2