&SYSDATC System Variable Symbol

Use &SYSDATC to obtain the date, including the century, on which your source module is assembled. &SYSDATC has a global scope.

The value of &SYSDATC is an 8-character string in the format:

YYYYMMDD

where:

YYYY
is four-digit field that gives the year, including the century. It has a value between 0000 and 9999, inclusive.
MM
is two-digit field that gives the month of the year. It has a value between 01 and 12, inclusive.
DD
is two-digit field that gives the day of the month. It has a value between 01 and 31, inclusive.

Example:

20000328

Notes:
  1. The date corresponds to the date printed in the page heading of listings and remains constant for each assembly.
  2. The value of the type attribute of &SYSDATC (T'&SYSDATC) is always N.
  3. The value of the count attribute (K'&SYSDATC) is always 8.

[ Top of Page | Previous Page | Next Page | Contents | Index ]