Menu
CoddyTech

What Comes Next

Part of the Batch Jobs with JCL section of Coddy's COBOL Programming journey. Lesson 19 of 19.

Batch jobs are one side of mainframe work. Four names come up next, and this course runs none of them: they need a real z/OS system.

DB2 is IBM's relational database. COBOL programs read and update its tables with SQL written between EXEC SQL and END-EXEC, which are turned into calls to DB2 when the program is compiled.

CICS runs online transactions: a teller's screen sends a request, and a short COBOL program answers at once, using EXEC CICS commands for screens and data. Nightly batch jobs and CICS programs often share the same data.

VSAM is how z/OS stores indexed files: a KSDS, a key-sequenced data set, is what the indexed files of this course model. VSAM data sets are usually defined with the IDCAMS utility.

TSO/ISPF is the interactive side: TSO takes commands, and ISPF adds menus and the editor where people write JCL and COBOL, submit jobs and read their logs.

To go further, IBM's free Z Xplore program gives learners time on a real z/OS system, with challenges in JCL and COBOL.

challenge icon

Challenge

Easy

Write one last job: step LIST runs IEBGENER and prints the four names below. SYSUT1 is instream, SYSUT2 prints with the job, and SYSPRINT and SYSIN are dummy.

DB2
CICS
VSAM
TSO/ISPF

Try it yourself

//NEXT     JOB (ACCT),'CODDY',CLASS=A,MSGCLASS=X
//* Write step LIST here

All lessons in Batch Jobs with JCL

Practice on your own: Online COBOL compiler