I had a requirement where i needed to sort on few first characters of a full length data.But it was not working.here are the details...
File is a VSAM file,
Record format -VB,
Record Length- 120.
The field on which i wanted to sort starts at a position of 42 byte and it extends upto a length of 47 bytes.
And the data was like..
and so on...
so what i did was,
..but this sort didn't work.It threw maxcc 16 error.
can you let me know what could have gone wrong here.
OR was not a solution, it was a part of your requirement.
ICE218A 6 45 BYTE VARIABLE RECORD IS SHORTER THAN 52 BYTE MINIMUM FOR FIELDS
You could have easily got through this if you'd referred the DFSORT messages manual which suggests to use VLSCMP or VLSHRT to get rid of this if a variable-length record was too short to contain all INCLUDE or OMIT fields.