ICE805I 1 JOBNAME: AAAAAAJ1 , STEPNAME: STEP020
ICE802I 0 BLOCKSET TECHNIQUE IN CONTROL
ICE000I J - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R12 - 04:53
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=(12,2,BI,15,3,BI)
ICE201I J RECORD TYPE IS F - DATA STARTS IN POSITION 1
ICE112I J EQUALS NOT USED WITH SUM
ICE109A J INVALID POSITION OR LENGTH IN SUM FIELD - REASON CODE IS 01
ICE052I J END OF DFSORT
Can some one help me to identify this issue ? This job is working fine for
Code:
SUM FIELDS=(12,2,ZD,15,3,ZD)
I am aware that BI cannot be displayed. But can't we do SUM them also ?
the length for a BI SUM field must be 2, 4 or 8. You are using 3 for the length which is invalid.
The values in your record appear to be ZD values, not BI values, so I don't know why you're trying to use BI to sum them.
If you describe what you're actually trying to do, I could help you.
Please show an example of the records in each input file (relevant fields only) and what you expect for output (in hex, if appropriate). Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input file.