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


&SYSDATE System Variable Symbol

HLASM Language Reference
SC26-4940-06

Use &SYSDATE to obtain the date, in standard format, on which your source module is assembled. &SYSDATE has a global scope.

The value of &SYSDATE is an 8-character string in the format:
MM/DD/YY
where:
MM
Is a two-digit field that gives the month of the year. It has a value 01 - 12.
DD
Is a two-digit field that gives the day of the month. It has a value 01 - 31. It is separated from MM by a slash.
YY
Is a two-digit field that gives the year of the century. It has a value 00 - 99. It is separated from DD by a slash.
Example:
07/11/08
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 &SYSDATE (T'&SYSDATE) is always U.
  3. The value of the count attribute (K'&SYSDATE) is always 8.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014