Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-98
DST_TRANSITION_DELETE_ Procedure
Considerations
•
Only transition entries that already exist can be deleted. If an interval with nonzero
offset covers the time at which the delete operation is attempted,
ZSYS^VAL^DST^DELETE^NOW^ERROR (error 5) is returned.
Example
#include <cextdecs (DST_TRANSITION_DELETE_)>
zsys_ddl_dst_entry_def dstentry;
short error;
long long timeStampLow, timeStampHigh;
dstentry.z_lowgmt = timeStampLow;
dstentry.z_highgmt = timeStampHigh;
dstentry.z_offset = 3600; /* seconds */
dstentry.z_version = DST_VERSION_SEP1997;
error = DST_TRANSITION_DELETE_ ((short*)&dstentry);