900-DAY-FROM-DATE
900-DAY-FROM-DATE calculates the day of the week for the input date. See Century Parameter Processing.
Library
|
CALRTNS |
Required Input
Field | Type and length | Definition |
---|---|---|
WSDR-FR-DATE
|
N 8 | Date to be converted. |
Output
Field | Type and length | Definition |
---|---|---|
WSDR-WEEKDAY-NBR
|
N 8 | 1 = Sunday, 2 = Monday, and so on. |
WSDR-ERROR-NBR
|
N 9 |
Error number. See Error Number. |
WSDR-ERROR-VAR
|
A 20 | Input parameter is in error. |
Programming Example
|