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: - The date corresponds to the date printed in the page heading of
listings and remains constant for each assembly.
- The value of the type attribute of &SYSDATE (T'&SYSDATE)
is always U.
- The value of the count attribute (K'&SYSDATE) is always 8.