If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > How to solve this error?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-21-11, 02:08
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
How to solve this error?

-----------Source Code-------
SCHEMA custdemo

MAIN
DEFINE l_store_name LIKE customer.store_name

CONNECT TO "custdemo"

CALL select_name(101)RETURNING l_store_name
DISPLAY l_store_name

DISCONNECT CURRENT

END MAIN


-----error Display------
SQL statement error number -6366 (0).
Could not load database driver dbmdefault.



this error how to solve?
Reply With Quote
  #2 (permalink)  
Old 04-21-11, 15:45
marymurny marymurny is offline
Registered User
 
Join Date: Sep 2004
Posts: 32
How to solve this error

The error is coming from the application. I cannot locate the error with the informix applications. Can you verify what application tool you are using.
Reply With Quote
  #3 (permalink)  
Old 04-21-11, 19:14
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
im using genero studio application ....
Reply With Quote
  #4 (permalink)  
Old 04-22-11, 08:08
marymurny marymurny is offline
Registered User
 
Join Date: Sep 2004
Posts: 32
How to solve this error?

The error message indicates an error using driver dmbdefault. Which database version are you using, Informix, SqlServer, Oracle, etc. I need to install Genero to find out how it picks up the database type and version.
Reply With Quote
  #5 (permalink)  
Old 04-24-11, 20:38
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
im using informix database
Reply With Quote
  #6 (permalink)  
Old 04-25-11, 13:06
marymurny marymurny is offline
Registered User
 
Join Date: Sep 2004
Posts: 32
How to solve this error?

In the environment make sure that both Informix and Genero has been configured. I ran into the same error using fglschema when the informix environment was not set up. At a minimum make sure INFORMIXSERVER, INFORMIXSQLHOSTS and LD_LIBRARY_PATH is set.

Also run fglschema database name to create the schema file.

In the $FGLDIR/dbdrivers directory make sure the dbmifx*.so file exists.

I hope this helps.
Reply With Quote
  #7 (permalink)  
Old 04-25-11, 19:13
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
teach me how to set the INFORMIXSERVER, INFORMIXSQLHOSTS and LD_LIBRARY_PATH...because i 1st time using genero studio...

if $FGLDIR/dbdrivers directory dont have the file, how can get the file?

if can post some pic ><"
Reply With Quote
  #8 (permalink)  
Old 04-25-11, 21:02
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
in the directory file only have dbmifx9x.dll

i in the environment set place but i cant find the INFORMIXSERVER, INFORMIXSQLHOSTS and LD_LIBRARY_PATH
so i dont know where need to set the environment value....
Reply With Quote
  #9 (permalink)  
Old 04-26-11, 16:19
marymurny marymurny is offline
Registered User
 
Join Date: Sep 2004
Posts: 32
How to solve this error?

I am using Linux Suse with a csh shell.

setenv INFORMIXSERVER=ids11tcp
setenv INFORMIXSQLHOSTS=/home/informix/sqlhosts
setenv LD_LIBRARY_PATH ${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql:${INFORMIXDIR}/lib/tools:${INFORMIXDIR}/lib/c++:/usr/lib


I created the sqlhosts file in my home directory to use with either the tools or server. The fourth column for onsoctcp is the port used in the services file. The settings above will only work for Informix.

informix@linux11:~> cat sqlhosts
ids11 onipcshm linux11 ids11
ids11tcp onsoctcp linux11 ids11tcp
ids11tcp1 onsoctcp linux11 ids11tcp1

I hope this helps





informix@linux11:~>
Reply With Quote
  #10 (permalink)  
Old 04-26-11, 23:12
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
omg
im using windows TT
totally different with u ><""
Reply With Quote
  #11 (permalink)  
Old 04-27-11, 12:21
marymurny marymurny is offline
Registered User
 
Join Date: Sep 2004
Posts: 32
How to solve this error?

Not so different.

First find out if informix server is installed, If not then you will need to contact Fourjs for this issue.

From the start button click on programs, is IBM Informix Dynamic Server listed.

IF not I'm done.

However, FYI the sqlhosts file on Windows is in the registry.

The environment can be checked by going to a command prompt then type set.

If you created the database from the fourjs studio then it should be using fourjs database and not informix.

HTH!
Reply With Quote
  #12 (permalink)  
Old 04-27-11, 21:34
SoonLvu SoonLvu is offline
Registered User
 
Join Date: Apr 2011
Posts: 7
Thank You very much
Reply With Quote
  #13 (permalink)  
Old 06-15-11, 03:56
Kearm Kearm is offline
Registered User
 
Join Date: Jun 2011
Posts: 1
I am using Linux Suse with a csh shell.




_____________________
Healthy living every day! P90x Workout Videos,a good lifestyle !
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On