Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 Tools : @MOMINIT

@MOMINIT
Identifies the type of Message Oriented Middleware (MOM) message manager, and initializes its environment (map and control structures) to enable subsequent @MOM calls. (C)
Invocation
CALL @MOMINIT(buflen, mom_type)
 
The type of queue manager you want to use in the current session. If mom_type is null, an appropriate queue manager is selected. The only queue manager currently available is MQSERIES.
Usage Notes
If you prefer to allocate your own record storage map table, set buflen to 0 and update @MQSMAP.BUFFER_ADDRESS and @MQSMAP.BUFFER_LENGTH with the corresponding information after the @MOMINIT call.
WebSphere MQ on z/OS is TCB-specific. Therefore, @MOMINIT sets TCB affinity for the transaction and an interpreter TCB is held for the duration of the transaction. In a multi-user Execution Environment, consider increasing the value of your TASKEXECNUM Execution Environment parameter.

Exceptions
 
The stub program for WebSphere MQ has not been link-edited into the HRNDRSES load module.
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.
The TIBCO Object Service Broker Parameters manual for information on the TASKEXECNUM Execution Environment parameter
Related tools: @MOMCONNECT, @MOMOPEN, @MOMPUT, @MOMGET, @MOMCOMMIT, @MOMROLLBACK, @MOMSPECIALCMD, @MOMOPTION, @MOMSETOPT, @MOMMAPLENGTH, @MOMVALIDRC, @MOMCLOSE, @MOMDISCONN, @MQSMAP and @MQSMAP_PORT.
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved