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 > 256: Transaction not available

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-05, 00:16
sundar_sms2001 sundar_sms2001 is offline
Registered User
 
Join Date: Jan 2005
Posts: 24
256: Transaction not available

Hi Friends,
I have installed informix IDS9.21 FC7 on Hp -UX machine.
but when i try to access tables from database, i am able to work
very proper through dbaccess, but not through isql.
i am gettting this error.

$isql system

set isolation dirty read;
select * from iivnd


the error is :
256: Transaction not available.

please advise/suggest me to fix this problem.


thanks

Sundar
Reply With Quote
  #2 (permalink)  
Old 02-22-05, 08:36
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
In order to have transactions (ie Begin...Commit) you must turn on logging for a given database.
__________________
Fred Prose
Reply With Quote
  #3 (permalink)  
Old 02-22-05, 17:21
sundar_sms2001 sundar_sms2001 is offline
Registered User
 
Join Date: Jan 2005
Posts: 24
how to turn on logging in informix

Hi Friends,
I am new to informix. I have installed and created databases , but
this problem i have been getting since last three days.
please tell me the command to turn on logging on the database.

thanks

sundar
Reply With Quote
  #4 (permalink)  
Old 02-23-05, 01:48
nitin_math nitin_math is offline
Registered User
 
Join Date: Nov 2004
Posts: 143
Hi,

Use ontape command for changing the logging mode like
ontape -s -L 0 -A or -B db_name

-A : set the following database(s) to ansi logging
-B : set the following database(s) to buffered logging

Bye
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