QNTC environment variables

The network browsing behavior of QNTC can be controlled by two environment variables. Support for these environment variables began in i5/OS V5R4. Use the ADDENVVAR CL command to create these environment variables.

QZLC_SERVERLIST

When this environment variable is set to "2", all servers that appear in the /QNTC directory in the integrated file system can be accessed by QNTC. This was the default behavior before V5R4. When this variable is not set to "2" or has not been created, some servers that appear in the /QNTC directory might not be accessible.

QIBM_ZLC_NO_BROWSE

When this environment variable is set to "1", the /QNTC directory will only contain servers that were created with the CRTDIR CL command or mkdir() API. The performance of many operations against the QNTC file system will improve when this environment variable has been set. But all /QNTC directories need to be created using the CL command.

QIBM_ZLC_SMB_VERS

Valid QIBM_ZLC_SMB_VERS settings:
  • When the environment variable does not exist or is set to “0”, the QNTC file system will negotiate a suitable protocol version with the server.
  • When the environment variable is set to "1", the QNTC file system will only use the SMB/CIFS protocol.
  • When the environment variable is set to "2", the QNTC file system will only use SMB 2.
  • When the environment variable is set to "2.1", the QNTC file system will only use SMB 2.1 and support multi-credit operations, this can improve the performance of reading/writing operations.
  • When the environment variable is set to "3", the QNTC file system will only use SMB 3 and support the encryption of traffic between client and server, this can improve security of the QNTC file system.
  • When the environment variable is set to any other value, the QNTC operation will fail.
  • When the environment variable value is changed from 0 to another value, it may break connections if the support levels of QNTC and server are incompatible.
Note:

When the environment variable is set to "2" or a higher value, any connection attempts to servers only supporting the SMB/CIFS protocol will fail.