SQL/MP Programming Manual for C

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for C429847-008
6-34
Using the c89 Utility in the OSS Environment
Where mode is:
Usage Considerations
The usage considerations for Wsqlconnect are:
This option requires both the -Wsqlhost and -Wsqluser options to be
specified. If an invalid value is specified, an error is returned.
If the value of -Wtarget is tns/r or mips, a secure connection is not
available.
If the -Wsqlconnect= secure_err is specified, an error is returned.
If the -Wsqlconnect= secure_warn is specified, a warning is returned.
Using the secure connection mode can increase the compilation time of
modules with embedded SQL/MP, by up to a factor of two. This is due to the
cost of performing encryption and decryption by using Secure Shell(SSH) or
Secure Sockets Layer(SSL), or both. (SQL/MP compilations use both SSL and
SSH.)
For more information about NSK security, see the Security Management Guide.
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
legacy Directs the compiler to connect using the legacy
(unencrypted) mode.
secure_quiet Directs the compiler to connect using the secure
(encrypted) mode. If a secure connection cannot
be established, the compiler uses the legacy
mode. This option does not generate any
diagnostics.
secure_warn Directs the compiler to connect using the secure
(encrypted) mode. If a secure connection cannot
be established, the compiler uses the legacy
mode. A warning message is generated when this
option is used. This is the default option.
secure_err Directs the compiler to connect using the secure
(encrypted) mode. If a secure connection cannot
be established, an error occurs, and the
compilation terminates.