You are on page 1of 5

casetool

'db' is not recognized as an internal or external command,


operable program or batch file.
C:\Program Files\IBM\SQLLIB\BIN>db2 catalog database training as remotedb at nod
e casetool
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory cache is
refreshed.
C:\Program Files\IBM\SQLLIB\BIN>db list db directory
'db' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\IBM\SQLLIB\BIN>db2 list db directory
System Database Directory
Number of entries in the directory = 3
Database 1 entry:
Database alias = SAIRA
Database name = SAIRA
Local database directory = C:
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
Database 2 entry:
Database alias = REMOTEDB
Database name = TRAINING
Node name = CASETOOL
Database release level = d.00
Comment =
Directory entry type = Remote
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =
Database 3 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = C:
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remotedb
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remoteDB
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remoteDB
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remoteDB
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remoteDB user casetool using samp
le
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remoteDB user casetool using samp
le
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 list node directory
Node Directory
Number of entries in the directory = 1
Node 1 entry:
Node name = CASETOOL
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = 19.168.24.29
Service name = 50000
C:\Program Files\IBM\SQLLIB\BIN>db2 list db directory
System Database Directory
Number of entries in the directory = 3
Database 1 entry:
Database alias = SAIRA
Database name = SAIRA
Local database directory = C:
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
Database 2 entry:
Database alias = REMOTEDB
Database name = TRAINING
Node name = CASETOOL
Database release level = d.00
Comment =
Directory entry type = Remote
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =
Database 3 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = C:
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to REMOTEDB user casetool using samp
le
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 uncatalog db remotedb
DB20000I The UNCATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory cache is
refreshed.
C:\Program Files\IBM\SQLLIB\BIN>db2 terminate
DB20000I The TERMINATE command completed successfully.
C:\Program Files\IBM\SQLLIB\BIN>db2 CATALOG DB TRAINING AS REMOTEDB AT NODE CASE
TOOL
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory cache is
refreshed.
C:\Program Files\IBM\SQLLIB\BIN>DB2 TERMINATE
DB20000I The TERMINATE command completed successfully.
C:\Program Files\IBM\SQLLIB\BIN>db2 list node directory
Node Directory
Number of entries in the directory = 1
Node 1 entry:
Node name = CASETOOL
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = 19.168.24.29
Service name = 50000
C:\Program Files\IBM\SQLLIB\BIN>db2 list DB directory
System Database Directory
Number of entries in the directory = 3
Database 1 entry:
Database alias = SAIRA
Database name = SAIRA
Local database directory = C:
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
Database 2 entry:
Database alias = REMOTEDB
Database name = TRAINING
Node name = CASETOOL
Database release level = d.00
Comment =
Directory entry type = Remote
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =
Database 3 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = C:
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to REMOTEDB user casetool using samp
le
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to remotedb user casetool using samp
le
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>DB2 TERMINATE
DB20000I The TERMINATE command completed successfully.
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to REMOTEDB user casetool using samp
le
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db2 connect to REMOTEDB user casetool-11 using s
ample
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "19.168.24.29". Communication function
detecting the error: "connect". Protocol specific error code(s): "10060", "*",
"*". SQLSTATE=08001
C:\Program Files\IBM\SQLLIB\BIN>db list node directory
'db' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\IBM\SQLLIB\BIN>db2 list node directory
Node Directory
Number of entries in the directory = 1
Node 1 entry:
Node name = CASETOOL
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = 19.168.24.29
Service name = 50000
C:\Program Files\IBM\SQLLIB\BIN>

You might also like