Previous Topic: CA Common Services for z/OS EARL Service Component DescriptionsNext Topic: CTSEDATE Date Function Calls


Date Processing

The CTSEDATE date subroutine can be called from your z/OS EARL Service program to provide date manipulation functions for date fields retrieved from the CA TLMS VMF. The following fields are stored in the CA TLMS z/OS EARL Service record and may be used in date manipulations:

Common Area:

Field

Description

CDATE

Date that volume was created

DATECLN

Date that tape was last cleaned

EXPDT

The expiration date for the volume

LDATE

Date that volume was last used

MOVEDATE

Date that tape was moved to the current location

PURDATE

Date that tape was first purchased

CA TLMS Specific Area:

Field

Description

DATE_CERTIFY

Date that volume was certified

DATE_SCRATCHED

Date that volume was scratched

DSN_KEEP_DATE

Date that can be used as one of the criteria for scratching or moving a volume

VOLUME_KEEP_DATE

Highest keep date created on the volume

VOLUME_EXPDT

Highest EXPDT created on the volume

The following paragraphs discuss current date functions and calling sequences, and provide z/OS EARL Service coding examples.