Skip to content

CBLDB22R did not generate correctly from course JCL #341

@frasertajima

Description

@frasertajima

Course Details

IBM Learning Platform

Description

Ran the zos.public.db2.jcl(db2setup) JCL to generate CBL and JCL files in VSCode (see page 39 of the COBOL Programming Course #3 3.2.0). The version of CBLDB22R.JCL generated by the course scripts is missing a four year old fix found in the corrected github repository:

//REPORT DD SYSOUT=*

Without the //REPORT, submitting the job results in file status 96 and IGZ0035S at runtime as well as an hour or two of debugging to fix something that was fixed four years ago!

Reproduction Steps

1.submit job for zos.public.db2.jcl(db2setup) and follow instructions on page 39 for the rest.
2.
3.
...

Additional Context

IGZ0035S There was an unsuccessful OPEN or CLOSE of file REPORT in program CBLDB22 at relative location X'1EE'.
Neither FILE STATUS nor an ERROR declarative were specified. The status code was 96.
From compile unit CBLDB22 at entry point CBLDB22 at compile unit offset +000001EE at entry offset +000001EE
at address 1B2011EE.

Error message using the course jcl (missing the //REPORT line).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions