IBM z/OS Application Development

( Duration: 25 Days )

The z/OS Application Development traning course is designed to provide with an in-depth understanding of Application Development in a z/OS environment using COBOL, ISPF, JCL, DB2 and CICS.

The z/OS Application Development workshop is ideal for:

  • Anyone interested in learning COBOL programming




  • ISPF fundamentals - ISPF Option 2: editing files
  • Line commands, primary commands
  • Submitting IEBGENER JCL to copy a file
  • Using SDSF to view output

Introduction to COBOL

  • Simple program to read a record and print the record
  • COBOL Divisions
  • Select/assign statement
  • Field names
  • Simple Picture clauses and type
  • Basic Processing Logic
  • Move, perform, if statements
  • Compiling a program
  • Running a program with instructor provided JCL
  • Viewing the compile and execution output

Introduction to JCL

  • Types of JCL statements JOB, EXEC, DD
  • Job statement basics and syntax rules
  • Continuation, spaces, keyword and positional parameters
  • Exec statement: Name, Operation, PGM=
  • DD statement to read a file; Data set names, disposition shr
  • DD statement to output a file to the MVS spool
  • Relationship between the program and JCL

COBOL: Report Program

  • Write a program to read a record and print the fields in the record
  • Record layouts for input and output records: PIC X, 9
  • Level Numbers, Elementary and Group Items
  • If statements and the logic for headings
  • Internal versus External Decimal points and signs, Zero suppression, commas and dots
  • Single record numeric computations – add, multiply, subtract, divide, exponentiate
  • Computing results
  • If statements for selective computations
  • Numeric and non numeric moves
  • If statements and performs for selectively printing records
  • MVS run time abends SOC7, S0CB explained.
  • Common JCL Errors

JCL: Sequential Files

  • PDS versus Sequential files
  • Creating Sequential Files: Name, Unit, Space, Disp
  • DCB information, Fixed versus Variable files, Blocksize computation
  • Catalog Vs VTOC
  • IEFBR14
  • Review the relationship between JCL and program
  • TSO options 3.1, 3.2, 3.3, 3.4

COBOL: Report Program, Sorting and Control Break Logic

  • Printing totals and averages at the end of a report
  • Using redefines to switch between character and numeric presentation
  • Multiple If statements to translate codes
  • 88 levels
  • Nested If problems using the program to selectively print records
  • Printing the report in a specified order using COBOL sort, input and output procedures
  • Single control break logic to print subtotals and grand totals

JCL: IDCAMS, Condition codes, Libraries, Concatenation, Restart

  • IDCAMS Repro and Print
  • Instream Data
  • Condition Codes
  • Steplib, Joblib, Linklist
  • Concatenating Datasets and Libraries and blocksize problems
  • Restart on Job card
  • Temporary files
  • Tso Option 3.14 - search, 3.12 Compare

COBOL: Copybooks, Subroutines, JCL Parameters

  • Using copybooks
  • Calling a previously written subroutine
  • Writing a subroutine
  • Setting the return code from a Cobol program
  • Accessing the JCL parm from a Cobol program
  • Review relationship between program and JCL

VSAM Processing

  • Idcams Define Basics
  • Reading VSAM files sequentially and randomly
  • File status
  • Updating and deleting records in VSAM files
  • Loading records into newly created VSAM files
  • Adding records into existing VSAM files

COBOL: Packed fields, single dimension tables

  • Packed and binary fields
  • Loading a single dimension table from an external file
  • Program with single dimension tables for lookups using perform varying, search and search all
  • ABENDS S0C4, 1, 7 caused by subscript errors
  • Program to use a single dimension table for totals
  • Compile options

JCL: GDG, Procedures

  • Using a Generation Data Group for backup files
  • Creating JCL procedures to execute simple jobs
  • Creating JCL procedures to execute backups to a GDG
  • Creating JCL procedures to execute restores from a GDG using absolute and relative GDG versions
  • Overriding procedure JCL
  • Writing procedures with symbolics to restore the files
  • Restarting a job from a step within a procedure
  • Review the compile procedure in detail

COBOL: miscellaneous functions

  • Programs using Perform thru
  • Programs using Go To (and advice not to use this)
  • Programs using Perform thru and go to

COBOL: miscellaneous functions

  • Reference Modification
  • Initialize
  • Inline perform
  • Continue vs Next Sentence
  • End-if, end-perform
  • 88 levels and set statement
  • Evaluate
  • length of
  • Evaluate; perform with test after
  • Address of
  • Program to count the characters in a field
  • Program to print a report with names in title case using COBOL II techniques
  • Multiple level control breaks

JCL: Miscellaneous topics

  • New style condition code testing
  • Output JCL statement

COBOL: Files with Variable record length

  • Variable Length record files
  • Different record types
  • Repeating fields
  • Occurs Depending ON
  • Records are varying depending on...

JCL: Sorting

  • JCL sorting
  • Sortwk areas
  • Sortin,sortout
  • Sort control cards
  • Fields=(s,l,fm,order)
  • Multiple sort control fields
  • Sum fields= none

COBOL: Multi dimension tables, sequential match logic

  • Two dimension table processing for totals
  • Sequential match processing
  • Inspect
  • Internal COBOL table using redefinition


  • DB2 Data formats and their cobol equivalents
  • Optional and Mandatory columns
  • Select Statement
  • Insert, Update and Delete
  • Create table
  • Joins
  • Sum, Max, Avg, Min, Count functions
  • DB2 Substr, Concatenation
  • Date functions in select and where clauses year(column) and + years etc
  • Group by - control break functions and having clause
  • Subqueries - simple, correlated
  • Unions

COBOL and DB2:

  • Programming - Embedded SQL
  • One row, random read program
  • Exec Sql Include SQLCA, DCLGENs
  • Host Variables
  • Sqlcode
  • Precompile and bind functions
  • Run JCL- batch TSO
  • Selecting Variable Character fields
  • SQLCODES 0, 100, -805, -811, -818, -204, -206, -922


  • DB2 Cursors to read multiple rows
  • Null Indicators and sqlcode -305
  • Insert to load table
  • Length of Varchar fields and sqlcode -311
  • Proper date formats and sqlcode -180, -181
  • Update, Delete
  • Cursor for Update of
  • Indexes - normal, unique and clustered and sqlcode -903
  • Referential integrity and sqlcodes -530, -532
  • Commits, Locks and Deadlocks and sqlcode - 911, -913
  • Cursor with hold
  • Developing Cobol Stored Procedures

SQL Language Stored Procedures

  • Variable Definition
  • Assignment statement
  • Condition Processing
  • Loop Constructs
  • Handling Error Conditions
  • Handling Result Sets
  • User Defined functions
  • Triggers

Basic CICS Concepts

  • Build,Send,Return
  • Receive,Validate,Process Logic Flow
  • Pseudo-conversational vs conversational
  • Map coding
    • sets, maps, fields
    • attributes
    • stopper fields
    • lengths
    • initial
  • Menu program
    • Pfkeys
    • Attribute Manipulation
    • Send map
    • Asktime/Formattime
    • Send data
    • Return
    • Commarea
    • Receive
    • Validation
    • Security
    • XCTL

Intermediate CICS concepts

  • Inquiry, Change, Add Programs
    • Read, Read Update, Write, Delete VSAM file records
    • Single record screens
  • Link to a program
  • Linked from program

Advanced CICS concepts

  • Browse Program
    • Startbr, readnext/readprev, Endbr
    • Logic of scrolling
    • Temp Storage
  • Frset - No MDT processing

Miscellaneous CICS topics

  • CICS tables - PCT, PPT, FCT
  • Storage Violation

DB2 and CICS

  • SQL Processing in CICS programs
  • Declare cursors with OPTIMIZE parameter
  • Browsing data in a CICS program

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 4,000 Modules on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting http://encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.