Page 1 of 1

JCL SORT to get the count in conjunction with outrec

Posted: Mon Mar 13, 2017 8:42 pm
by curious
Hi,
I need to create an output file in the following layout where the first 3 fields are hardcoded predetermined values, the4th field is the current date and the 5th field is the count of records from the input file (13 digits accuracy). The input file is a fixed length file of 450 char in length while the output file needed is a FB file of a shorter length. How do we do this in SORT

ABCDE110,MNOPQ110,ABCDE110,2017/03/11,9999999999999

Thanks for your help.