SQL/MP Programming Manual for COBOL

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL529758-003
6-22
Running the Native COBOL Cross Compilers in a
PC Host Environment
HP_NSK_CONNECT_MODE
This environment variable is introduced in H06.25/J06.07 RVU and can be set to
any of the following values:
legacy
secure_quiet
secure_warn
secure_err
If the environment variable is set to any of the previous values, these values are used
by the compiler to set the connection mode. If the environment variable is set to any
other value, the compiler returns an error.
If both the –Wsqlconnect option is specified and the environment variable is set, the
value specified in the option overrides the value set in the environment variable.
Running the Native COBOL Cross Compilers in a PC Host
Environment
By using these tools, you can use native COBOL cross compilers to build embedded
SQL/MP applications on a PC:
HP Enterprise Toolkit—NonStop Edition (ETK), which provides a graphical user
interface (GUI)
Command-line interface in Microsoft Windows
HP Tandem Development Suite (TDS) on D-series servers
After building applications on a PC, you transfer them to the Guardian or OSS
environment of a NonStop server for use in production.
A native COBOL cross compiler enables you to build embedded SQL/MP applications
for execution on TNS/R systems. The native COBOL cross compiler for TNS/R uses
the nmcobol utility as its driver.
To perform SQL/MP operations on a PC, you must be connected to a NonStop host.
For information about using the native COBOL cross compilers, see:
ETK online help
Using the Command-Line Cross Compilers on Windows on the native COBOL
cross compiler CD or in the ETK online help under References
COBOL85 for NonStop Systems Manual