&SYSDATE System Variable Symbol

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 between 01 and 12, inclusive.
DD
is a two-digit field that gives the day of the month. It has a value between 01 and 31, inclusive. 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 between 00 and 99, inclusive. 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.

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