Oracle Error PLS-00711: PRAGMA string cannot be declared twice

Oracle Error Message

PLS-00711: PRAGMA string cannot be declared twice

Reason for the Error

The PRAGMA was declared twice in the same block.

Solution

remove the duplicate declaration of the PRAGMA