This course will cover I/O processing, conditional testing, arithmetic operations, table handling, subprogram concepts and linkage conventions. The course will cover structured programming using the new COBOL for MVS constructs for Do groups (inline performs), Dowhile, Dountil, Selection (IF THEN ELSE) and Case (evaluate). This course is current to the latest release of COBOL for MVS/VM but can be taught for any predecessors.
Upon completion of the course each participant should have:
- An understanding of each of the COBOL Divisions: Identification, Environment, Data, and Procedure.
- Knowledge of good programming techniques in COBOL II. Inline performs (do groups), Evaluate (case), Perform with test after (dountil), Perform with test before (dowhile), If Then Else (selection), and sequence.
- An understanding of the basic I/O functions and verbs. Open, Close, Read, Write, Rewrite, Start, file organization, file access mode, fixed and variable length records processing.
- An understanding of the Arithmetic instructions and different numeric data types. Add, Subtract, Multiply, Divide, Compute Pic 9 data (external decimal), Comp-3 data (packed), and Comp data (binary).
- An understanding of table handling techniques. Table creation, searching tables, binary versus sequential searches, the SEARCH verb, indexing versus subscripting, and usage index data types.
- An understanding of the subprogram concept. Static versus dynamic calls, Parameter list and linkage conventions, By Content and By Reference, External data items.
5 Days/Lecuture & Lab
This course is designed for application programmers and systems analysts who are or will be using the COBOL 85 standard from COBOL for MVS thru Enterprise COBOL.
- COBOL divisions identification, environment, data and procedure
- Programming techniques in COBOL II in-line performs (do groups), evaluate (case), perform with test after (dountil), perform with test before (dowhile), if then else (selection) and sequence
- Basic I/O functions and verbs open, close, read, write, rewrite, start, file organization, file access mode, fixed and variable length records processing
- Table handling techniques table creation, searching tables, binary vs. sequential searches, the SEARCH verb, indexing vs. subscripting and usage index data types
- Subprogram concept static vs. dynamic calls, parameter list and linkage conventions, by content and reference, external data items