ORA-12012 / PLS-00225: Subprogram Or Cursor 'XYZ' Reference Is Out Of Scope
(Doc ID 1504495.1)
Last updated on MARCH 04, 2022
Applies to:PL/SQL - Version 10.2.0.5 to 188.8.131.52 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Database job fails (ORA-12012) because of PLS-00225
Example of a job:
'begin schemaname.proc; end;'
Example of error stack:
ORA-12012: error on auto execute of job "SCHEMANAME"."PROC"
ORA-06550: line 1, column 761:
PLS-00225: subprogram or cursor 'SCHEMANAME' reference is out of scope
ORA-06550: line 1, column 756:
PL/SQL: Statement ignored
if the job worked previously and suddenly started failing, then a new object was created.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document