TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-138
#EMSADDSUBJECT Built-In Function
Considerations
Every event message has at least one subject, which you specify to the #EMSINIT
procedure. Use #EMSADDSUBJECT to specify additional subjects.
#EMSADDSUBJECT inserts two tokens into the buffer: the ZEMS-TKN-SUBJECT-
MARK token, which always precedes a subject and the subject token you
specified.
If the subsystem that generates the event message needs to include tokens from
another subsystem (often a lower-level subsystem), its call to #SSPUT(V) must
include the SSID option, which specifies the subsystem ID of the other subsystem.
When you specify the SSID option, every token placed in the buffer on that
procedure call is in an extended form that includes the SSID you specified.
To supply token values from a variable level, use the #EMSADDSUBJECTV built-
in function.
-9 Invalid token code or map
-10 Invalid subsystem ID
-11 Operation not supported
-12 Insufficient stack space
Code Condition