Create directories in the QNTC file system

Use the Create Directory (MKDIR) command or mkdir() API to add a server directory to the /QNTC directory.

Start of changeBy default, a QNTC directory is automatically created for all functional servers in the iSeries™ NetServer™ domain and the local subnet. Servers outside the local subnet or iSeries NetServer domain must be added using the MKDIR command or mkdir() API. For example: End of change

MKDIR '/QNTC/NTSRV1'

would add the NTSRV1 server into the QNTC file system directory structure to enable access of files and directories on that server.

You can also add the a new server to the directory structure by using the TCP/IP address. For example:

MKDIR '/QNTC/9.130.67.24'

would add the server into the QNTC file system directory structure.

Note:
  • By configuring iSeries NetServer for WINS, it is possible to automatically create directories for servers beyond your subnet.
  • If you use mkdir() API or the MKDIR CL command to add directories to the directory structure, they will not remain visible across IPLs. The MKDIR command or mkdir() API must be reissued after every system IPL.

If you prefer to add directories using the API or CL command, you can improve the performance of these commands by adding the environment variable QIBM_ZLC_NO_BROWSE, as in the following example:

ADDENVVAR ENVVAR(QIBM_ZLC_NO_BROWSE) VALUE(1) LEVEL(*SYS)

Start of changeThis environment variable causes the file system to bypass all network browsing when performing file operations.End of change

Related information
Make Directory (MKDIR) command
Make Directory (mkdir()) API