Enterprise COBOL: Advanced
5 - 8 days
(Course length depends on the experience and background of the students.)
|Participants: Experienced programmers responsible for developing and maintaining COBOL application programs.|
Upon successful completion of 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).
|Overview: 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.|
|Prerequisites: Students need to have completed the Enterprise COBOL: Intermediate course, and have basic experience with z/OS JCL for JES2 or JES3, and TSO/ISPF.|
|Format: Lecture and hands-on computer workshops. Throughout the course, students perform many hands-on workshops and coding exercises to reinforce the material presented in lectures.|
- Multi-module CALLing and CALLed programs
Static and dynamic CALLs
GOBACK vs. STOP RUN vs. EXIT PROGRAM
JCL to compile and link static calls
JCL to compile and link dynamic calls
Passing parameter values into the main program
DATA compile option
Passing data by reference, by value, by context
- STRING, UNSTRING, INSPECT
Converting values into others
- Internal SORT
SD for SORT
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
- Variable length Records (RECFM=VB)
Why use VB
Different techniques for defining VB records
What is an XML document?
XML Parsing in COBOL
XML Generation in COBOL
- Intrinsic Functions
Other functions not already taught
- LE Callable Routines
Typical LE CALLs
- Highlights of COBOL 5 and 6 Differences