#!/bin/sh

#########################################################################
#									#
#	File Name	: egdb2switch					#
#	Author		: Shashi Bhusan					#
#	Creation date	: 02/11/2001					#
#	Modified on	:						#
#	Purpose		: Utility tool for DB2 UDB admin to switch on 	#
#			  all the default monitor switches. This script #
#			  must be run by DB2 UDB admin. The effect is	#
#			  is not immediate and database has to restarted#
#			  for effect to take place.			#
#########################################################################

# These commands will switch on the respective default 
# switches to ON in database manager configuration

db2 "update database manager config using  DFT_MON_STMT ON"
db2 "update database manager config using  DFT_MON_TABLE ON"
db2 "update database manager config using  DFT_MON_UOW ON"
db2 "update database manager config using  DFT_MON_BUFPOOL ON"
db2 "update database manager config using  DFT_MON_SORT ON"
db2 "update database manager config using  DFT_MON_LOCK ON"
 
# End of the script
