This adapter is for connecting to IBM WebSphere MQ.
parameter SETTINGS = "QueueManager:Basic,Channel:Basic,QueueName:Basic,CharSet,ErrorFile:Dev";
List of properties can be set as settings in the configuration file
format is a comma separated list of property names
as %Boolean [ InitialExpression = 0 ];
This is set if the queue needs to be initialized again after the job has started.
Default is 0 since OnInit() calls initialize and the job will not start if not successful.
Temp storage for %PutStream
The specification for the channel, in the following form: "channel_name/transport/host_name(port)".
Transport can be one of the following: TCP, LU62, NETBIOS, SPX
If you omit this setting, the system uses the default channel specification, as configured in
IBM WebSphere MQ.
Or, if the system has been the configured so that the channel is determined by the queue name, the system
uses the channel that is appropriate for the given queue name.
This setting specifies the IBM Coded Character Set Id that the messages are already in; no conversion is done based
on this selection
Specifies the log file to write error messages to.
If you omit this setting, no logging occurs.
If you omit this setting, the system uses the default queue manager, as configured in IBM WebSphere MQ.
Or, if IBM WebSphere MQ has been the configured so that the queue manager is determined by the queue name,
the system uses the queue manager that is appropriate for the given queue name.
(Required) Specifies the queue name; this should be a valid queue for the specified queue manager.
Also, you must have permission to use this queue.
This user callback method is called before first message is sent and after if reconnect is needed
This user callback method is called just after %OnNew()
This user callback method is called just before %OnClose()
method SendMessage(pBody As %String, pMsgId As %String = "")
Sends an MQ Series message. Note that pBody can be either a simple datatype (string) or a character stream