473,385 Members | 1,769 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,385 software developers and data experts.

DB SAMPLE

Ale
Ciao a tutti.
Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio
reinstallare ma durante l'installazione mi da il seguente errore:

nella finestra con scritto SQL1005N c'è scritto :
"Gli alias "SAMPLE" del database già esistono nel catalogo database locale o
di sistema.
SQL1013N Il nome alias di un database o il nome del database "SAMPLE" non è
stato trovato.
SQLSTATE=42705.

___________
Cosa dovrei fare ?
é come se ci fossero rimasti delgi elementi del DB SAMPLE, ma non so dove.

GRAZIE
Nov 12 '05 #1
5 7919
My Italian is not as good as the latin I learned at school or the French
that I speak but..
I think that when you "eliminato" the SAMPLE db you ran into problems,
so do on a command line:
db2start
db2 uncatalog db SAMPLE
db2 terminate
db2 list db directory
(the SAMPLE db should not list) If it does
db2 list db directory on <pat or drive>
(the SAMPLE db should not list)
If either command shows the SAMPLE db, then:
db2 catalog db on <path or drive>
db2 terminate
db2 drop db SAMPLE (If that works you're fine) If not because it does
not find the db, then:
db2 uncatalog db SAMPLE
db2 terminate.

All should now be fin and you can run the db2sampl command to recreate.
HTH, Pierre.

Ale wrote:
Ciao a tutti.
Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio
reinstallare ma durante l'installazione mi da il seguente errore:

nella finestra con scritto SQL1005N c'è scritto :
"Gli alias "SAMPLE" del database già esistono nel catalogo database locale o
di sistema.
SQL1013N Il nome alias di un database o il nome del database "SAMPLE" non è
stato trovato.
SQLSTATE=42705.

___________
Cosa dovrei fare ?
é come se ci fossero rimasti delgi elementi del DB SAMPLE, ma non so dove.

GRAZIE


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #2
Ale
Grazie, ma purtroppo li problema persiste!

"Pierre Saint-Jacques" <ps********@videotron.ca> ha scritto nel messaggio
news:3F**************@videotron.ca...
My Italian is not as good as the latin I learned at school or the French
that I speak but..
I think that when you "eliminato" the SAMPLE db you ran into problems,
so do on a command line:
db2start
db2 uncatalog db SAMPLE
db2 terminate
db2 list db directory
(the SAMPLE db should not list) If it does
db2 list db directory on <pat or drive>
(the SAMPLE db should not list)
If either command shows the SAMPLE db, then:
db2 catalog db on <path or drive>
db2 terminate
db2 drop db SAMPLE (If that works you're fine) If not because it does
not find the db, then:
db2 uncatalog db SAMPLE
db2 terminate.

All should now be fin and you can run the db2sampl command to recreate.
HTH, Pierre.

Ale wrote:
Ciao a tutti.
Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore:

nella finestra con scritto SQL1005N c'è scritto :
"Gli alias "SAMPLE" del database già esistono nel catalogo database locale o di sistema.
SQL1013N Il nome alias di un database o il nome del database "SAMPLE" non è stato trovato.
SQLSTATE=42705.

___________
Cosa dovrei fare ?
é come se ci fossero rimasti delgi elementi del DB SAMPLE, ma non so dove.
GRAZIE


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #3
Ale
Grazie, ma purtroppo li problema persiste!

"Pierre Saint-Jacques" <ps********@videotron.ca> ha scritto nel messaggio
news:3F**************@videotron.ca...
My Italian is not as good as the latin I learned at school or the French
that I speak but..
I think that when you "eliminato" the SAMPLE db you ran into problems,
so do on a command line:
db2start
db2 uncatalog db SAMPLE
db2 terminate
db2 list db directory
(the SAMPLE db should not list) If it does
db2 list db directory on <pat or drive>
(the SAMPLE db should not list)
If either command shows the SAMPLE db, then:
db2 catalog db on <path or drive>
db2 terminate
db2 drop db SAMPLE (If that works you're fine) If not because it does
not find the db, then:
db2 uncatalog db SAMPLE
db2 terminate.

All should now be fin and you can run the db2sampl command to recreate.
HTH, Pierre.

Ale wrote:
Ciao a tutti.
Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore:

nella finestra con scritto SQL1005N c'è scritto :
"Gli alias "SAMPLE" del database già esistono nel catalogo database locale o di sistema.
SQL1013N Il nome alias di un database o il nome del database "SAMPLE" non è stato trovato.
SQLSTATE=42705.

___________
Cosa dovrei fare ?
é come se ci fossero rimasti delgi elementi del DB SAMPLE, ma non so dove.
GRAZIE


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.



Nov 12 '05 #4
Pierre,

I don't know Italian, but if it's the problem I'm thinking of (DB2 does not
find sample in the database directory), you can tell this person to try

db2 catalog database SAMPLE
db2 terminate

if necessary,

db2 drop database SAMPLE
db2 terminate
db2sampl

Ale wrote:
Grazie, ma purtroppo li problema persiste!

"Pierre Saint-Jacques" <ps********@videotron.ca> ha scritto nel messaggio
news:3F**************@videotron.ca...
My Italian is not as good as the latin I learned at school or the French
that I speak but..
I think that when you "eliminato" the SAMPLE db you ran into problems,
so do on a command line:
db2start
db2 uncatalog db SAMPLE
db2 terminate
db2 list db directory
(the SAMPLE db should not list) If it does
db2 list db directory on <pat or drive>
(the SAMPLE db should not list)
If either command shows the SAMPLE db, then:
db2 catalog db on <path or drive>
db2 terminate
db2 drop db SAMPLE (If that works you're fine) If not because it does
not find the db, then:
db2 uncatalog db SAMPLE
db2 terminate.

All should now be fin and you can run the db2sampl command to recreate.
HTH, Pierre.

Ale wrote:
Ciao a tutti.
Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore:

nella finestra con scritto SQL1005N c'è scritto :
"Gli alias "SAMPLE" del database già esistono nel catalogo database locale o di sistema.
SQL1013N Il nome alias di un database o il nome del database "SAMPLE" non è stato trovato.
SQLSTATE=42705.

___________
Cosa dovrei fare ?
é come se ci fossero rimasti delgi elementi del DB SAMPLE, ma non so dove.
GRAZIE


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.


Nov 12 '05 #5
All if "il problemo persiste" then the problem persists and try this.
On a command line:
db2start
db2 drop db SAMPLE
If you get error saying it can't find the db or the directory then:
db2 list db directory
If the db SAMPLE does not show, then:
db2 list db directory on (the path or drive you created it on)
If it does not ist then it means there is no trace of the db in that
instance's directory. Could it be you created it in another instance?
Search for a file called "SQLDBDIR". It will be in a directory also
called SQLDBDIR which will be in the following path:
X:\instancename\SQLDBDIR\SQLDBDIR where X is the drive you installed on.
If you edit this, some info is in binary, and find the SAMPLE name, then
look at the instancename, it'S the one that owns the db.
If you do not find the SAMPLE name anywhere then you should be able to
create the SAMPLE db by going to a command line and do:
db2sampl

If none of this works, then I do not know what to do!!!!
Regards, Pierre.

Ale wrote:
Grazie, ma purtroppo li problema persiste!

"Pierre Saint-Jacques" <ps********@videotron.ca> ha scritto nel messaggio
news:3F**************@videotron.ca...
My Italian is not as good as the latin I learned at school or the French
that I speak but..
I think that when you "eliminato" the SAMPLE db you ran into problems,
so do on a command line:
db2start
db2 uncatalog db SAMPLE
db2 terminate
db2 list db directory
(the SAMPLE db should not list) If it does
db2 list db directory on <pat or drive>
(the SAMPLE db should not list)
If either command shows the SAMPLE db, then:
db2 catalog db on <path or drive>
db2 terminate
db2 drop db SAMPLE (If that works you're fine) If not because it does
not find the db, then:
db2 uncatalog db SAMPLE
db2 terminate.

All should now be fin and you can run the db2sampl command to recreate.
HTH, Pierre.

Ale wrote:

Ciao a tutti.
Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo
voglio
reinstallare ma durante l'installazione mi da il seguente errore:

nella finestra con scritto SQL1005N c'è scritto :
"Gli alias "SAMPLE" del database già esistono nel catalogo database
locale o
di sistema.
SQL1013N Il nome alias di un database o il nome del database "SAMPLE"
non è
stato trovato.
SQLSTATE=42705.

___________
Cosa dovrei fare ?
é come se ci fossero rimasti delgi elementi del DB SAMPLE, ma non so
dove.
GRAZIE


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.




--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #6

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

Similar topics

5
by: Alexandre | last post by:
Hi, Im a newb to dev and python... my first sefl assigned mission was to read a pickled file containing a list with DB like data and convert this to MySQL... So i wrote my first module which...
0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
6
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something...
1
by: Eliezer Figueroa | last post by:
Full Database System Sample? I want to know if there any good windows forms based database sample application that can be downloaded.I searched the MS site but most of the database samples are...
0
by: Ray Tayek | last post by:
hi, getting a: .\Stdafx.cpp : fatal error C1192: #using failed on 'i: nunit\samples\cpp-sample"' 'The filename, directory name, or volume label syntax is incorrect.' nunit is installed in...
6
by: zhif | last post by:
I installed IBM DB2 Database for Window (Ver. 9) before. Meanwhile, I installed the database SAMPLE. Because I forgot my password, I uninstalled later on. Several days ago, I reinstalled again....
5
by: Otto Wyss | last post by:
I've now been looking for a week for a simple but useful sample on how to get a list of entries (persons) via an XMLHttpRequest using Json/PHP on the server. So far I've found about a thousend...
69
by: raylopez99 | last post by:
They usually don't teach you in most textbooks I've seen that delegates can be used to call class methods from classes that are 'unaware' of the delegate, so long as the class has the same...
36
by: puzzlecracker | last post by:
Would someone explain why this declaration is illegal: class Sample<T> where T : Stream, class
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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.