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


ICE288I

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

ICE288I
INPUT OR OUTPUT DATE VALUE OUT OF RANGE FOR DATE CONVERSION OR DATE ARITHMETIC

Explanation

For a date conversion operation using TOJUL, TOGREG, WEEKDAY, DT or DTNS, or for a date arithmetic operation using ADDDAYS, SUBDAYS, ADDMONS, SUBMONS, ADDYEARS, SUBYEARS, DATEDIFF, LASTDAYW, LASTDAYM, LASTDAYQ, LASTDAYY, NEXTDday or PREVDday (where day is SUN, MON, TUE, WED, THU, FRI or SAT), an invalid input date was used, or an invalid output date would have been produced. A date value is considered invalid if any of the following range conditions are not met:
  • yy must be between 00 and 99
  • ccyy must be between 0001 and 9999
  • mm must be between 01 and 12
  • dd must be between 01 and 31, and must be valid for the year and month
  • ddd must be between 001 and 366 for a leap year, or between 001 and 365 for a non-leap year.

A date is also considered invalid if the input field is a CH/ZD special indicator of binary zeros, blanks or binary ones, and the output field is PD, or if an input field for DATEDIFF is a special indicator.

System action

Asterisks are printed for each invalid output value. The message is only issued once. Processing continues.

Programmer response

Check for output values containing asterisks and ensure that the input date value is valid and that you are not converting a CH/ZD special indicator of binary zeros, blanks or binary ones to a PD value.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014