I am observing weird behavior with db2 z/OS revoke operation.
Suppose I create a user, assign some privileges and try to drop a user or if I try to revoke some privileges, I get error "DB2 SQL Error: SQLCODE=-556, SQLSTATE=42504, SQLERRMC=USER3;CREATETAB; ON DSN00016;TESTJDBC, DRIVER=3.67.28" As per the error code, it means "Cannot revoke a privilege that the user does not possess".
But I see that privilege assigned to an user.
And if assign same privilege and then if try revoking it successfully revokes.
Help me with this