Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : @MOMPUT

@MOMPUT
Writes a message to a Message Oriented Middleware (MOM) message queue. (C)
Invocation
CALL @MOMPUT(connection, queue, table, len)
 
Usage Notes
If table is null, @MQSMAP.BUFFER_ADDRESS and @MQSMAP.DATA_LENGTH must be set prior to the call.
If table is supplied and len is null, the length of the table is used. Calculation of the length of the table is time-consuming, because you need to access the Data Object Broker. If you are doing multiple @MOMPUT calls, it is better to use @MOMMAPLENGTH(table) to store the length in a local variable and use the local variable in the @MOMPUT call.

Exceptions
 
Example
Refer to the example in the section on the Service Gateway for WMQ in TIBCO Object Service Broker for z/OS External Environments or TIBCO Object Service Broker for Open Systems External Environments.
See Also
TIBCO Object Service Broker for z/OS External Environments or TIBCO Object Service Broker for Open Systems External Environments for additional information on using the MOM tools and the Service Gateway for WMQ.
Related tools: @MOMINIT, @MOMCONNECT, @MOMOPEN, @MOMGET, @MOMCOMMIT, @MOMROLLBACK, @MOMSPECIALCMD, @MOMOPTION, @MOMSETOPT, @MOMMAPLENGTH, @MOMVALIDRC, @MOMCLOSE, @MOMDISCONN, @MQSMAP and @MQSMAP_PORT.
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved