Prepare and running the Credit Check sample

 

To prepare and run the Credit Check sample, perform the following steps:

  1. 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.

  2. Perform the steps in Preparing the sample applications for the CICS environment. (The additional steps that perform if you want to use the IMS™ extension to the sample are described in The IMS extension to the Credit Check sample.)

  3. Start the CKTI trigger monitor (supplied with WebSphere MQ for z/OS) against queue CSQ4SAMP.INITIATION.QUEUE, using the CICS transaction CKQC.

  4. To start the application, start your CICS system and use the transaction MVB1.

  5. Select Immediate or Batch inquiry from the first panel.

    The immediate and batch inquiry panels are similar; Figure 1 shows the Immediate Inquiry panel.

    Figure 1. Immediate Inquiry panel for the Credit Check sample application
     CSQ4VB2              WebSphere MQ for z/OS Sample Programs
    
                            Credit Check - Immediate Inquiry
    
     Specify details of the request, then press Enter.
           Name . . . . . . . . .  ____________________
           Social security number  ___ __ ____
           Bank account name  . .  ______________________________
           Account number . . . .  __________
           Amount requested . . .  012345
     Response from CHECKING ACCOUNT for name : ____________________
           Account information not found
           Credit worthiness index - NOT KNOWN
     ..
     ..
     ..
     ..
     ..
     ..
     ..
     ..
     ..
     MESSAGE LINE
     F1=Help  F3=Exit  F5=Make another inquiry

  6. 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.

 

Parent topic:

The Credit Check sample


fg18500_