SQL/MP Programming Manual for COBOL

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL529758-003
6-21
-Wsqlconnect = mode
The -Wnld or -Wnld_obey flag directs the nmcobol utility to pass arguments to
the nld utility. In the previous example, the nld utility sets the maximum heap size
to 64 pages. For more information, see the nld and noft Manual.
-Wsqlconnect
This option instructs the compiler about which security mode must be used while
communicating with the NSK host. This option works with compilers supported on
windows operating system. For example: ecobol.
The syntax is:
-Wsqlconnect = mode
Where mode is:
Usage Considerations
This option requires both the -Wsqlhost and -Wsqluser options to be specified. If an
invalid value is specified, an error 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.
Note. Run the linker before SQL compiling the program.
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.