Oracle Error Message
RMAN-20016: virtual private catalog user cannot modify global scripts
Reason for the Error
A virtual private catalog user attempted to create, delete, or modify a global script. Virtual private catalog users cannot modify global scripts.
Solution
Connect to the catalog owner userid and retry the global script operation.