473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

list applications only show one connection (catalog/uncatalog database)

Hi,
after uncatalog one database, and catalog again with other name, if I
try to connect
with this database, everything is ok, but list applications only show
me the
connection with the uncatalog/catalog database. After I disconnect from
this database,
list applications command show all instances connection.

Below I paste the situation.
This example is from DB2 UDB Version 8 WSE for Linux
Database server = DB2/LINUX 8.1.0

I get the same situation for DB2 UDB WSE Version 8
Database server = DB2/6000 8.1.6
Thanks in advance.
db2inst1@lnxvm03:~> db2start
SQL1063N DB2START processing was successful.
db2inst1@lnxvm03:~> db2 create database test01
DB20000I The CREATE DATABASE command completed successfully.
db2inst1@lnxvm03:~> db2 uncatalog database test01
DB20000I The UNCATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is
refreshed.
db2inst1@lnxvm03:~> db2 terminate
DB20000I The TERMINATE command completed successfully.
db2inst1@lnxvm03:~> db2 create database test01 on /data/db2Databases
DB20000I The CREATE DATABASE command completed successfully.
db2inst1@lnxvm03:~> db2 catalog database test01 as test03 on
/home/db2inst1
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is
refreshed.


db2inst1@lnxvm03:~> db2 connect to test01

Database Connection Information

Database server = DB2/LINUX 8.1.0
SQL authorization ID = DB2INST1
Local database alias = TEST01

db2inst1@lnxvm03:~> db2 list applications

Auth Id Application Appl. Application Id DB
# of
Name Handle Name
Agents
-------- -------------- ---------- ------------------------------
-------- -----
DB2INST1 db2bp 6 *LOCAL.db2inst1.078B22044607
TEST01 1
db2inst1@lnxvm03:~> db2 connect reset

db2inst1@lnxvm03:~> echo "CONNECT FROM ANOTHER LINUX SESSION"
CONNECT FROM ANOTHER LINUX SESSION
db2inst1@lnxvm03:~> db2 list applications

Auth Id Application Appl. Application Id DB
# of
Name Handle Name
Agents
-------- -------------- ---------- ------------------------------
-------- -----
DB2INST1 db2bp 8 *LOCAL.db2inst1.079EA2044807
TEST01 1
db2inst1@lnxvm03:~> db2 connect to test01

Database Connection Information

Database server = DB2/LINUX 8.1.0
SQL authorization ID = DB2INST1
Local database alias = TEST01

db2inst1@lnxvm03:~> db2 list applications

Auth Id Application Appl. Application Id DB
# of
Name Handle Name
Agents
-------- -------------- ---------- ------------------------------
-------- -----
DB2INST1 db2bp 9 *LOCAL.db2inst1.078B22044832
TEST01 1
DB2INST1 db2bp 8 *LOCAL.db2inst1.079EA2044807
TEST01 1

db2inst1@lnxvm03:~> db2 connect to test03

Database Connection Information

Database server = DB2/LINUX 8.1.0
SQL authorization ID = DB2INST1
Local database alias = TEST03

db2inst1@lnxvm03:~> db2 list applications

Auth Id Application Appl. Application Id DB
# of
Name Handle Name
Agents
-------- -------------- ---------- ------------------------------
-------- -----
DB2INST1 db2bp 10 *LOCAL.db2inst1.078B22044841
TEST01 1

db2inst1@lnxvm03:~>

May 10 '06 #1
0 2564

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jacob Pallapati | last post by:
Hi, I need to create an ODBC connection for one of my databases from the command line. I could use db2 catalog system odbc database source <my-database>. But I want to create a DSN with a name...
3
by: maricel | last post by:
Could somebody confirm the behavior of UNCATALOG & CATALOG command based on the following situation: There are two NODES on DB2 UDB v8.1, MYNODEA & MYNODEB. MYNODEA has two databases proda &...
11
by: Raquel | last post by:
UDB PE V8.0 on Win XP. I issue the following commands: 1. CONNECT TO SAMPLE USER db2adming USING xxxxx The output is: Database Connection Information Database server = DB2/NT 8.1.3...
4
by: Terry | last post by:
An error is generated when I try to create a nickname. System ====== DB2 8.1.4 federated database trying to connect to DB2 7.2.9 Local = DB2/6000 8.1.4 Remote = DB2/6000 7.2.9 Setup
3
by: Maellic | last post by:
Hi, The website I am working on is built with ASP.NET and connects to a SQL Server 2000 database. The web server and database are on the same machine. I have recently tried to modify the timeout...
1
by: Jordi | last post by:
Hi, I have a problem when accesing data with and ODBC provider under asp.Net applications. The question is that if I run the application in the same server where data is stored then data is...
16
by: peshekeedweller | last post by:
Using asp.net 1.1. vb.net 2003. I am trying to connect to a remote sql server 2000 on a virtual machine running windows 2000 server. I can connect through the server explorer in visual studio,...
3
by: %NAME% | last post by:
When using embedded SQL for db2 under solaris, you do not need to give username and password since the system will use your unix-login as default credential. However, with JDBC seems I always need...
10
by: jimjim | last post by:
HI, We have shifted our database from sqlserver2003 to sqlserver2005. 1. connection strings stored in web.config <!-- Machine name to connection string keys --> <add key="*777*"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.