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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top