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 > dbaccess and SQL command files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-11-04, 18:06
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
dbaccess and SQL command files

We run Informix 7.3.1 on Solaris.

I have some SQL command files that I execute using dbaccess. If any of the statements fails (say, has syntax error or attempts to use a non-existent table etc) dbaccess continues executing subsequent statements to the end of file. Is there any way to tell dbaccess that it should stop after the first error, as command processors for DB2 and Oracle do?
Reply With Quote
  #2 (permalink)  
Old 02-25-04, 10:26
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: dbaccess and SQL command files

Quote:
Originally posted by n_i
We run Informix 7.3.1 on Solaris.

I have some SQL command files that I execute using dbaccess. If any of the statements fails (say, has syntax error or attempts to use a non-existent table etc) dbaccess continues executing subsequent statements to the end of file. Is there any way to tell dbaccess that it should stop after the first error, as command processors for DB2 and Oracle do?
Hi,

Please define environment variable DBACCNOIGN=1, then run dbaccess.

Gustavo.
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