COBOL II Differences
|Duration: 2 days|
|Participants: Application programmers, analysts, project leaders, and others who are making the transition from OS/VS COBOL to COBOL II.|
Upon successful completion of this course you will be able to:
- Develop COBOL II programs that use the new structured capabilities of COBOL II and are easily maintained and debugged.
- Convert COBOL '68 and COBOL '74 programs to COBOL II.
- Debug programs using COBOL II's new and modified facilities for abends and logic errors.
- Write reentrant COBOL II programs that exploit the capabilities of MVS/XA and MVS/ESA.
- This course is designed to update COBOL programmers in the use of VS COBOL II. New and changed commands are presented, with hands-on machine exercises given to reinforce the lecture material. A list of eliminated commands are given, with suitable "work-arounds" presented where typically desirable. Related MVS JCL changes are presented. Highlighted in this course is the new approach to logic that VS COBOL II provides. For the first time, COBOL programs can be implemented using good structured techniques and "contained" units of code.
- If your students are making a transition from OS/VS COBOL to COBOL II and also need to strengthen their structured programming skills, we can meet their needs by combining this course with our Structured Programming with COBOL II workshop.
- A three-day class, with additional workshops, is strongly recommended, especially if students are not already well-grounded in OS/VS COBOL.
|Prerequisites: COBOL 68 or 74 programming experience is required. Knowledge of MVS JCL and TSO/ISPF is recommended.|
|Format: Lecture and discussion with hands-on exercises.|
- Introduction to VS COBOL II
Highlights of changes
Overview of new IBM manuals
- Structured Programming Enhancements
Explicit scope terminators
Do-Until logic structure
CASE logic structure
- Implementing New Logic Structures
Designing structured programs
Pitfalls to avoid
Using the COBOL Structuring Facility to structure "unstructured" programs
- Eliminated Facilities and Commands
Eliminated and changed COBOL verbs
- New and Enhanced Facilities and Commands
Increased size limits
Changes in data definition and storage
Prohibited verb table
Table of abbreviations and synonyms for verbs
Passing data vs passing addresses
CALL BY CONTENT
CALL BY REFERENCE
CONTINUE vs NEXT SENTENCE
Extended VSAM support
- MVS/XA and ESA Support
Running below or above the 16-megabyte line:
DATA(24) and DATA(31)
IMS support and limitations
- JCL Facilities
Linkage editor options, statements, and libraries
Runtime options and libraries
- Converting COBOL Programs
Conversion functions handled by COBOL Conversion Aid (CCA)
Functions that must be performed manually
Batch vs interactive execution of CCA
Pitfalls to avoid in converting programs
- Debugging Facilities
COBTEST - ISPF Option 4
Modified control blocks
Impact of RENT