Hi Naveen,
You cannot use db2sid user to grant permission to itself. Use root user or any other super admin user to do so.
The grant command should have double quotes ("), as shown below.
db2pie 61> db2 "grant dbadm on database to user db2pie"
check below sap note.
Regards,
Prithviraj