To get SAS/ACCESS to DB2 connection details use following commands in the server:
Sample output: (output copied from IBM website)
Node 1 entry:
Node name = LANNODE
Comment =
Directory entry type = LDAP
Protocol = TCPIP
Hostname = LAN.db2ntd3.torolab.ibm.com
Service name = 50000
Sample output: (output copied from IBM website)
System Database Directory
Number of entries in the directory = 2
Database 1 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = /home/smith
Database release level = 8.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname = montero
Alternate server port number = 29384
To List Node Directory:
db2 list node directorySample output: (output copied from IBM website)
Node 1 entry:
Node name = LANNODE
Comment =
Directory entry type = LDAP
Protocol = TCPIP
Hostname = LAN.db2ntd3.torolab.ibm.com
Service name = 50000
To List Database Directory:
db2 list db directorySample output: (output copied from IBM website)
System Database Directory
Number of entries in the directory = 2
Database 1 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = /home/smith
Database release level = 8.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname = montero
Alternate server port number = 29384
Comments
Post a Comment