U@NBDYINDTRNG
U@NBDYINDTRNG calculates the number of calendar days difference between two specified dates. The number of days is always greater than zero.
Module | CALRTNS |
Required Input
Field | Type and length | Definition |
---|---|---|
E@DRFRDATE | N 8 |
Calculate from this calendar date: YYYYMMDD If the input date century equals 00, it changes to 19 or 20. See Century Parameter Processing. |
E@DRTODATE | N 8 | Calculate to this calendar date: YYYYMMDD |
Output
Field | Type and length | Definition |
---|---|---|
E@DRNBRDAYS | N 8 | Number of calendar days difference from one date to another. Always positive. |
E@DRERRORNBR | N 9 |
Error number. See Error Number. |
E@DRERRORVAR | A 20 | Input parameter is in error. |
Programming Example
|