7854  Reviews star_rate star_rate star_rate star_rate star_half

Enterprise COBOL Programming: Advanced

This is the third course of a multi-part series that teaches the basics of Enterprise COBOL application development. It focuses on multi-module programs using CALL and LINKAGE SECTION, internal SORT,...

Read More
Course Code ENT-COBOL-ADV
Duration 5 days
Available Formats Classroom

This is the third course of a multi-part series that teaches the basics of Enterprise COBOL application development. It focuses on multi-module programs using CALL and LINKAGE SECTION, internal SORT, Variable blocked record processing, STRING, UNSTRING, INSPECT, more intrinsic functions, LE functions and XML parsing and generation.

Skills Gained

As a result of taking this course, you will be able to:

  • Code main and subprograms and call subprograms from other programs, passing appropriate data
  • Pass data from JCL PARMs into your main COBOL program
  • Process VB records
  • Code internal SORTs and use a variety of advanced SORTING techniques.
  • Generate XML documents and parse XML documents (optional)

Prerequisites

Students need to have completed the Enterprise COBOL Programming: Intermediate course, and have basic experience with z/OS JCL for JES2 or JES3, and TSO/ISPF.

Course Details

Multi-module CALLing and CALLed programs

  • Linkage Section
  • Passing parameters
  • Static and dynamic CALLs
  • GOBACK vs. STOP RUN vs. EXIT PROGRAM
  • CANCEL
  • JCL to compile and link static calls
  • JCL to compile and link dynamic calls
  • Passing parameter values into the main program
  • AMODE, RMODE
  • DATA compile option
  • Passing data by reference, by value, by context

STRING, UNSTRING, INSPECT

  • Concatenating values
  • Parsing values
  • Converting values into others
  • Tallying

Internal SORT

  • SD for SORT
  • SELECT/ASSIGN
  • SORT statement syntax
  • USING and GIVING
  • INPUT and OUTPUT PROCEDURES
  • Special Registers for SORT
  • RELEASE and RETURN
  • Sorting a Working-Storage table
  • SORT compiler options

Variable length Tables and Advanced Table Topics

  • Dynamically loading variable length tables
  • SEARCH, SEARCH ALL
  • SSRANGE
  • Table efficiencies

Variable length Records (RECFM=VB)

  • Why use VB
  • VB architecture
  • Different techniques for defining VB records
  • AWO efficiency

XML

  • What is an XML document?
  • XML Parsing in COBOL
  • XML Generation in COBOL
  • CODEPAGEs

Intrinsic Functions

  • Date functions
  • Other functions not already taught

LE Callable Routines

  • Typical LE CALLs
  • Feedback area