HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


&SYSDATC System Variable Symbol

HLASM Language Reference
SC26-4940-06

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 0000 - 9999.
MM
Is two-digit field that gives the month of the year. It has a value 01 - 12.
DD
Is two-digit field that gives the day of the month. It has a value 01 - 31.
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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014