Using the resource table copy books

The CICSPlex SM API accepts and returns resource data in the form of records that contain the resource attributes.

For example, if you issue a FETCH command against a result set containing LOCTRAN resource table records, the API returns all the attributes for a given transaction in a single record. Your program must identify an area of storage to receive the resource table records.

Note: This method of returning data differs from the EXEC CICS® system programming interface, where you must fetch each attribute of a resource individually.

To simplify the use of these resource table records, CICSPlex SM provides a set of copy books for each resource table that you can access from an API program. By including these copy books in your program, you can access the resource table data in the appropriate structure and format for the language you are using.