&SYSCLOCK System Variable Symbol
Use &SYSCLOCK to obtain the TOD clock date and time at
which the macro was
generated, based on Universal Time (GMT).
The local-scope system variable symbol &SYSCLOCK is
assigned a read-only value each time a macro definition is
called.
The value of &SYSCLOCK is a 26-character string in the format:
YYYY-MM-DD HH:MM:SS.mmmmmm
where:
- YYYY
- is a four-digit field that gives the year, including the century.
It has a value between 0000 and 9999, inclusive.
- 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.
- HH
- is a two-digit field that gives the hour of the day. It has a value
between 00 and 23, inclusive.
- MM
- is a two-digit field that gives the minute of the hour.
It has a value between 00 and 59, inclusive.
- SS
- is a two-digit field that gives the second of the minute.
It has a value between 00 and 59, inclusive.
- mmmmmm
- is a six-digit field that gives the microseconds
within the seconds.
It has a value between 000000 and 999999, inclusive.
Example:
2001-06-08 17:36:03 043284
Notes:
- The value of the type attribute of &SYSCLOCK
(T'&SYSCLOCK) is always U.
- The value of the count attribute (K'&SYSCLOCK) is always 26.
[ Top of Page | Previous Page | Next Page | Contents | Index ]