DB2 block all connections to a database - svcename

23 March,2013 by Jack Vamvas

Taking a OFFLINE DB2 backup requires shutdown of all database  connections . Often you'll see the SQL1035N The database is currently in use  mesage. There are a number of workarounds to achieve the outcome of starting the OFFLINE backup, such as :


db2 force applications all 



 Sometimes the required outcome does not occur., particularly with very persistent connection attempts.


One method of blocking connections to the DB2 database server instance is to change the SVCENAME configuration parameter. This forces the attempted connections to all databases on the instance to fail. If you don’t want all connections to the database server instance to be blocked, do not use this method.

Once you’ve completed the OFFLINE backup , change the SVCENAME back to the original value .



 Read More

Force connections of a database in DB2

Author: Jack Vamvas(http://www.dba-db2.com)

Subscribe to DBA-DB2.com

Latest posts delivered to you daily

Delivered by FeedBurner

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment

Comments are moderated, and will not appear until the author has approved them.

dba-db2.com | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright