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
- 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.
- Run the SSC1 transaction to open the application customer
menu.
-
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.
-
In the Select Option field, enter 1 to inquire on
the customer.
The customer information is returned from Db2.
- Exit the application by pressing F3.
-
Run the SSC1 transaction again to add a customer to the database:
-
Enter the details for a new customer.
-
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.
- Run the SSP1 transaction to access the motor policy menu.
To check that you can access policy information:
-
In the Policy Number field, enter
00000000001. In the Cust Number field, enter
0000000002.
- 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.