Previous Topic: CA TLMS Internal Date FormatNext Topic: Coding the TLMDATE Macros


TLMDATE Macro Functions

The various forms of the TLMDATE macro are detailed on the following pages in alphabetical order by function type. They are:

ADD_DAYS

Add a number of days to a date

ADD_WORK

Add a number of work days to a date (adjusted for weekends)

ADD_YEARS

Add a number of years to a date

ANCHOR

Define the Anchor Control Block

CLOSE

Close date routine processing

EXPLODED_DATA

Generate storage area for date related information after a call to TLMDATE TO_EXPLODED

FROM_EXTERNAL

Convert an external date to a CA TLMS internal date

FROM_HDR1

Convert HDR1 date to a CA TLMS internal date

FROM_JFCB

Convert JFCB date to a CA TLMS internal date

NUM_DAYS

Calculate and store days difference between two dates

OPEN

Initialize date processing routines

PARM

Define parameter list for CTSDATE module

RETURN_DATE

Return current date and time

RETURN_TYPE

Determine type of CA TLMS internal date (calendar or CA TLMS keyword)

SET_FORMAT

Set the preferred date format

SET_KEYWORD

Define a keyword value

SUB_DAYS

Subtract a number of days from a date

SUB_YEARS

Subtract a number of years from a date

TEST_FORMAT

Determine date format validity

TO_EXPLODED

Convert a CA TLMS internal date to exploded format

TO_EXTERNAL

Convert from a CA TLMS internal date to an external date with format

TO_HDR1

Convert a CA TLMS internal date to HDR1 date format

TO_JFCB

Convert a CA TLMS internal date to JFCB date format

TO_PREFERRED

Convert a CA TLMS internal date to preferred date format

Note: The OPEN form of the TLMDATE macro initializes the date processing routines, and must be issued before any other forms of the macro can be successfully executed.