htalogo2.gif

Advanced Topics in COBOL - Course Objectives

On successful completion of this course, the student, with the aid of the appropriate reference materials, should be able to:

  1. Code COBOL mainline programs that CALL subroutines, passing arguments as necessary and code COBOL subroutine programs that are CALLed, receiving any passed parameters
  2. Explain the tradeoffs in deciding whether to use static or dynamic linkages when using external subroutines
  3. Define and process tables, including:
    1. Initializing tables using
      • VALUE or REDEFINES clauses
      • INITIALIZE statement
      • loops
      • extracting data from records in a file
    2. Working with tables of more than one dimension

  4. Process tables using subscripting, indexing, or mixing subscripting and indexing, also using relative subscripting and relative indexing
  5. Use the SET, SEARCH, and SEARCH ALL verbs as they apply to indexed tables
  6. Use the ALL subscript capability of intrinsic functions
  7. Work with variable length records in sequential files
  8. Use the string handling features of COBOL, including:
    1. Reference modification (sub-stringing)
    2. Hexadecimal notation
    3. LENGTH OF special register
    4. LENGTH intrinsic function
    5. INSPECT verb
    6. STRING verb
    7. UNSTRING verb
    8. Null-terminated strings

  9. Use additional advanced features of the newest IBM COBOL compilers, including
    1. Local-storage section
    2. Recursive programs
    3. Pointers, procedure-pointers, function-pointers, and the Address Of special register
    4. Dynamic file allocation

  10. (Optionally) use the COBOL SORT and MERGE verbs to sort or merge data sets.

 

These Materials © Copyright 2012 by Steven H. Comstock

Materials version: V3.x

 

Course description
Topical Outline
COBOL curriculum
Home page