PLS-00710: PRAGMA AUTONOMOUS_TRANS*Action cannot be declared here
Cause: The PRAGMA was declared in an inappropriate context. This PRAGMA has to be declared in the declarative section of a procedure, a function, a top level anonymous block.
Action: Remove or relocate the misplaced pragma.