Oracle Error Message
PLS-00115: this PRAGMA must follow the declaration of ‘string’
Reason for the Error
The pragma refers to a PL/SQL object that was not declared or is not within the scope of the reference. Identifiers must be declared before they are used in a pragma; forward references are not allowed.
Solution
Check the spelling and declaration of the identifier. Also confirm that the declaration is placed correctly in the block structure.