Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-92
DST_TRANSITION_ADD_ Procedure
DST_TRANSITION_ADD_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Structure Definition for dstentry
Considerations
Example
Summary
The DST_TRANSITION_ADD_ procedure, for G05.00 and later G-series releases,
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
Syntax for TAL Programmers
Parameters
error
indicates the outcome of the operation. Table 4-2, Error Summary for DST_*
Procedures, summarizes the possible values for error. It is recommended that
the literal values be used instead of the numerical values when coding (for
example, ZSYS^VAL^DST^OK, not 0).
dstentry input
INT.EXT:ref:*
specifies the address of the ZSYS^DDL^DST^ENTRY^DEF structure that contains
all of the input fields for this procedure. For more information on how to assign
field values to the structure, see Structure Definition for dstentry
, later in this
subsection.
#include <cextdecs(DST_TRANSITION_ADD_)>
short DST_TRANSITION_ADD_ ( short *dstentry );
error:= DST_TRANSITION_ADD_ ( dstentry ); ! i