Opening a Table in a TSR or VTS-TSR

tableBASE uses dataspaces to open tables in memory. The process of loading tables from a tableBASE library to dataspaces is called opening the tables. These dataspaces managed by tableBASE are called TSRs.

tableBASE uses two types of TSRs:

A local TSR is owned by an address space. A local TSR is owned by the respective address spaces that create them, example: Batch, CICS, etc. When the address space ends, the data loaded into local TSRs will be closed and removed. If using a local TSR, ensure the CICS Region uses the correct tableBASE library containing the data table.

A VTS-TSR is owned by the VTS Agent address space. This is a shared dataspace that can be used to share data across multiple address spaces including Batch and CICS regions.

tableBASE RESTConnector can be used to expose data from both a local TSR and VTS-TSR. VTS-TSRs are recommended because of their ability to share data across multiple address spaces.

Note:
For the purposes of this guide a VTS-TSR will be used throughout the document.