Error in procedure creation
Hi,
I am creating the procedure but getting the following error. I could not identify where the exact problem at line 5:
Oracle 11.2.0
SQL> CREATE OR REPLACE PROCEDURE BEDPOST_SATYA
2 (TRANDATE OUT BEDPOSTCHECK.TRANDATE%TYPE,
3 NOS OUT BEDPOSTCHECK.NOS%TYPE,
4 UNIT OUT BEDPOSTCHECK.TRANDATE%TYPE,
5 TDATE VARCHAR2(20);)
6 AS
7 Select to_char(SYSDATE-1,'YYYYMMDD') into TDATE from dual;
8 cursor satya is
9 select trandate,nos,unit from bedpostcheck where trandate=tdate;
10 begin
11 open satya;
12 loop
13 fetch satya
14 into trandate,nos,unit;
15 exit when satya%notfound;
16 dbms_output.put_line (trandate || unit || nos);
17 end loop
18 close satya;
19 END BEDPOST_SATYA;
20 /
Warning: Procedure created with compilation errors
SQL> SHOW ERRORS;
Errors for PROCEDURE JEEVADB.BEDPOST_SATYA:
LINE/COL ERROR
5/15 PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character
thanks
satya
user608405 wrote:
I have modified but getting the following errors:
SQL> CREATE OR REPLACE PROCEDURE BEDPOST_SATYA
2 (TRANDATE OUT BEDPOSTCHECK.TRANDATE%TYPE,
3 NOS OUT BEDPOSTCHECK.NOS%TYPE,
4 UNIT OUT BEDPOSTCHECK.TRANDATE%TYPE,
5 TDATE VARCHAR2(20))
6 AS
7 Select to_char(SYSDATE-1,'YYYYMMDD') into TDATE from dual;
8 cursor satya is
9 select trandate,nos,unit from bedpostcheck where trandate=tdate;
10 begin
11 open satya;
12 loop
13 fetch satya
14 into trandate,nos,unit;
15 exit when satya%notfound;
16 dbms_output.put_line (trandate || unit || nos);
17 end loop
18 close satya;
19 END BEDPOST_SATYA;
20 /
Warning: Procedure created with compilation errors
SQL> show errors;
Errors for PROCEDURE JEEVADB.BEDPOST_SATYA:
LINE/COL ERROR
5/15 PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
7/1 PLS-00103: Encountered the symbol "SELECT" when expecting one of the following: begin function pragma procedure subtype type <an identifier> <a double-quoted delimited-identifier> current cursor delete exists prior external language The symbol "begin" was substituted for "SELECT" to continue.
8/8 PLS-00103: Encountered the symbol "SATYA" when expecting one of the following: := . ( @ % ;try this or the prior posting that i have.
CREATE OR REPLACE PROCEDURE BEDPOST_SATYA (TRANDATE OUT BEDPOSTCHECK.TRANDATE%TYPE,
NOS OUT BEDPOSTCHECK.NOS%TYPE,
UNIT OUT BEDPOSTCHECK.TRANDATE%TYPE) As
cursor satya is
select trandate,nos,unit
from bedpostcheck
where trandate = (SYSDATE-1,'YYYYMMDD');
begin
open satya;
loop
fetch satya into trandate, nos, unit;
exit when satya%notfound;
dbms_output.put_line (trandate || unit || nos);
end loop;
close satya;
END BEDPOST_SATYA;
/
Similar Messages
-
RC-00118: Error occurred during creation of database
adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
The environment settings are as follows ...
ORACLE_HOME : /u04/d01/tech_st/11.2.0
ORACLE_SID : JCLONE
TWO_TASK :
PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
The log information will be written to
/u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
Creating the control file for JCLONE_oracle database ...
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
Database mounted.
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-01119: error in creating database file
'/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oracle
sDbDomain : jtl.co.ke
sDbPort : 1524
sDbSid : JCLONE
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:595)
Current database Version is 11.2.0.2
Apps Version is 11.5.10.2
RUP version is 6
Forms Patchset version is 19
Please advise how to resolve this error ?
Regards
Mohammed.Please refer to these docs/links.
Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
RC-00118: Error occurred during creation of database Raised by oracle.apps.
Hi Experts,
Please note i am doing the clonning from production to test server.
Production Server -
1. Run the adpreclone.pl on the apps & db tier.
2. run the autoconfig on the apps and db tier.
3. shut down the production instance.
4. Moved the files and started the clonning process on the db tier i am getting the below issue.
My current E-Business Suit Version is R12.0.4 Database Version is 10.2.0.3. Operating system is SUN SPARC 64 BIT SUN SOLARIS 10.
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : proddb
sDbDomain : clientdomain
sDbPort : 1530
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Wed Mar 21 18:09:54 WAT 2012
The environment settings are as follows ...
ORACLE_HOME : /erptestdata2/u01/d01/tech_st/10.2.0
ORACLE_SID : TEST
TWO_TASK :
PATH : /erptestdata2/u01/d01/tech_st/10.2.0/perl/bin:/erptestdata2/u01/d01/tech_st/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPARC-Enterprise/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
LD_LIBRARY_PATH : /erptestdata2/u01/d01/tech_st/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/erptestdata2/u01/d01/tech_st/10.2.0/ctx/lib:/erptestdata2/u01/d01/tech_st/10.2.0/lib32
Executable : /erptestdata2/u01/d01/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/log/TEST_proddb/adcrdb_TEST.txt
Creating the control file for TEST_proddb database ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:09:54 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:10:16 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : proddb
sDbDomain : clientdomain
sDbPort : 1530
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
Please advise ASAP.
Regards
Mohammed.Nikki,
Check alert<SID>.log file for more details about the error.
It looks like that the source database was not cleanly shutdown before copying the files to the target node. Please do the following and check then:
SQL> connect / as sysdba
SQL> startup mount;
SQL> recover database using backup controlfile until cancel;
-- type CANCEL
SQL> alter database open resetlogs; If the above does not help, then shutdown the source database normally (make sure it is down), re-copy the files and start the cloning process again. -
How to find error in pkg creation
Hi
I have 30 packages to be created for a new user, i call in the execute_pkg.sql which creates all the 30 packages.
i use like this
sql> set echo on
sql> set spool execute_pkg_spool.txt
sql>@execute_pkg.sql
sql> spool off
My questions:
I find it difficult to figure out the which pkg was not created, at present the spool file is too big with the pkg code in it
create or replace package test1....
Warning: Package Body created with compilation errors.
i wanted the output like this
test1
Warning: Package Body created with compilation errors.
is this possible.
Can you pls suggest me how to get it.
Regards
YramFirst, you will need to use
set echo offin the SQL script that you use to create your packages.
Second, add some "prompt" statements to your SQL script that creates the packages so that you see the name of the package being created.
Third, you will need to use the -s (silent) option to SQL*Plus and call the script from the command line. Like this:
sqlplus -s hr/hr @john.sqljohn.sql is the file that contains my creation statements. In my test, it was this:
set echo off
spool john.out
prompt creating foo
create or replace procedure foo as
begin
null;
invald_statement;
end;
prompt creating bar
create or replace procedure bar as
begin
null;
please_fail;
end;
prompt creating xyz
create or replace procedure xyz as
begin
null;
end;
spool off
exitAnd my output file looks like this after running:
creating foo
Warning: Procedure created with compilation errors.
creating bar
Warning: Procedure created with compilation errors.
creating xyz
Procedure created.Now, I can log into sql*plus and use the show errors command to see what's wrong (or if you want, include the "show errors" command in the sql script after each creation statement, and the errors will be in the log file)
C:\>sqlplus hr/hr
SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 26 10:09:16 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show errors procedure foo
Errors for PROCEDURE FOO:
LINE/COL ERROR
4/1 PL/SQL: Statement ignored
4/1 PLS-00201: identifier 'INVALD_STATEMENT' must be declared
SQL> John -
While opening the iTune Store i receive the following error, "The procedure entry point ADAdPolicyEngine_DidEnterSation could not be located in the dynamic link library iAdCore.dll" Please help me to clear this error.
I faced the same issue. This solved it for me: Troubleshooting issues with iTunes for Windows updates
Hope this helps. -
Error occured during creation of oracle snapshot
Dear All,
I am getting error messange in my SAP Inbox in t.code SBWP.
In SBWP, the nessage text is as follow.
=============================
Error occured during creation of oracle snapshot (Creation aborted)
(Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
Oracle snapshot creation program aborted
Error while copying from oracle view to SAP table
Oracle view SAP$KCBFWAIT
SAP table ORA_SAPKCBFWAIT
Return code (ORA-....) 942
You tried to work with the name of a table or view that does not exist in the database
The table does not exist on the database. A table name or view name was used that does not exist on the database.
===============================
I also check in T.Code SLG1, but i am not getting the reason for this error.
Regards,
NisitHi,
Check each of the following :
the spelling of the table or view name.
that a view is not specified where a table is required.
that an existing table or view name exists.
Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
Regards
Krishna -
Error during PO creation "Total BED % rate exceeds 100 % "
Hi.
Its concerned to Indian Excice.
Error during the creation of PO is " Total BED % rate exceeds 100 % " ,
( Message no. 8I453).
And you pls note in J1ID its 16% maintained for that perticular chapter id and its 100% for BED in tax code.
Can you pls tell me the reason for this error.
RegdsHi Santosh,
362 is not maintained for BASB,but its maintained for condition type JMO1(IN:A/P BED Deductable) & JMO2(IN: A/P BED non deduct )in <b>AltCTy</b> field.
And For BASB 605 is maintained in the field AltCBV.
Can you Pls explain the significance of this alternative calculation type.
Regds -
I have Windows Vista computer. I am trying to upgrade my ITunes so can share files with other home computer. (Just got the new IPhone). I get this system error: The procedure entry point AVCFPlayerItemDurationChangedNotification could not be located in the dynamic link library AVFoundationCF.dll. Tries system restore and redownloaded...NOW Itunes will not even open. Can anyone help?
I uninstalled Apple Application Support, opened iTunesSetup with WinRar, and went down the list of msi's. AppleApplicationSupport was an install, all the others I did Repair. Did not have to reboot. Works okay now.
HTH -
Hi all,
I am getting an error in Jcos creation.This is tyhe error I am facing.I checked evrything.Evrything seems ok.But i am getting the belwo error.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=zimssap GROUP=PUBLIC R3NAME=PRD MSSERV=sapmsPRD PCS=1 ERROR timeout while pending for route completion TIME Tue Jan 06 20:21:50 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -12 DETAIL NiErrSet COUNTER 1
I configured sld so many times but never faced this issue.Some starnge error .Timeout oending for route completion.Please let me know what could be the problem?
Thanks and reagrds,
RajeshHi
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION:
RFC_ERROR_COMMUNICATION | Unknown host
RFC_ERROR_COMMUNICATION - time out
Thanks,
Tulasi -
Oracle R12 Clone failing with RC-00118 Error occurred during creation of...
Im encountering the above error message i have seen the below thread which looks like the same issue, i was wondering if someone could confirm if the clone process requires an off-line backup on the source system for the clone process to work. Currently i'm using a tape backup which runs overnight, the system is up at the time of backup.
RC-00118: Error occurred during creation of database
Thanksthanks for quick response, its a hot backup.
the steps ive followed are
1. adpreclone on source
2. apps,db,inst directories deleted on destination. (after services have of course been shutdown)
3. oracle variables removed from path
4. backup restored from tape
5. deleted program files/oracle/inventory directory
6. on cmd window run set PERL5LIB=
followed by perl adcfgclone.pl dbTier
is there anything ive missed? -
RC-00118: Error occurred during creation of databas
On 11.5.9 with windows, while running the clone with the following command:
perl adcfgclone.pl dbTier
The following error occurs:
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506616 bytes
Fixed Size 452152 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u1/TEST/testora/testdata/system01.dbf'
alter tablespace TEMP add tempfile '/u1/TEST/testora/testdata/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP add tempfile '/u1/TEST/testora/testdata/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.zexsa.com"
ERROR at line 1:
ORA-01109: database not open
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:658)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
I found note no. 375389.1 similar to this issue.
Any body guide me, about solution no-1, how i can apply it.
after running perl adcfgclone.pl dbTier
my DB is on above mentioned stage....SQL*Plus: Release 10.2.0.4.0 - Production on Sun Feb 13 21:52:19 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1271540 bytes
Variable Size 427821324 bytes
Database Buffers 633339904 bytes
Redo Buffers 11309056 bytes
Database mounted.
SQL> recover database using backup controlfile until cancel;
ORA-00283: recovery session canceled due to errors
ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [],
SQL> -
An error occurred during creation of the central repository. (BODI-300020)
I am trying to create a central repository for Data Service, the following error appear
Creating repository... (BODI-300026)
Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20002)
Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20002)
Reading SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20002)
Verifying repository... (BODI-300077)
Importing objects... (BODI-300036)
Adding Data Quality new substitution configuration... (BODI-300133)
An error occurred during creation of the central repository. (BODI-300020)
It's a sql DBMS, and the default user language is spanish, during the installation was the same issue.
The first installation user language was english and everything was ok, then the default user anguage was set to spanish and the jobs crashed because an english format was sent to the al_history table. I tried to recreate the repository and an error ocurrer during the creation.
has someone faced the same problem?what is the version of Data Services ? if its 12.2, then there was a bug that is fixed in 12.2 SP1 (12.2.1.0), apply the SP1 or it would be better if you apply the latest fix pack for 12.2 i.e 12.2.1.2
the problem was with date format used in insert was different than the user's default date format. -
Cloning Issue RC-00118: Error occurred during creation of database
Friends,
I execute following scripts on source system preclone.pl dbTier &perl adpreclone.pl appsTier
then take the cold source backup and transfer on another machine for cloning but when i am executing cloning script on db tier i am getting below mention error after 50% completion. I have very limited time and i cant go back on source system for fresh backup, please help me to sort out his issue.
-------------------ADX Database Utility Finished--------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyData
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDat
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyData
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier
at sun.reflect.NativeConstructorAccessorImpl.newInstan
at sun.reflect.NativeConstructorAccessorImpl.newInstan
at sun.reflect.DelegatingConstructorAccessorImpl.newIn rce)
at java.lang.reflect.Constructor.newInstance(Unknown S
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneP
at java.lang.Thread.run(Unknown Source)
Hopes you will support.
Regards
Irfan Ahmadplz check :
http://doganayn.blogspot.in/2013/11/rc-50004-fatal-error-occurred-in.html
Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 (Doc ID 375389.1)
Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)
Troubleshooting RapidClone issues with Oracle Applications 11i (Doc ID 364565.1)
Regards,
Haafiz -
Throw error during PO creation if a material is not extended to storage loc
Hi,
Users require for SAP to throw an error during PO creation if a material is not extended to the storage location that is entered on the PO.
Presently it neither gives warning or error message.
Please advise.
Regards,
PratapSAP does not validate that, if you want it, then you have to do such check in a user exit.
SAP can be customized to create the material master storage location segment itself when posting the goods receipt, so it is not necessary to check this in the PO.
Further this design speeds up the process, you can already order before others have finished the material master maintenance. -
I am trying to build an executible program that will be portable to machines which do not have CVI installed. It works fine on my CVI v9.1 system. However, whether or not I include "Full run-time support" in the build options, I get the error "The procedure entry point _UP_GetActiveTreeCell could not be located in the dynamic link library cvirte.dll" when I try to run it on a machine without CVI. Please help.
To run a CVI application on a system were the CVI IDE is not installed you need to have the CVI RunTime Engine installed. According to the error message at the bottom of this page you may have an older RTE installed in the target system.
To obtain it you can either download the RTE and install in the target system or better let the IDE build a distribution disk that installs all necessary software in it: this guide drives you in creating the appropriate installer for your application: you can find it also in CVI help function.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Maybe you are looking for
-
When I open a photo to edit it; why is it not high quality?
My photo is great when I open or view it in any other application. Why does it look low quality in pse 11? Also when I make edits and save them as jpegs, they look great again outside of pse11. Is there a setting I am missing?
-
I am getting an error message stating it cannot find the apps on my ipad.
I am getting an error message saying "iTunes cannot sync apps to iPad (name) because the apps installed on the iPad cound not be determined." I have logged out of iTunes on both iPad and in iTunes. Rebooted both iPad and computer then logged back in
-
Able to create new instances in Platform Edition 9.0?
According to the Platform Edition 9.0 docs http://docs.sun.com/app/docs/doc/819-3662/6n5s9hmtq?a=view , it is possible to create new instances using create-instance command. However, I encountered an invalid command error in asadmin when trying to in
-
Nokia X3 Problem n need Solution
Nokia X3 Problem n need Solution : the problem is,my nokia X3 ringtone sound so slow/soft... n the keypad button sound more strong then ringtone sound,n two of them at the full volume... but,i already put the volume to higher posible ( full volume ).
-
Ok here's the problem I have been using imovie 08 to import from a jvc gz155g hdd camcorder then exporting the finished product as a small movie with quicktime setting it to steaming-medium and the end result was fine but now I have switched to FCE a