Oracle Error PLS-00710: Pragma string cannot be specified here

Oracle Error Message

PLS-00710: Pragma string cannot be specified here

Reason for the Error

The pragma was specified in an inappropriate context.

Solution

Remove or relocate the misplaced pragma. Check the documentation to determine the correct context for this pragma.