IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

-904 not received on open cursor but table space is stopped


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepa Sridharan

New User


Joined: 15 Mar 2012
Posts: 5
Location: india

PostPosted: Thu Mar 15, 2012 10:04 am
Reply with quote

Hi All,

Even though the table space and index space of the table in my query is in stopped status, I am not getting -904 in open cursor but only in Fetch. However, If i just modify the query to have a ORDER BY clause on a column which is not the primary key, then -904 is received on open cursor itself. Not sure why this is so. Can someone help me understand?

Thanks,
Deepa
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Mar 15, 2012 11:42 am
Reply with quote

Please check this out.

Effect of a temporary copy of a result table
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts MF professionals open positions Mainframe Jobs 0
No new posts Get RECORD LENGTH, allocated space of... CLIST & REXX 7
Search our Forums:


Back to Top