SETCLOCK

have a CPU-SECONDS time whic h is an extremely large positive or negative number.

STORE/RESTORE, TurboSTORE/XL, or an y other ￿le archive system based on dates or times ma y not store or restore the ￿les in the expected manner, since some ￿les ma y have creation or access times in the future or may even have access times which precede their creation times.

Some compilation tools like MAKE rely on the relativ e modi￿cation dates of the ￿les in the compilation unit. Setting the system time bac kward and then modifying the main ￿le in the compilation unit ma y force an unnecessary full compilation, since the main ￿le ma y have an earlier modi￿cation time than the ￿les it depends on. Setting the system time bac kward and then changing a ￿le needed by the main ￿le will cause MAKE to think that the c hanged ￿le's modi￿cation time precedes that of the main ￿le. Th us, the changed ￿le will not be included in the recompilation.

This list is only mean t to include a few of the dangers associated with an immediate time change; this list does not represen t all of the problems likely to be encountered. Therefore, if the ;NO W option must be used, it should be used only with a full kno wledge of its e￿ects on the system's w orkload.

Use

You can use this command ma y be issued from a session, job, program, or in BREAK. Pressing 4Break5 has no e￿ect on this command.

Diagnostician (DI) and either Operator (OP) or System Manager (SM) capabilities are required to issue this command. Additionally , System Manager (SM) capabiltiy is required to use the ;NOW parameter.

Examples of Date-Time and Correction Forms:

The following example illustrates setting the system time b y providing a date and time:

:SETCLOCK DATE=07/04/1993;TIME=15:00

The following example illustrates pro viding a time correction to adv ance the system time by one hour.

:SETCLOCK CORRECTION= +3600

MPE/iX Commands 2-243