Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual—522629-013
15-19
TS_UNIQUE_CREATE_ Procedure (H-Series RVUs
Only)
Summary
The TS_UNIQUE_CREATE_ procedure returns a 128-bit timestamp that is unique to 
the system it is generated on and any system in the same EXPAND network. The 
header files for this procedure can be found in cextdecs for C/C++ programs and in 
extdecs0 for pTAL programs.
Syntax for C Programmers 
Syntax for TAL Programmers    
Parameters
TS  output
is a unique timestamp returned.
TS_UNIQUE_CREATE returns these values:
Example
STRUCT TIMESTAMP(NSK_UniqueTimeStamp128);
ERR := TS_UNIQUE_CREATE_(TIMESTAMP);
IF ERR THEN
TS_UNIQUE_CREATE_(short *TS);
INT PROC TS_UNIQUE_CREATE_(TS) RESIDENT CALLABLE;
EXTERNAL;
Return Value Definition
FEOK [0]
No error: The operation executed 
successfully. 
FEBOUNDSERR [22] One of the parameters specifies an address 
that is out of bounds.










