866.224.4968
Computer Business International, Inc.,
is an on-site or virtual, hands-on
instructor led
Db2 for z/OS
education, training and consulting
company
with over 30 years of Db2 experience.
This fundamentals class covers the use of structured COBOL programming techniques to design, code and test COBOL programs
Duration: 5 Days, hands - on Labs.
Audience: This course is designed for application programmmers and systems analysts who are or will be using COBOL 85 standard from COBOL for MVS thru Enterprise COBOL.
Prerequisites: A background in Introduction to Data Processing, a background in using an editor, job submission and looking at the output. Basic TSO/ISPF skills.
History and Versions of COBOL
Structure of a COBOL Program
COBOL Language Structure
Coding Rules in COBOL
COBOL Method Definitions
Example of a simple program structure
Lab: Create our first program
Variables, Literals and Figurative Constants
Define the variable, literals, and figurative constants
Data types in COBOL
Level Numbers in COBOL
DISPLAY and MOVE in COBOL
Moving a value to an identifier in COBOL
Records and Files
Fields,Structures,PICTURE
Working-storage
Lab: Working storage in a program
Loop Control
Using OPEN, READ, WRITE, CLOSE
File Handling
Record Building
Using GOTO, EXIT PROGRAM, STOP RUN, GO BACK
Look at Data Manipulation
Lab: Working with input/output options in a
ACCEPT statement with SYSIN and SYSOUT
DISPLAY and MOVE in COBOL
PERFORM UNTIL
Moving a Value to an identifier in COBOL
Move Mode and Locate Mode Processing
Buffers
End of File Processing
Data Element Naming
Lab: Working with DISPLAY/MOVE
Packed decimal data
Binary integer data
ADD
SUBTRACT
MULTIPLY
DIVIDE
COMPUTE
USAGE
Lab: Working with numeric data
IF-ELSE Statement
Example of IF-ELSE statement in COBOL
EVALUATE statement in COBOL
Different Types of EVALUATE statements
Example of EVALUATE Statement
Different Types of PERFORM Statements
REDEFINES and RENAMES
User-defined Classes
COPY Statement
Lab: Working with conditional processing
Different types of files in COBOL
Details about Sequential Files
Options for Sequential Files
File Handling - OPEN and READ
File Handling - WRITE and START
REWRITE, DELETE and CLOSE
Lab: Coding a Program using
String operations in COBOL
STRING operations detail
A Program to perform STRING Operations
Understand UNSTRING Operation
Sample UNSTRING Program
UNSTRING Operation detail
Analyze the output of the UNSTRING Operation
Lab: Code a PROGRAM to execute INSPECT
Definition of an array
Creating a one-dimensional array
Creating a two-dimensional array
INDEXED BY arrays
SUBSCRIPT in arrays
Difference between SUBSCRIPT and INDEX
Lab: Working with Arrays
Page Break Logic
Control Fields
Logic for Control Fields
Report Break Logic
End of File Logic
Report Dates
Line Counting
Lab: Using Page and Control Breaks