Preparing and running the Credit Check sample on z/OS
To prepare and run the Credit Check sample, perform the following steps:
- Create the VSAM data set that holds information about some example accounts. Do this by editing and running the JCL supplied in data set CSQ4FILE.
- Perform the steps in Preparing the sample applications for the CICS environment on z/OS. (The additional steps that we must perform if we want to use the IMS extension to the sample are described in The IMS extension to the Credit Check sample on z/OS.)
- Start the CKTI trigger monitor (supplied with IBM MQ for z/OS ) against queue CSQ4SAMP.INITIATION.QUEUE, using the CICS transaction CKQC.
- To start the application, start your CICS system and use the transaction MVB1.
- Select Immediate or Batch inquiry from the first panel. The immediate and batch inquiry panels are similar; Figure 1 shows the Immediate Inquiry panel.
- Enter an account number and loan amount in the appropriate fields. See Entering information in the inquiry panels for guidance on what information to enter in these fields.
Entering information in the inquiry panels
The Credit Check sample application checks that the data you enter in the Amount requested field of the inquiry panels is in the form of integers.
If you enter one of the following account numbers, the application finds the appropriate account name, average account balance, and credit worthiness index in the VSAM data set CSQ4BAQ:- 2222222222
- 3111234329
- 3256478962
- 3333333333
- 3501676212
- 3696879656
- 4444444444
- 5555555555
- 6666666666
- 7777777777
We can enter any, or no, information in the other fields. The application retains any information that you enter and returns the same information in the reports that it generates.
Parent topic: The Credit Check sample on z/OS