TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-152
#EMSINITV Built-In Function
#EMSINITV Built-In Function
Use #EMSINITV to initialize a STRUCT as an event message buffer, preparing it for
use with the other #EMSxxx and #SSxxx built-in functions. This operation gives the
buffer an appropriate header and adds event information, taken from a variable level,
to the buffer.
option
is either of these:
SSID ssid
is the subsystem ID of the subsystem to which the subject token belongs. If
omitted or zero (0.0.0), it defaults to the SSID of the subsystem generating the
event.
TIMESTAMP timestamp
is the timestamp, in external representation of Julian GMT format, for the event
message. If you omit this parameter, the current time is used.
buffer-var
is the name of a writable STRUCT to be used as an EMS buffer. #EMSINITV
automatically passes the data length of the STRUCT to the EMSINIT procedure.
Any current contents of the STRUCT are lost.
ssid
is the subsystem ID of the subsystem generating the event.
event-number
is a number, specific to this subsystem, that identifies this event message.
token-id
is the token code or token map of the subject of this event message.
source-var
is the name of a variable level, of type STRUCT, from which #EMSINITV is to
obtain binary token values. The contents of the STRUCT are not altered.
#EMSINITV [ / option [ , option ] / ] buffer-var ssid
event-number token-id source-var