Output file
01 File 3
03 filler1s9(4) usage comp
03 filler x20
03 filler x10
03 field1 x20
03 filler x
03 col2 x4
03 filler rest of the space
I want the 2 i/p files to be sorted based on codition that
field2 = col1 then it needs to be sorted to output file . Also the file needs to have a header and trailer and in trailer the file must contain the rec-count.
Output file
01 File 3
03 filler1s9(4) usage comp
03 filler x20
03 filler x10
03 field1 x20
03 filler x
03 col2 x4
03 filler rest of the space
I am sure you know the Col3 is left for the future use.
And about the header & Trailers.
here is the format that the utput is to look like
--------------------
File _Id: HDR
Date : Current date
Time : Current Time
--------------------
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
Quote:
Like I said , I have already done it in COBOL , I am only looking for any sort card.
Yes, I know you have done it in COBOL but tht is not what I was referring to when I asked about what you have done to resolve it yourself. Perhaps I should have been clearer and asked 'what have you tried with DFSORT?'.