tampakenny
New User
Joined: 15 Feb 2006 Posts: 11 Location: Tampa, FL
|
|
|
|
I'm trying to throw together a sort to build a quote and pipe-delimited extract for one of my users. My input lrecl is 250. I keep getting message ICE027A, as shown below. I'm sure I've either hosed the outrec statement or missed something obvious in my haste. Any ideas or is additional info needed? Thanks in advance.
Code: |
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 1 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 17:28 ON TUE OCT
INCLUDE COND=(137,3,CH,EQ,C'171')
SORT FIELDS=COPY
OUTREC FIELDS=(C'"',1,4,C'"|"',5,2,C'"|"',32,5,C'"|"',42,8,C'"|"',
56,20,C'"|"',133,12,C'"|"',145,6,C'"|"',171,6,C'"|"',
185,7,PD,EDIT=(TTTTTTTTTTT.TT),C'"')
ICE201I E RECORD TYPE IS F - DATA STARTS IN POSITION 1
ICE027A 6 END OF FIELD BEYOND MAXIMUM RECORD LENGTH
ICE052I 3 END OF DFSORT |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
I don't see anything wrong, and in fact, when I run your control statements using an input file with FB/250, I get a RC=0.
The ICE027A indicates you have a field that's beyond the end of the record length as defined by the LRECL. My guess would be that you really don't have an FB/250 file as input.
Try running with just the SORT statement (an easy way to do that is to add an END statement after the SORT statement) and see what the ICE088I tells you your SORTIN LRECL is. I'd be very surprised if it's really 250. |
|
tampakenny
New User
Joined: 15 Feb 2006 Posts: 11 Location: Tampa, FL
|
|
|
|
As suggested, the input file was not 250. It helps when one is actually given the correct dataset name to use in the jcl. D'oh! It is currently running now that I actually have an input file of FB/250. Thanks as always for your assistance. |
|