Applying
Patches can create invalid objects. To get a quick count of the number
of existing invalids (if any), use the following select statement :SELECT COUNT(*) For a more detailed query, use the following script : SELECT OWNER, OBJECT_TYPE, COUNT(*) To recompile an individual object, connect to SQL*PLUS as the owner of the object (generally apps) and use one of the following depending on the object type : alter package <package_name> compile; (package specification) If the object compiles with warnings, use either of the following to see the errors that caused the warnings : ORselect * from user_errors where name = '<OBJECT_NAME>'; Another way to correct invalid objects is to run the adadmin utility as follows: UNIX OPERATING PLATFORM 1. Log in as APPS User : <applmgr username>/<applmgr password> 2. Start the adadmin-Utility from the Unix prompt with this command : adadmin The utility will then ask you a series of questions. 3. Under the Maintain Applications Database Objects Menu, select Compile APPS schema(s) This task spawns parallel workers to compile invalid database objects in your APPS schema(s). It uses the same parallel phases as AutoInstall. Also try running $ORACLE_HOME/rdbms/admin/ Within Applications, there is a script to compile INVALID objects - called ADCOMPSC.pls Arguments for ADCOMPSC.pls : 1 - Schema to run in 2 - Password for schema 3 - Check errors for objects starting with #3 NOTE: The order in which to compile Invalid Objects in schemas is SYS, SYSTEM, APPS and then all others. APPS_DDL and APPS_ARRAY_DDL should exist in all schema's. In case of an ORA-1555 error while running adcompsc.pls, restart the script. The script can be run as followed : cd $AD_TOP/sql Example : SQL> @adcompsc.pls apps apps % After the script completes, check for invalid objects again. If the number has decreased, but invalid objects still exist, run adcompsc.pls again. Keep running adcompsc.pls until number of invalid objects stops decreasing. If there are any objects still left INVALID, verify them by using the script 'aderrchk.sql' to record the remaining INVALID objects. 'Aderrchk.sql' uses the same syntax as 'adcompsc.pls'. This script is also supplied with the Applications. Send the aderrchk.sql to a file using the spool <file> command in sqlplus. e.g. sqlplus x/y @aderrchk.sql SCHEMA_NAME SCHEMA_PASSWORD % For objects which will not compile, try the following : select text This script will provide the script that creates the packages/recreates the packages. SQL>@packageheader select text |
compile invalid objects in an R12 APPS Environment
Subscribe to:
Post Comments (Atom)
ORA-00059: Maximum Number Of DB_FILES Exceeded in 19C database
When I am adding datafile to my 19C database facing the below error. SQL> alter tablespace DATA add datafile '/u01/data/data15.dbf...
-
How to clean FND_NODES table in R12.2.4 Step 1: Always apply the latest cloning patches to avoid all the bugs and fixes Step 2: ...
-
CONCURRENT MANAGER ISSUES IN APPS R12 Status code and Phase code for Concurrent requests Here is what the abbreviation for ...
-
Application version : R12.2.10 DB version : 19.17.0 ERROR APP-FND-01388: Cannot read value for profile option CONC_KEEP_BLANK_FILES in rout...
No comments:
Post a Comment