Samples for the IMS catalog

The IVP sets up the IMS catalog and provides sample application programs that verify that the IMS catalog is working as expected.

The IVP job IV_E319J performs the following actions to set up the IMS catalog:
  1. Delete any existing IMS catalog data sets
  2. Allocate new IMS catalog data sets
  3. Load the IMS catalog database
  4. Create an image copy of the IMS catalog data sets

During setup, you can define an alias name for the IMS catalog by specifying the IXUCATAL IVP variable, which sets the alias name on the ALIAS= parameter in the IMS catalog section of the DFSDFxxx member.

After set up is complete, the IVP job IV_O260J runs the DFSDDLT0 test application program, which verifies the content of the IMS catalog by retrieving the first 100 segments in the IMS catalog.

If the Java™ IVP feature is enabled, several O series jobs in the IVP provide four sample Java application programs that use the IMS catalog to read, insert, update, and delete data in the sample phone book database.

Two of the Java application programs, DFSCATS2 and DFSCATD2, use the type-2 IMS Universal drivers. DFSCATS2 uses SQL. DFSCATD2 uses DL/I.

The sample Java application programs CAT1GO and CAT2GO use the type-4 IMS Universal drivers. The application program CAT1GO uses SQL. The application program CAT2GO uses DL/I.

The following IVP jobs run the sample Java application programs:
  • IV_O261J O2 JOB - Run Java Sample (SQL - Type 2)
  • IV_O262J O2 JOB - Run Java Sample (DLI - Type 2)
  • IV_O275J O2 JOB - Run Java Sample (SQL - Type 4)
  • IV_O276J O2 JOB - Run Java Sample (DLI - Type 4)