Set DBID so views work in sqlplus


CALL DBMS_RCVMAN.SETDATABASE(null,
null,
null,
2283997583,
null);

The fourth parameter must be the DBID of a database registered in the recovery catalog. The other parameters must all be NULL.