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

Question regarding DB2


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

New User


Joined: 06 Sep 2008
Posts: 6
Location: Mumbai

PostPosted: Fri Nov 28, 2008 7:23 pm
Reply with quote

When I'm running one query in DB2 it is giving the return sql code as -904. I know its a deadlock but I want to know who has taken the access of that particular table in the database.


Thanks Guys!!!
have a nice weekend and thanksgiving!!!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Nov 28, 2008 9:41 pm
Reply with quote

you can determine the 'particular table' by the extended sqlda display (DSNTIAR).

then determine who would access the table, either by process of elimination or give the dba's the date/time of the -904 and ask them to search their logs, they can provide you the user of the task that bounced you.
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 Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top