This sample application receives a COMMAREA from its caller. The COMMAREA contains pointers to information on a manager and the manager’s employees. The application calls an external CICS program passing it a record for each employee whose salary is $1000.00 or more.
The application consists of the MAIN rule (illustrated in MAIN Sample Rule) and the MAP tables illustrated in
Sample MAP Tables. In this example, all the data passed to the MAIN rule is in the COMMAREA and therefore can be accessed using MAP tables without special arrangements.
If the pointer provided in the COMMAREA contained the address of an area outside the COMMAREA, TIBCO Object Service Broker does not permit access to that area. To access such external data the area must first be registered using the EXTERNALRO or EXTERNALRW parameter of the
@MAP table.