Task 6: Executing the COBOL application

You execute the COBOL application using JCL.

About this task

You can find a prebuilt version of the tutorial with your Decision Server installation on z/OS®:
  • ++HBRWORKDS++.SHBRJCL(HBRMTUT2), the JCL used to execute the COBOL program

  • ++HBRWORKDS++.SHBRCOBS(HBRMTUT2), the COBOL program used to invoke the rule execution

  • ++HBRWORKDS++.SHBRCOBC(HBRLDAT2), the COBOL copybook

where ++HBRWORKDS++ represents the high-level qualifier assigned to the working datasets.

Procedure

  1. Submit the sample JCL.
  2. Check the output.

    The output should look something like this:

    **************EXECUTION RESULT *******************
    Borrower Name : John
    Loan Approved?: F
    Reject messages:
    The age exceeds the maximum.
    **************************************************

Results

You have now completed the tutorial.