Unit A: Combining Programs
Describes how to use subprograms. Covers using programs written in different languages. Explains types of program links. Discusses options for mixing older COBOL load modules.
| Subprograms and Interoperability
Format of the CALL statement. Choices of passing data to subprograms. BY VALUE and BY REFERENCE. Recursive programs and LOCAL-STORAGE. CALL ...RETURNING statement. Defining pointers. PROCEDURE-POINTER. |
| Program Linkage
Differences between static and dynamic calls. Resolving calls by the binder. Specifying addressing mode. Determining program residence. Mixing load modules. Using the IGZBRDGE macro. 31-bit operating requirements. Load module attributes. RES and RENT options. Overriding defaults. |
Unit B: Using Compilers
Covers adding compiler directives to the COBOL source code. Explains how to use the new compiler options.
| Compiler-directing Statements
Defining listing titles. Format of the TITLE statement. Controlling the amount of compiler output. CONTROL statement. Assigning compiler options in the source code. PROCESS compiler directive. |
| Compiler Options
Equivalent compiler options. Size restrictions. Compiler options SSRANGE, NOSSRANGE, RENT, DATA, FASTSRT, NUMPROC, WORD. |
Unit C: Debugging
Explains how to add debugging statements to the COBOL source. Explains the debugging compiler options. Describes debugging a program interactively using the Debug tool.
| Source Language Debugging
Tracing logic. Using the DISPLAY statement. USE FOR DEBUGGING clause. The DEBUG-ITEM special register. DEBUG compiler option. Compiler error codes. Controlling compiler error printing. FLAG, FDUMP, and DUMP compiler options. |
| Using TEST
Interactive debugging requirements. Adding source code hooks. The TEST compiler option. Conflicts between the TEST compiler option and DEBUG run-time. Types of debugging sessions. The TEST run-time format. Full screen session windows. Entering Debug Tool commands. |
|