TNS/R Native Application Migration Guide
COBOL85 Migration Tasks
TNS/R Native Application Migration Guide—523745-001
4-10
Using the Inspect Debugger for Native COBOL85
Programs
•
FMAP
The FMAP directive causes the NMCOBOL compiler to produce a source file map,
which shows the fully qualified name and timestamp of the IN file and each file
specified by a SOURCE directive or COPY statement.
•
INNERLIST and NOINNERLIST directives
The INNERLIST and NOINNERLIST directives determine whether the compiler
lists the mnemonic version of each source statement immediately after that source
statement.
•
RUNNABLE directive
The RUNNABLE directive causes the NMCOBOL compiler to use the nld utility to
produce an executable object file if there were no compilation errors. This is not
the default. If you run the NMCOBOL compiler without the RUNNABLE directive
and no compilation errors occur, you can produce an executable object file by
running the nld utility separately. If you do this, you must specify the COBOL85
shared run-time library (ZCOBSRL) and Common Run-Time Environment shared
run-time library (ZCRESRL). ZCOBSRL and ZCRESRL reside in the active
subvolume $SYSTEM.SYSnn. For instructions for determining the active
subvolume, see the nld and noft Manual.
You must compile your native program with the RUNNABLE directive if you use the
SAVEABEND, NOSAVEABEND, or SUBTYPE directive.
For information on running the nld utility, see the nld and noft Manual.
Using the Inspect Debugger for Native
COBOL85 Programs
The Inspect interactive symbolic debugger handles TNS and native COBOL85
programs differently. For a native COBOL85 program, the Inspect debugger’s STEP
command is line-oriented. If the current statement is on a single line, the STEP
command steps to the next statement (that is, the debugger works as the command
STEP 1 V works for a TNS COBOL85 program). If the current statement is on the
same line as another statement or statements, the STEP command steps to the next
line on which a new statement starts. The Inspect debugger cannot step one sentence
in a native COBOL85 program (that is, the command STEP 1 S does not work).