ORA-12012 / PLS-00225: Subprogram Or Cursor 'XYZ' Reference Is Out Of Scope
Last updated on AUGUST 29, 2017
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms