z/OS DFSORT Messages, Codes and Diagnosis Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ICE221A

z/OS DFSORT Messages, Codes and Diagnosis Guide
SC23-6879-00

ICE221A
INVALID FIELD OR CONSTANT IN {*INCLUDE|*OMIT|*INREC| *OUTREC|ddname} IFTHEN n CONDITION m

Explanation

Critical. An error was detected in a COND, INCLUDE, OMIT, TRLID, or IFTHEN WHEN, BEGIN or END operand. The specific cause of the error is identified as follows:
  • *INCLUDE indicates that the COND operand of the INCLUDE statement, or an INCLUDE operand of a JOINKEYS statement, caused the error. n is 0.
  • *OMIT indicates that the COND operand of the OMIT statement, or an OMIT operand of a JOINKEYS statement, caused the error. n is 0.
  • ddname and n=0 indicates that the INCLUDE, OMIT, or TRLID operand of an OUTFIL statement caused the error. ddname identifies the first data set in the associated OUTFIL group.
  • *INREC indicates that an IFTHEN WHEN, BEGIN or END operand of the INREC statement caused the error. n identifies the number of the associated IFTHEN clause (starting at 1 for the first IFTHEN clause in the INREC statement).
  • *OUTREC indicates that an IFTHEN WHEN, BEGIN or END operand of the OUTREC statement caused the error. n identifies the number of the associated IFTHEN clause (starting at 1 for the first IFTHEN clause in the OUTREC statement).
  • ddname and n>0 indicates that an IFTHEN WHEN, BEGIN or END operand of an OUTFIL statement caused the error. ddname identifies the first data set in the associated OUTFIL group. n identifies the number of the associated IFTHEN clause (starting at 1 for the first IFTHEN clause in the OUTFIL statement).
One of the following errors was detected:
  • the length for a field with a format other than SS was greater than 256
  • the length for a PD field not used with NUM was 256
  • the length for a PD0 field was less than 2 or greater than 8
  • the length for a CSF or FS field not used with NUM was greater than 32
  • the length for a UFF or SFF field was greater than 44
  • the length for a CSL, CST, ASL, or AST field was 1
  • the decimal constant for an FI field was greater than +9223372036854775807 or less than -9223372036854775808
  • the decimal constant for a BI field was greater than 18446744073709551615 or less than +0
  • the number of digits (including leading zeros) in the decimal constant for an FI or BI field was greater than 31
  • the length for a Y2 field was not 2 for Y2C, Y2Z, Y2P or Y2S, or 1 for Y2D or Y2B, or 3–6 for Y2T or Y2W, or 2–3 for Y2U or Y2X, or 3–4 for Y2V or Y2Y
  • a Y2 field was compared to another Y2 field with a different number of non-year digits
  • a Y2 field was compared to a Y constant with a different number of non-year digits
  • a Y2 field other than Y2S, Y2T or Y2W was compared to Y'LOW', Y'BLANKS' or Y'HIGH'
  • a Y2 field was compared to a constant that was not a Y constant.
m indicates the number of the relational condition in which the error was found (starting at 1 for the first relational condition). For example, in
 INCLUDE COND=(5,2,CH,EQ,8,2,CH,OR,
   11,257,BI,EQ,301,257,BI)   
the second relational condition (after the OR) has the error described in the first bullet above, so m is 2.

System action

The program terminates.

Programmer response

Correct the field length or constant in error in relational condition m.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014