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 > DB2 > db2batch error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-08, 18:48
rajaryan4545 rajaryan4545 is offline
Registered User
 
Join Date: Nov 2007
Posts: 27
db2batch error

db2v8.2 fp7 solaris

when i am running a query using db2batch command i am getting the following error.
SQL0913N Unsuccessful execution caused by deadlock or timeout. Reason code
"". SQLSTATE=57033
SQL0501N The cursor specified in a FETCH or CLOSE statement is not open.
SQLSTATE=24501

but when i run the same query by puting it in a file(i.e db2 -tvf i/p.sql > o/p.out) it runs fine.

wat could be the possible reason for this difference?\

any help would be appreciated
thanks..
Reply With Quote
  #2 (permalink)  
Old 01-25-08, 03:16
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Have you tried it with the latest DB2 V8 FixPak? FP7 is rather old...
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 01-25-08, 04:13
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by stolze
Have you tried it with the latest DB2 V8 FixPak? FP7 is rather old...
That depends.

It might be 8.1 FP7 or it might be 8.1 FP14 (which is the same as 8.2 FP 7).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #4 (permalink)  
Old 06-19-09, 08:25
hansraj9898 hansraj9898 is offline
Registered User
 
Join Date: Jun 2009
Posts: 1
It might be 9.0
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