Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
Code: |
SORT FIELDS=COPY
OUTFIL OUTREC=(2:1,10,
12:11,15,
30:26,20,
52:46,15,
69:61,1,
86:62,3,
98:65,40,
140:105,25,
168:130,25,
194:155,25) |
This statement cannnot pass, could anyone tell me why?
The length of input file and output file are long enough.
Thanks! |
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
l.o.w.,
If the SORTOUT data set has an LRECL of 233 (e.g. you specified LRECL=233 on the SORTOUT DD statement or its an old data set with LRECL=233), then you'd get an error like this
ICE222A 0 218 BYTE FIXED RECORD LENGTH IS NOT EQUAL TO 233 BYTE LRECL FOR SORTOUT
because your reformatted record length of 218 does not match your SORTOUT LRECL of 233. You can fix that by changing your last line to:
If that's not the problem/solution, then post the //SYSOUT messages you received. |
|