im creating a procedure that makes a query on v$archived_log.


but it wont compile, it says
LINE/COL ERROR
-------------------- -----------------------------------------------------------------
3/5 PL/SQL: SQL Statement ignored
4/12 PLS-00201: identifier 'SYS.V_$ARCHIVED_LOG' must be declared
8/5 PL/SQL: Statement ignored

I dont want to create that procedure in the user sys.
So what can i do?