Adds a NetBIOS node entry to the node directory. The NetBIOS communications protocol is used to access the remote node.
This command is available on OS/2, Windows NT, and Windows 95 only.
Authorization
One of the following:
Required Connection
None. Directory operations affect the local directory only.
Command Syntax
>>-CATALOG--+-------+--NETBIOS NODE--nodename--REMOTE--server-nname--> '-ADMIN-' >---ADAPTER--adapter-number-------------------------------------> >-----+---------------------------------+-----------------------> '-REMOTE_INSTANCE--instance-name--' >-----+----------------------+----------------------------------> '-SYSTEM--system-name--' >-----+--------------------------------+------------------------> '-OSTYPE--operating-system-type--' >-----+-------------------------+------------------------------>< '-WITH--"comment-string"--'
Command Parameters
Examples
db2 catalog netbios node db2netb1 remote db2inst1 adapter 0 with "A remote NetBIOS node"
Usage Notes
The database manager creates the node directory when the first node is cataloged (that is, when the first CATALOG...NODE command is issued). On an OS/2 client or a Windows client, it stores and maintains the node directory in the instance subdirectory where the client is installed. On an AIX client, it creates the node directory in the DB2 installation directory.
List the contents of the local node directory using LIST NODE DIRECTORY.
Note: | If directory caching is enabled (see the configuration parameter dir_cache in GET DATABASE MANAGER CONFIGURATION), database, node, and DCS directory files are cached in memory. An application's directory cache is created during its first directory lookup. Since the cache is only refreshed when the application modifies any of the directory files, directory changes made by other applications may not be effective until the application has restarted. |
To refresh the CLP's directory cache, use TERMINATE. To refresh DB2's shared cache, stop (db2stop) and then restart (db2start) the database manager. To refresh the directory cache for another application, stop and then restart that application.