How to set db cfg to empty value

10 November,2011 by Tom Collins

How to set a DB2 LUW database cfg value to an  empty value use NULL.

note : It’s case sensitive. Using “null” will not work.

 An example of setting NULL:

update db cfg for MYDB using HADR_LOCAL_HOST  NULL

Not all DB2 db cfg items can be set to NULL. Every parameter has a set of valid values  from docs "USING config-keyword valueconfig-keyword specifies the database configuration parameter to be updated. value specifies the value to be assigned to the parameter" 

Check the documentation for the individual configurable 


Author: Rambler(


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 on How to set db cfg to empty value

Comments are moderated, and will not appear until the author has approved them. | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright