Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-17
DST_TRANSITION_ADD_
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. This procedure supersedes the
ADDDSTTRANSITION procedure.
DST_TRANSITION_DELETE_
Allows a super-group user (255,n) to delete an existing entry from 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.
dstentry
#include <cextdecs(DST_TRANSITION_ADD_)>
short DST_TRANSITION_ADD_ ( short *dstentry ); /* i */
#include <cextdecs(DST_TRANSITION_DELETE_)>
short DST_TRANSITION_DELETE_ ( short *dstentry ); /* i */
Error Literal Value Description
0 ZSYS^VAL^DST^OK The operation is successful.
1 ZSYS^VAL^DST^
SECURITY^ERROR
The caller is not a super-group user (255,n).
2 ZSYS^VAL^DST^
BAD^VERSION
The version number passed in
ZSYS^DDL^DST^ENTRY^DEF is not valid. The
only valid version is
ZSYS^VAL^DST^VERSION^SEP1997.
3 ZSYS^VAL^DST^BAD
^PARAMETER
One of the specified parameters is not valid.
4 ZSYS^VAL^DST^
INTERVAL^ERROR
Invalid interval operation. An attempt was made
to add, delete, or modify a DST entry that causes
a collision with an existing DST entry.
5 ZSYS^VAL^DST^
DELETE^NOW^
ERROR
An attempt was made to delete a required DST
entry. This error is returned when the DST entry
that the user attempted to delete is in effect at the
time the delete operation was attempted and the
offset of the entry is nonzero.
6 ZSYS^VAL^DST^
TYPE^ERROR
The DAYLIGHT_SAVING_TIME option in the
system is not configured to use the TABLE
option.