Home Company Information Consulting Course Catalog Contact Us Request a Quote Government Corporate
 


Profile


e-Catalog


Contact

Search

Cart
COBOL: Flow Control and Iteration

Course Status: Released
Course Language: English
Course Duration: 4 Hours
Deployment Options: Online, Interactive CDs, Network, Downloads, Intranet

Audience
Students wishing to learn COBOL or to review particular divisions or components of COBOL
Prerequisites
The previous courses in the COBOL curriculum
Course Aim
To introduce students to the use of flow control and iteration in structured programming
Learning Objectives
Explain the use of IF statements including ELSE, OR, AND, NOT, NEXT SENTENCE and CONTINUE.
Explain how to code simple conditions including RELATION, SIGN, CLASS, GO TO, and EVALUATE.
Explain modular programming using the PERFORM statement.
Explain data handling using STRING and UNSTRING statements, reference modification, qualifying data names, REDEFINES, INSPECT, and DATE/TIME.
Topics Covered
Using IF statements
-
The basic IF statement
- Compound conditionals
- NEXT SENTENCE or CONTINUE
- Hands-on: Coding an IF statement

Simple conditions
-
Relational operators
- The class and sign tests
- The GO TO statement
- The EVALUATE statement

Modular programming
-
Introducing the PERFORM statement
- PERFORM as a looping construct
- PERFORM VARYING
- Hands-on: Coding a loop using PERFORM

Data handling
-
The STRING and UNSTRING statements
- Referencing data
- The REDEFINES clause
- The INSPECT statement
- The DATE and TIME statements