Course Description
In this Enterprise COBOL online training course, you will learn the basics of Enterprise COBOL application development. Enterprise COBOL Programming Part 1 includes coding the four divisions, basic logic, data definition, and sequential I/O processing.
Once you have completed Enterprise COBOL Programming Part 1 the next course in this series is Enterprise COBOL Programming Part 2. The Enterprise COBOL Programming Part 2 course will enhance your COBOL programming skills by learning how to code and run COBOL programs that process and stores raw data, make appropriate use of copybooks, create new data sets using Transaction Master Logic, create complex reports, code tables, indices, subscripts, intrinsic functions, and appropriate compile options and learn how to use SEACH, SEACH ALL and PERFORM. Click here to learn more about Enterprise COBOL Programming Part 2.
In This Course You Will Learn:
- Describe and code the layout of a basic COBOL program
- Code COBOL programs with conditional and repetitive processing
- Code COBOL programs that read and write sequential files
- Compile, link and run COBOL programs using JCL.
Prerequisites
You need to know basic z/OS JCL for JES2 or JES3, and TSO/ISPF.
Outline
Module 00: Course Introduction
Module 01: Your First Enterprise COBOL Program
- What is Enterprise COBOL
- COBOL divisions
- Analyzing a sample COBOL program
- Column layout
- Exercise: First Program
Module 02: Compiling and Linking Your First Program
- Creating a Loadlib PDS
- Compile and Link PROC
- Compile and Link JCL
- Exercise: Compile Program
Module 03: Running Your First Program and Helpful References
- Compile, Link and GO PROC
- Enterprise COBOL IBM Manuals
- Language Environment IBM Manuals
- Exericise: Run Program
Module 04: Identification Division, Load Libraries and Documentation
- Coding the Identification Division
- Load Libraries and CSECTs
- Self-Documentation
- Exercise: Identification Division
Module 05: Data Division Essentials: Part 1
- The four sections of the DATA division
- Naming COBOL Variables/Identifiers
- Level Numbers
- Group and Elementary Items
- Picture Clauses
- Value Clause
- Exercise: Data Division Part 1
Module 06: Data Division Essentials: Part 2
- Numeric Edited Pictures
- Figurative Constants
- Data Continuation
- Numeric and Alphanumeric Literals/Values
- Exercise: Data Division Part 2
Module 07: Data Division Essentials: Part 3
- FILLER and Implied FILLER
- Blank When Zero
- Justified
- QUALIFICATION - for Duplicate Variables
- REDEFINES
- WORKING-STORAGE Layout
- Exercise: Data Division Part 3
Module 08: COBOL Numbers
- COBOL Numbers
- Hexadecimal in COBOL
- Data Representation
- USAGE IS DISPLAY - EBCDIC
- USAGE IS COMP-3
- Big Decimal Numbers - 31 Digits
- Exercise: COBOL Numbers
Module 09: Procedure Division Essentials: Arithmetic and Assignment
- ADD
- SUBTRACT
- MULTIPLY
- DIVIDE
- COMPUTE
- MOVE
- Exercise: Arithmetic and Assignment
Module 10: Procedure Division Essentials: Conditions, 88's and IF's
- Conditions
- Numeric and Alphabetic Class Tests
- IF and Nested IF
- Coding and Setting 88's
- Exercise: Conditions
Module 11: Procedure Division Essentials: Looping with PERFORM
- IN-LINE PERFORMs
- OUT-OF-LINE PERFORMs
- Referencing Modification - Substring
- Exercise: Looping
Module 12: Structured Programming Concepts Part 1
- Structured Programming Concepts
- Modular Programming
- Functional Decomposition
- Pseudocode
- Structured Code
- Meaningful Names
- Exercise: Sequential I/O
Module 13: Structured Programming Concepts Part 2
- More Functional Decomposition
- Pseudocode
- Structured Code and Meaningful Names
- Testing
- Exercise: Structured Programming
Module 14: Sequential File I/O
- I/O Processing
- SELECT...ASSIGN...
- FD - File Definition
- OPEN and CLOSE
- READ and READ INTO
- WRITE and WRITE FROM
- A Sample Program for Sequential I/O
- Sample JCL
Module 15: Course Summary