Previous Topic: TLMDATE Macro - Common Date Processing RoutinesNext Topic: Date Calculation Routines


Date Conversion Routines

The TLMDATE macro furnishes several routines to facilitate the conversion of specific date formats to and from the CA TLMS internal date format. Those formats supported are:

JFCB

The format for this internal date is X'yydddd', where yy is the year in hexadecimal (X'63'=1999, X'64'=2000 and so on, and dddd is the day of the year in hexadecimal.

HDR1

This is the date as stored in the FL1EXPDT field of the HDR1 label. Its format is C'cyyddd', where c is the century (blank=1900, 0=2000, 1=2100 and so on).

CA TLMS External Format

This refers to one of the date formats supported by CA TLMS for display and input purposes.

Those TLMDATE macros that are used for date conversion operations require that the following parameters be defined:

FRDATE=

Points to the field to be converted.

TODATE=

Points to the field that receives the resulting converted date.