Clearing Locked Applications in DB2

When developing queries and stored procedures, it is possible to lock up access to the database.  this can happen most frequently when autocommit is off, and a transaction is left hanging in a window.  If all else fails, the application that is causing the lockup can be identified and forced with:

LIST APPLICATIONS;
FORCE APPLICATION (<application number>);

The application number can be a comma separated list.

This entry was posted in DB2 and tagged , , , , . Bookmark the permalink.

NewPush has solutions to fit your business needs.  For more than a decade, our focus has been to take on the technical challenges that are the hardest and most time-consumming.  Our goal is to free up your resources to focus on the core activities of your business and to drive your business performance.  Please visit our main site at newpush.com for more information or call us at +1-303-423-4500.