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

How to Stop a DB2 query while in the execution


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

New User


Joined: 17 May 2006
Posts: 2

PostPosted: Tue Apr 24, 2007 8:30 pm
Reply with quote

I am running a query in QMF, and its taking long time, and getting millions of records. I want to stop the query. Please let me how to do it.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 8:49 pm
Reply with quote

Hello,

Call your dbas and ask them to to get rid of the long-running transaction.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1056
Location: Richmond, Virginia

PostPosted: Tue Apr 24, 2007 9:33 pm
Reply with quote

One of your keys should be coded as the ATTN key - try that - sometimes upper right.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 10:02 pm
Reply with quote

Hello,

That might free the terminal, but there are times when the query continues to run without interruption and must be dealt with "from inside".

Most 3270 emulators have a "Settings" clickable. Beneath Settings is usually a Keyboard selection. If you click on Keyboard, you should be able to see which of your keys is mapped to the 3270 ATTN key.
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 DB2 Query to get the count of Unique ... DB2 2
No new posts SAS Step execution statistics All Other Mainframe Topics 0
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 1
No new posts RC query -Time column CA Products 3
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
Search our Forums:


Back to Top