COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

-Wv
-Wverbose
file
is the source file name.
On the PC, you put these arguments in the -Wcobol flag
in the compilation command:
On the Guardian platform, you issue these commands
(if desired) before you issue the compilation command:
DEFINEname[=]valueDEFINE
1
SYMBOL-BLOCKS [=]countPARAM SYMBOL-BLOCKS count
2
1
For information about DEFINE, see DEFINEs (page 593)
2
For information about PARAM SYMBOL-BLOCKS, see PARAM SYMBOL-BLOCKS (page 528).
You can embed SQL/MP or SQL/MX statements in Native COBOL Cross Compiler for TNS/E
source code. Valid Native COBOL Cross Compiler for TNS/E source files have these extensions:
MeaningExtension
COBOL source code with or without embedded SQL/MP statements.cob or .cbl
COBOL source code with embedded SQL/MX statements.ecob or .ecbl
To complete SQL/MP or SQL/MX compilation, you must specify the host and the user logon.
Specifying the NonStop server location (Guardian subvolume or OSS directory) is optional. For
more information, see Using the Command-Line Cross Compilers on Windows.
The command-line interface allows you to create batch scripts for use on multiple platforms.
Linking
Native COBOL cross compiler linking is performed using Windows eld. The ETK provides a
GUI-based interface for you to select linking options. When you invoke eld through the command
line, you must specify the run-time libraries to eld. For information about Windows eld and eld
options, see the eld Manual.
Debugging
ETK Platform
Command-Line Platform
RUNV
ETK Platform
On the ETK Platform, debug native COBOL source code using Visual Inspect. After it is installed
on your workstation, you can configure Visual Inspect as an external tool (in the ETK).
Command-Line Platform
On the command-line platform, debug loadfiles that were compiled with the native COBOL cross
compiler either with Visual Inspect on Windows (some restrictions might apply for files containing
SQL/MX statements) or by running NativeInspect on the NonStop server. To use Native Inspect,
you must copy the loadfiles and the source files to the host (see PC-to-NonStop-Host Transfer Tools).
For information about Visual Inspect, see its online help. For information about Native Inspect, see
the Native Inspect Manual.
968 Native COBOL Cross Compiler on PC