I need to count the number of records from the input file using sort.I have used the below sort card in the jcl and it works fine.
but i need to change the result into Zoned decimal please tel me how to do it.
SORT FIELDS=COPY
OUTFIL REMOVECC,NODETAIL,
TRAILER1=('NO OF RECORDS: ',COUNT=(M11,LENGTH=8))
and the output
=COLS> ----+----1----+----2----+----
****** *****************************
000001 NO OF RECORDS: 00000029
****** ****************************
OUTFIL REMOVECC,NODETAIL,
TRAILER1=('NO OF RECORDS: ',COUNT=(M11,LENGTH=8))
and the output
=COLS> ----+----1----+----2----+----
****** *****************************
000001 NO OF RECORDS: 00000029
****** ****************************