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.
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 1 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 17:28 ON TUE OCT
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
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.
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.