COBOL Programming Introduction - 5 Days
This course provides a thorough grounding in the COBOL programming language (ANSI-89). Also included is a brief introduction to Intrinsic Functions. It is a five-day course consisting of lectures, quizzes and practical exercises.
Contact us for pricing
PrerequisitesThe course is suited to those students who are programmers, or those students who have had experience of programming. For those students not programmed before, have no concept of program design or are from a non-technical background, the 10-day Introduction to COBOL Programming course is recommended.
AudienceThis course is intended for programmers who are new to the COBOL programming language and need to write and maintain programs, or programmers who are converting from another high-level language.
Course ObjectivesOn completion of this course, participants will be able to:
Make effective use of all main COBOL verbs and keywords.
Define and use internal and external data, correctly.
Use COBOL statements to process sequential files and non-sequential files.
Understand, create and process subscripted and indexed tables.
Use external subprograms.
Apply copy code to a program.
Use the FUNCTION keyword.
Write programs in a maintainable and efficient manner using structured code.
Test programs and, where necessary, debug them.
Introduction to COBOLDevelopment of COBOL.
Program translation: compilation, linkage editor.
Common compilation errors, compiler options.
Divisions of COBOL, COBOL syntax and format, COBOL character set, program source structure.
COBOL statement structureCOBOL words, format of statements.
File SectionFile description (FD)
Hierarchy and level numbers
The Usage clause
The Procedure DivisionFile status codes
File statements: Open, Read, Write, Close, Stop, Goback; Accept and Display
Qualification of data names
Perform statementOut-of-line, With test.....Until,.... Times, in-line statement
Go to statement.
Program designDescribes program design techniques, design considerations, procedure names, program structure.
Write statement with the advancing option
Environment Division clausesOther entries.
Condition testingConditional statements: IF statement, class condition, sign condition, relation condition, condition-name conditionals (level 88), Set statement for condition-names
Nested If statements
Logical operator - OR with AND
On Size Error option
Non-sequential filesFile access modes
Select for Indexed files
Select for Relative files