i have got a ps file which has the date field which is unloaded directly from db2 tables. i need to sort this file on the date which is in the format yyyy-mm-dd. i am trying to do sort on this field. here is example what i am trying to do ...
SORT FIELDS = (147,10,CH,A). but it is not sorting properly. so can you help me how the date is handled in jcl sort ?
date starts in column 147 ranging to 156.