Hi Eugen,
SQL0796N
The grant of role role-name1 to role role-name2 is not valid as it would create a cycle.
Explanation
A role cannot be granted if it would create a cycle. The role role-name1 contains the role role-name2, possibly through another role, and so it cannot be granted to role-name2.
User response
If appropriate, to remove the potential for a cycle to be created, revoke the role role-name2 from role role-name1, or from whichever role contained in role-name1 that contains role-name2, then resubmit the statement.
Regards,
V Srinivasan