ORA-12012 / PLS-00225: Subprogram Or Cursor 'XYZ' Reference Is Out Of Scope
(Doc ID 1504495.1)
Last updated on AUGUST 29, 2017
Applies to:PL/SQL - Version 10.2.0.5 to 220.127.116.11 [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