Guardian Procedure Calls Reference Manual
ADDDSTTRANSITION Procedure (Superseded by DST_GETINFO_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Summary
The ADDDSTTRANSITION procedure allows a super-group user (255,n) to add an entry to the
daylight-saving-time (DST) transition table. This operation is allowed only when the
DAYLIGHT_SAVING_TIME option in the system is configured to the TABLE option.
Syntax for C Programmers
#include <cextdecs(ADDDSTTRANSITION)>
_cc_status ADDDSTTRANSITION ( long long low-gmt
,long long high-gmt
,short offset );
• The function value returned by ADDDSTTRANSITION, which indicates the condition code,
can be interpreted by _status_lt(), _status_eq(), or _status_gt() (defined in the
file tal.h).
Syntax for TAL Programmers
CALL ADDDSTTRANSITION ( low-gmt ! i
,high-gmt ! i
,offset ); ! i
Parameters
low-gmt
input
FIXED:value
is the Greenwich mean time (GMT) when offset is first applicable. (This form is the same as
the form used for COMPUTETIMESTAMP.) Except for the first call, the low-gmt parameter of
each call must be the same as the high-gmt parameter of the previous call. This implies that
many calls have an offset parameter of 0.
high-gmt
input
FIXED:value
is the GMT when offset is no longer applicable.
offset
input
INT:value
is this value in seconds:
ADDDSTTRANSITION Procedure (Superseded by DST_GETINFO_ Procedure) 47