PLW-06022
cannot use PRAGMA DEPRECATE on this entity
Cause
This entity cannot be deprecated. Deprecation only applies to entities that may be declared in a package or type specification as well as to top-level procedure and function definitions.
Action
Remove the pragma.