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 > fglschema running error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-05, 12:21
dbrava dbrava is offline
Registered User
 
Join Date: Dec 2005
Posts: 3
Exclamation fglschema running error

I everyone. first time i do this ...

I get this problem, for wich i canīt find the solution

(UNIX)
$ fglschema patri_trab
Program stopped at 'schema.4gl', line number 179.
SQL statement error number -400.
Fetch attempted on unopen cursor.
Reply With Quote
  #2 (permalink)  
Old 12-16-05, 12:43
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
are you using FETCH OR FOREACH?

with FETCH you have to open the cursor
FOREACH opend the cursor automaticaly
Reply With Quote
  #3 (permalink)  
Old 12-20-05, 04:22
dbrava dbrava is offline
Registered User
 
Join Date: Dec 2005
Posts: 3
Unhappy fglschema (2)

Hello.
Thanks for your reply.

"Fglschema" is a informix "utility", not a program of mine, as you probably know.
I did some changes in the database (named "patri_trab") so, i have to run "fglschema patri_trab" before compile or run the apllication.
Any idea why this error hapens ?

A happy Christmas to all!
Reply With Quote
  #4 (permalink)  
Old 12-20-05, 06:20
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Please before run fglschema, set environment variable to connect for TCP/IP.

Gustavo.
Reply With Quote
  #5 (permalink)  
Old 12-28-05, 07:28
dbrava dbrava is offline
Registered User
 
Join Date: Dec 2005
Posts: 3
Unhappy FGLSCHEMA, yet !

I'm very sorry but that has nothing to do with the problem.
Any more suggestion ?
Thanks.
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