Testing the general insurance application

To validate that your setup is correct, run the general insurance application using its 3270 interface.

About this task

The application has several transactions that you can run to access customer information and policies.

Procedure

  1. Run the LGSE transaction to build the control tables for the application.
    The transaction also clears out the shared temporary storage queue and the named counter server.
  2. Run the SSC1 transaction to open the application customer menu.
  3. In the Cust Number field, enter a number between 1 and 10 to browse the customer records and validate that the application can access the Db2® database.
    The application contains 10 customer records.
  4. In the Select Option field, enter 1 to inquire on the customer.
    The customer information is returned from Db2.
  5. Exit the application by pressing F3.
  6. Run the SSC1 transaction again to add a customer to the database:
    1. Enter the details for a new customer.
    2. In the Select Option field, enter 2 to add the customer record to the database.
    A unique customer number is allocated from the named counter server. The application adds the customer record to Db2 and the VSAM file in a two-phase commit. If the VSAM file update fails, the Db2 update is rolled back.
  7. Run the SSP1 transaction to access the motor policy menu. To check that you can access policy information:
    1. In the Policy Number field, enter 00000000001. In the Cust Number field, enter 0000000002.
    2. In the Select Option field, enter 1 to return the motor policy information from the database.

Results

The application is successfully set up and running in a single CICS® region. The application can access Db2 and write to VSAM files.