Sorting a file using JCL Sort
Posted: Mon Oct 22, 2007 9:57 am
Hi All,
I have a file which i have to sort using 3 different criteria, first on number(1-15) as A, second on the Y or N(50-51) as D fianlly on date(51-60) as D. I have written a sort card as below. but its not working. can any one help...
SORT FIELDS=(01,15,CH,A,49,01,CH,D,50,10,CH,D) im using PGM=SORT
File layout:
456565750176768 TNYEU STUHUBAU GESMBH Y07.02.2003
I have a file which i have to sort using 3 different criteria, first on number(1-15) as A, second on the Y or N(50-51) as D fianlly on date(51-60) as D. I have written a sort card as below. but its not working. can any one help...
SORT FIELDS=(01,15,CH,A,49,01,CH,D,50,10,CH,D) im using PGM=SORT
File layout:
456565750176768 TNYEU STUHUBAU GESMBH Y07.02.2003