Task 10: Executing the COBOL program

You execute the COBOL program using JCL.

About this task

You can find a prebuilt version of the tutorial with your Decision Server installation on z/OS®:

  • ++HBRWORKDS++.SHBRJCL(HBRMTUT1), the JCL used to execute the COBOL program

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

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

Procedure

To execute the program:

  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.