The following date transforms handle the situation where the date is stored in the COBOL data item as either 6 digits or 8 digits, but the end-user configures the actual format of dates stored in the data item. Such situations occur, for example, when the COBOL program allows the end-user to configure the date format for local conventions such as:
6-digit forms | 8-digit forms | Locale Example |
---|---|---|
YYMMDD | YYYYMMDD | Japan |
MMDDYY | MMDDYYYY | U.S.A. |
DDMMYY | DDMMYYYY | Germany |
Within the design phase of the catalog, you choose the appropriate 6- or 8-digit transform. Then the end-user of the catalog, by using the Date Constants dialog box in the Relativity DBA program, can select the format that configures Relativity to match the format configured for the COBOL program that built the local files.
The YY Dates section in the Date Constants dialog box is used to configure 6-digit forms.
The YYYY Dates section in the Date Constants dialog box is used to configure 8-digit forms.