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..
pos-42-88(47 bytes)
F100023\00 251
A000\2345 345
F100345\00 252
and so on...
so what i did was,
include cond=(46,7,ch,eq,c'F100023',46,7,ch,eq,c'F100345')
..but this sort didn't work.It threw maxcc 16 error.
can you let me know what could have gone wrong here.
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
Quote:
So i don't think 'OR' is a solution.
malayajena,
OR was not a solution, it was a part of your requirement.
Quote:
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.