I have a 80 byte FB input file.
I need to write an output file that will have record count ,one file name with Julian date appended to it and other hardcoded values.
ex. MY.OUTPUT.FILE.Dccyyddd
I used the sort card below:-
SORT FIELDS=COPY
OUTFIL REMOVECC,
NODETAIL,
TRAILER1=('1000',' ',
COUNT=(M11,LENGTH=9),' ',
'000000000000000',' ',
'ABCD',' ',
'MY.OUTPUT.FILE.D',DATE3)
OUTFIL REMOVECC,
NODETAIL,
TRAILER1=('1000',' ',
COUNT=(M11,LENGTH=9),' ',
'000000000000000',' ',
'ABCD',' ',
'MY.OUTPUT.FILE.D',DATE3)
Below error message was generated.
OUTFIL STATEMENT : SYNTAX ERROR
Can someone explain why DATE3 is not supported here.Sortcard works fine if DATE is used.
Thanks.