Programming Productivity Tools
C.2 Debugging Toolsfor Compaq COBOL Programs
Perform other functions, such as executing shell commands, examining
core
files, examining the call stack, or displaying registers.
The debugging examples in Section C.3 and Section C.4 focus on a sample
program, shown in Example C–1. One common program has been used, to
emphasize the portability of Compaq COBOL.
As you read the debugging sections that follow,refer to the code in Example C–1
to identify source lines.
The program, TESTA, accepts a character string from the terminal and passes it
to contained program TESTB. TESTB reverses the character string and returns
it (and its length) to TESTA.
Programming Productivity Tools C3