Internal date representation

Internally, HCL Workload Automation for Z works with a two-digit year format, so dates are represented as 00 to 99. In order to handle dates before and after 2000, HCL Workload Automation for Z has chosen 72 as the base year. This means that, internally, 1972 is represented as 00, 1995 as 23, and 2071 as 99.

This internal date does not affect HCL Workload Automation for Z dialog and report users. They always see the real date. However, PIF requests often involve reading or writing records in an HCL Workload Automation for Z database. These records contain dates in the internal two-digit format with base year 72. You use the PIFCWB and PIFHD parameters of the INTFOPTS statement or the CWBASE and HIGHDATE parameters of the INIT statement to define how you want these dates to be presented to PIF applications.

PIFCWB and CWBASE values determine what base year HCL Workload Automation for Z uses when presenting dates to PIF applications. If you specify 00, dates are presented as the last two digits of the real date. For example, 1995 is presented as 95 and 2001 as 01. Note, however, that the PIFCWB and CWBASE parameters affect all dates except the default out-of-effect and valid-to dates. These dates are presented to PIF application as the value specified in the PIFHD and HIGHDATE parameters.

For details about these statements, see Customization and Tuning.