Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-91
DST_GETINFO_ Procedure
dstentry output
INT.EXT:ref:*
specifies the address of the ZSYS^DDL^DST^ENTRY^DEF structure that will be
filled in with the required information.
Considerations
If the keygmt value is less the than the lowgmt value of the first entry in the table
with nonzero offset, ZSYS^VAL^DST^RANGE^LOW (error 9) is returned.
If the keygmt value is greater than or equal to the highgmt value of the last entry
in the table with nonzero offset, ZSYS^VAL^DST^RANGE^HIGH (error 10) is
returned.
Example
#include <cextdecs (DST_GETINFO_)>
short error;
long long keyGMT;
zsys_ddl_dst_entry_def dstentry;
dstentry.z_version = ZSYS_VAL_DST_VERSION_SEP1997;
error = DST_GETINFO_ (keyGMT, (short*)&dstentry);