Verifying shared data tables support
You can verify that shared data tables can be used in a number of ways.
- Start a CICS region on which you have installed support for shared data tables. To use shared data tables, you must install the DFHDTSVC, DFHDTCV, and DFHMVRMS modules in either an authorized system library in the MVS linklist (LNKLST concatenation of the MVS system) or in the LPA. When you install CICS, these modules are installed into the hlq.SDFHLINK library, which you usually include in the MVS linklist.
- Define and install a user-maintained data table.
- Try a generic read command on your data table, using the CECI transaction. Generic reads of user-maintained data tables are allowed only with shared data tables. If shared data tables is operational, you see a normal response. If shared data tables is not operational, you see an INVREQ response. This verification process uses user-maintained data tables throughout, because the behavior of CICS-maintained data tables is not apparent to their users. For example, a normal response is returned for a generic read of a CICS-maintained data table, regardless of whether or not shared data tables is operational.
To verify that the cross-memory services of shared data tables
are working:
- Start a second CICS region (the requester) that has an interregion communication connection to the first CICS region (the server, which contains the user-maintained data table and source data set).
- On the requester CICS region, do the following tasks:
- Define and install a remote file referring to (associated with) the user-maintained data table on the server CICS region.
- Close the interregion communication connection between the two
CICS regions so that function shipping is impossible; that is, only
the cross-memory services of shared data tables can be used to access
the shared data table from the requester CICS region. To close the
connection, you can enter the command:
CEMT SET IRC CLOSEDTo verify that function shipping cannot work, try a remote READ of a file (not a data table) on the server CICS region; you get a SYSIDERR response.
- Try a generic read command on your data table, using the CECI transaction. If the cross-memory services of shared data tables can be used, you see a normal response.
- To restore interregion communication between the two CICS regions,
open the connection again. To do this, you can enter the command:
CEMT SET IRC OPEN