When you return to CICS, you can retrieve the data from the COMMAREA. If you have a CICS MRO (Multi-Region Option) system, your transaction must be defined to run on the same CICS MRO region as the TIBCO Object Service Broker startup module.
MAP tables are a convenient way to access the COMMAREA that is passed to the session and returned by it. Use the System Interpreted Table
@SESSION to obtain and manipulate the pointer to the COMMAREA. For both seamless and non-seamless clients, the value of @SESSION.COMMHANDLE is the address of the COMMAREA, and @SESSION.COMMLENGTH is its length. Refer to
Non-Seamless COMMAREA and
Seamless COMMAREA for the layout of the COMMAREAs.
MAP tables support FORALL, GET, and REPLACE statements. All MAP tables are parameterized by a memory address, which you use to position your MAP table access to a location within the COMMAREA.
The $SETENVCOMMAREA tool can be used to assign a string to the entire COMMAREA. The syntax is:
sets the entire COMMAREA to contain the string STRINGOUT, and sets
LEN to the number of bytes left remaining in the COMMAREA.
TIBCO Object Service Broker for z/OS Installing and Operating about setting up TIBCO Object Service Broker to use CICS MRO.
TIBCO Object Service Broker Shareable Tools about the tools and System Interpreted Tables.