Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (A-B)
Guardian Procedure Calls Reference Manual—522629-013
2-11
ADDDSTTRANSITION Procedure
(Superseded by DST_GETINFO_ Procedure)
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
•
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
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
Note. The DST transition table must be loaded in time sequence and with no gaps (see
“Considerations”).
#include <cextdecs(ADDDSTTRANSITION)>
_cc_status ADDDSTTRANSITION ( long long low-gmt
,long long high-gmt
,short offset );
CALL ADDDSTTRANSITION ( low-gmt ! i
,high-gmt ! i
,offset ); ! i