dbTalk Databases Forums  

CLI Application: Still "The database directory cannot be found" - why?

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss CLI Application: Still "The database directory cannot be found" - why? in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Almund Sebi
 
Posts: n/a

Default CLI Application: Still "The database directory cannot be found" - why? - 08-15-2003 , 07:23 AM






Hello everybody

I used SQLConnect() in my linux cli application to connect to a
datasource. But I get this Error

SQL1031N The database directory cannot be found on the indicated file
system. SQLSTATE=58031

I did a research on the net but didn't find anything that would help
me. I already recataloged the database. I ensured that the file
sqldbdir is readable to everyone. Other Applications connect to this
DB an use it without any problems. I run my cli app locally on the
server.

But SQLDataSources() is able to lists all Databases.

My cli code is called out of a java stored procedure.

Maybe someone can see what I missed?
Thank you very much.

Reply With Quote
  #2  
Old   
Almund Sebi
 
Posts: n/a

Default Re: CLI Application: Still "The database directory cannot be found" - why? - 08-18-2003 , 05:20 AM






When I execute the very same methods using a simple java program, it
works correctly.
It fails to find the database directory only if the code is used by a
stored procedure.

Any help is appreciated.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.