Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home
Jazz home  >  Papers & Training

IMAGE/SQL: Issues and answers concerning SQL tables

» 

Jazz home

»

Software

»

Papers & Training

»

Java

»

HP Partners

»

News & Events

»

Register for more info

Content starts here
Prev Page Next Page Manual Top Home Page


5.7 How do I use transaction timeout limits?



Key points


  • The timeout limit for a transaction is controlled by the SET USER TIMEOUT statement, and the MaximumTimeout and DefaultTimeout parameters in the DBECON file. The SET USER TIMEOUT statement specifies the amount of time a transaction will wait if a required database resource (such as a transaction slot, or a lock) is not available. You can set the timeout limit to MAXIMUM (in which case the MaximumTimeout value is used), DEFAULT (the DefaultTimeout is used), or to an explicit number of seconds or minutes. If an explicit number is specified, the value must be less than or equal to MaximumTimeout, or the statement will fail.

  • If you do not issue a SET USER TIMEOUT statement before you start a transaction, the timeout limit for the transaction is automatically set to the DefaultTimeout value.

  • The default value for MaximumTimeout is NONE, which means that a transaction will never timeout (that is, it will wait as long as is necessary to obtain a database resource). The default value for DefaultTimeout is MAXIMUM, which means that the MaximumTimeout is used as the default. These DBECON parameters can be modified in the START DBE statement, or by using the SQLUTIL ALTDBE command.

Prev Page Next Page Manual Top Home Page

Page last updated on November 29, 1995

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.