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


Chapter 10 Sample Application Using TIBCO Object Service Broker MAP Tables : Sample Application

Sample Application
What does this Application do?
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.
This example runs in the CICS environment but the techniques used are applicable to other TIBCO Object Service Broker environments. Many irrelevant details are omitted that would be present in a real application.
Pictorial Representation of the Sample Storage Areas
The following is a pictorial representation of the sample storage areas:
The Application
The application consists of the MAIN rule (illustrated in MAIN Sample Rule) and the MAP tables illustrated inSample 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.
Access to Data Outside of the COMMAREA
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.

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