Message Oracle PLS-00115 - this PRAGMA must follow the declaration of string

ERRORthis PRAGMA must follow the declaration of string
CAUSEThe 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.
ACTIONCheck the spelling and declaration of the identifier. Also confirm that the declaration is placed correctly in the block structure.