Guardian Procedure Calls Reference Manual

SYSTEMCLOCK_SET_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Adjusting the Clock Using Modes 0, 1, 2, 3, and 6
Stopping Time Adjustment
Adjusting Clock Rates Using Modes 9 and 10
Using TUID
System Clock System Message
Clock Subsystem EMS Events
Clock Adjustment Queries
Example
Related Programming Manual
Summary
The SYSTEMCLOCK_SET_ procedure allows you to adjust or set the system clock if you are a
member of the super group.
NOTE: The SYSTEMCLOCK_SET_ procedure is supported on systems running H06.25 and later
H-series RVUs and J06.14 and later J-series RVUs. It supersedes the SETSYSTEMCLOCK Procedure
(Superseded by the SYSTEMCLOCK_SET_ Procedure) (page 1357).
Syntax for C Programmers
#include <cextdecs(SYSTEMCLOCK_SET_)>
#include <ZSYSC(zsys_ddl_scs)> /* for literals (optional) */
short SYSTEMCLOCK_SET_ ( [ long long julian-gmt ]
,[ short mode ]
,[ short tuid ] );
Syntax for TAL Programmers
?SOURCE $SYSTEM.SYSTEM.EXTDECS(SYSTEMCLOCK_SET)
?SOURCE $SYSTEM.ZSYSDEFS.ZSYSTAL(ZSYS^DDL^SCS) -- literals
error := SYSTEMCLOCK_SET_ ( [ julian-gmt ] ! i
,[ mode ] ! i
,[ tuid ] ); ! i
Parameters
julian-gmt
input
FIXED:value
is the specified adjustment value. Its content depends upon the mode parameter. It may be an
absolute or relative Julian GMT timestamp, defined in mode, or a clock rate adjustment. In two
modes it is ignored and may be omitted.
1408 Guardian Procedure Calls (S)