UserData (MQCHAR128)
UserData is a character string that contains user information pertaining to the application to be started. This information is for use by a trigger-monitor application that processes messages on the initiation queue, or the application that is started by the trigger monitor. The information is sent to the initiation queue as part of the trigger message.
The meaning of UserData
is
determined by the trigger-monitor application. The trigger monitor
provided by WebSphere® MQ passes UserData
to
the started application as part of the parameter list. The parameter
list consists of the MQTMC2 structure (containing UserData
),
followed by one blank, followed by EnvData
with
trailing blanks removed.
The character string cannot contain any nulls. It is padded to the right with blanks if necessary. For Microsoft Windows, the character string must not contain double quotation marks if the process definition is going to be passed to runmqtrm.
To determine the value of this attribute, use the MQCA_USER_DATA selector with the MQINQ call. The length of this attribute is given by MQ_PROCESS_USER_DATA_LENGTH.