Name cannot defined be locally when a global constant of the same name has been used in the procedure.
30
Cause . . . . . : When a global constant has been used as the parameter for a keyword in a declaration statement, the name cannot be defined within the procedure.
Recovery . . . : Move the definition of the local constant above the usage in the keyword, or change the name of the local definition so that it is not the same as the name of the global constant.