This tutorial uses the demonstration application JCL supplied with your COBOL development system. The JCL application performs four functions:
- Uses the IDCAMS mainframe utility to delete from the catalog the data set created earlier, if it is already there.
- Runs a COBOL program that writes a simple data set, which is added to the catalog.
- Uses the IEBGENER mainframe utility to create a temporary data set.
- Runs a COBOL program that reads through the data set created in step 3 and displays it.