DCL:MISC£±:DATELIB : Handling of Dates *#:Explanation of Subroutines
Converts the date type.
DATE12 : Converts Type1 date into Type 2 date.
DATE13 : Converts Type1 date into Type 3 date.
DATE21 : Converts Type2 date into Type 1 date.
DATE23 : Converts Type2 date into Type 3 date.
DATE31 : Converts Type3 date into Type 1 date.
DATE32 : Converts Type3 date into Type 2 date.
CALL DATE12(IDATE,IY,ITD)
CALL DATE13(IDATE,IY,IM,ID)
CALL DATE21(IDATE,IY,ITD)
CALL DATE23(IY,IM,ID,ITD)
CALL DATE31(IDATE,IY,IM,ID)
CALL DATE32(IY,IM,ID,ITD)
IDATE (I) Type 1 date. IY (I) Year. IM (I) Month. ID (I) Day. ITD (I) Serially-counted day.