You are on page 1of 4

COBOL Programming

Course No. 2200

Description Students will go in-depth to learn the four divisions of a COBOL program. Student knowledge is greatly enhanced
through the actual creation and execution of several small programs designed to reinforce lecture and in-class
discussions. Emphasis is placed on structured programming throughout the course.

Audience Individuals who are required to understand, develop, and maintain application programs written in COBOL.

Prerequisites Students should have an understanding of basic information systems concepts. No prior programming experience
is required. It would be helpful if the students were somewhat familiar with the installation’s compiling and
testing environment, since the course includes programming workshops.

Objectives • Become familiar with the structure of COBOL programs
• Experience compiling and testing a COBOL application program
• Create a COBOL program to process sequential files
• Learn and practice the application of Structured Programming constructs to COBOL programs
• Explore advanced topics such as subprograms and table handling

Major Topics • The Basic Elements of a COBOL Program
• Compiling and Testing
• Data Division Elements
• Procedure Division Elements
• Structured Programming
• Additional COBOL Elements
• Additional Topics

Duration 5 days
©2007-08 | Keane, Inc.

Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www.keane.com/education/
info@keane.com

Usage •  CLOSE •  USAGE Clause •  READ •  Display Usage •  WRITE •  Packed-Decimal Usage •  GOBACK •  Binary Usage •  STOP RUN •  Moving Between Usages •  RETURN-CODE •  Table of Allowable MOVEs •  Exercise . Linking •  Environment Division •  Compile and Link PROCs •  Data Division •  Linkage Editor Functions •  Variable Length Records •  Linkage Editor Files •  Describing Data •  Linkage Editor Options •  PICTURE Clause •  Linkage Editor Control Statements •  Compiling Procedures •  Linking the Program •  Compiler Files •  Static/Dynamic Compile/Link •  Compiler Options 6. Procedure Division •  Perform Times •  Statements and Sentences •  Perform Thru •  Paragraphs •  Inline PERFORM •  Sections •  Perform Until with Test Before •  Input/Output Statements •  Perform Until with Test After •  OPEN 7. Overview •  Perform Until •  Programming Life Cycle 4.I/O Statements •  Condition Names (88 LEVELS •  Switches •  Set to True •  Perform Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www. First Three Divisions •  Reference Modification •  Identification Division 5.com .keane.com/education/ info@keane. Course Contents 1. Branching •  Compiler JCL •  EXIT •  Code Optimization •  GO TO 3. Data Manipulation •  What is COBOL? •  VALUE Clause •  COBOL Evolution •  Numeric Literals •  COBOL/MVS •  Alphanumeric Literals •  COBOL Advantages •  Figurative Constants •  COBOL Limitations •  ACCEPT •  Research Support •  DAY-OF-WEEK •  COBOL Preparation •  DAY •  COBOL Structure •  DISPLAY •  COBOL Columns •  MOVE •  COBOL Lines •  Alphanumeric MOVE Examples •  COBOL Syntax •  Numeric MOVE Examples •  Summary •  INITIALIZE •  COBOL/MVS Eliminated Features •  INITIALIZE Examples 2.

Input •  Data Editing: Credits and Debits •  Procedure Division . Reports •  The SORT/MERGE Process •  Report Components •  SORT/MERGE Parameters •  COBOL Report Preparation •  SORT/MERGE Collating Sequence •  Data Editing •  Describing the Files •  Data Editing: Blank.com/education/ info@keane. Editing 12.Output •  Suppressing & Protecting •  RELEASE & RETURN •  Data Editing Characters .Floating •  Notes •  Paper Positioning •  SORT Special Registers •  Working Storage: Layout Definition •  JCL Considerations •  Working Storage: Header Layouts •  Merge Considerations •  Working Storage: Detail Line Layouts 14. VSAM File Handling •  Working Storage: Footer Layouts •  QSAM 10.SORT •  Data Editing: Dollar Sign.com . 8. Sorting & Merging 9. Table Handling •  IF-ELSE •  Table Handling •  CONTINUE •  Table Terminology •  NEXT SENTENCE •  Table Coding with REDEFINES •  Class Condition •  Building A Table (Data Division) •  Sign Condition •  Building A Table (Procedure Division) •  Relation Condition •  Table Lookup •  Condition-Name Condition •  PERFORM VARYING •  Table of Allowable Comparisons •  INDEXES •  Compound & Negated IF-ELSE •  SET Statement •  Compound Examples •  SEARCH Statement •  Truth Tables •  SEARCH ALL Statement •  EVALUATE 13. Comma. Minus. Plus •  Procedure Division . Period •  Procedure Division . Arithmetic •  VSAM •  COBOL Arithmetic •  VSAM Catalogs •  COBOL Arithmetic Options •  KSDS •  ADD •  ESDS •  SUBTRACT •  RRDS •  MULTIPLY •  Access Methods Services (IDCAMS) •  DIVIDE •  Sample Delete/Define for Tax Table •  COMPUTE •  Sample Load from Sequential File to KSDS 11. Called Modules •  COBOL/VSAM Considerations •  COPY Statement •  Indexed File (KSDS) •  REPLACE Statement •  Sequential File (ESDS) •  COBOL Modules •  Relative File (RRDS) •  CALL Statement •  File Status Code •  CALL Statement with Parameters •  Selected File Status Codes •  CALL Extensions •  Sample Environment/Data Division •  CALL Examples •  File I/O Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www.keane.

Advanced VSAM B. Intrinsic Function C.com . Batch Tracing Facility Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www.keane.com/education/ info@keane. •  Reading a Record •  Writing a Record •  Removing a Record Appendices A.