Resolve Invalid length specified for Statement Error ORA-24373
Hi Can anyone help explain why I am getting the above error while trying to call a plsql program unit in an SQL query that supplies data to an oracle report.
The program unit compiles successfully in the plsql editor but a reference to it has been unsuccessful.
Regards
IWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
ATABLEALIASWOULDPROBABLYHELPTOO.
Similar Messages
-
Dashboard refresh - ORA-24373 invalid length specified for statement
Post Author: Reesy
CA Forum: Performance Management and Dashboards
I am getting the following error message in the log file "ORA-24373: invalid length specified for statement" when trying to refresh a metric via dashboard manager. The metric has been successfully refreshed previously. The only change that I am aware of is that more data has been added to the underlying database (Oracle 10g).
There are a number of different filters on the metric - some work ok - some give the above error.
Can anyone help?
CheersIWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
ATABLEALIASWOULDPROBABLYHELPTOO. -
I got Invalid name specified for BUFFER_POOL while importing data
Hi
i got an error : ORA-25126: Invalid name specified for BUFFER_POOL while i was importing data (impdp)
there are 2 instances on 2 servers
1st instance is a single instance ,running on AIX ,oracle version 10.2
and 2nd instance is RAC running on Solaris ,oracle version 11.2
i want to import from 2nd instance (11.2) to 1st instance (10.2)
here's my script
impdp username/password tables=schema1.main,schema1.address table_exists_action=replace remap_schema=schema1:test remap_tablespace=schema:test_space nologfile=y network_link=db_sourcei got an error above only schema1.main table but schema1.address was able to import
here's my log
ORA-39083: Object type TABLE failed to create with error:
ORA-25126: Invalid name specified for BUFFER_POOL
Failing sql is:
CREATE TABLE "TEST"."MAIN" ("Col1" VARCHAR2(1) NOT NULL ENABLE, "Col2" VARCHAR2(15) NOT NULL ENABLE, "Col3" VARCHAR2(13), "Col4" VARCHAR2(100), "Col5" NUMBER(2,0), "Col6" DATE, "Col7" VARCHAR2(1), "Col8" VARCHAR2(1), "Col9" DATE, "Col10" NUMBER(16,2)
. . imported "TEST"."ADDRESS" 317 rowshow can i solve this problem ?
thanks in advance.. :)I believe this is a known bug - see MOS Doc 9160088.8 (Bug 9160088 - 11.2 EXPDP to lower version errors on import (ORA-25126)) - open an SR with Support
HTH
Srini -
How do I resolve the "insufficient data for image" error for Adobe reader 11.0.04?
Hi Johnkel1524,
Please refer : http://helpx.adobe.com/acrobat/kb/insufficient-data-image.html
Also try updating to 11.0.5 and check. -
Work around/Alternate solution for Oracle error ORA-01460 and ORA-02063
After the installation of Oracle.DataAccess version 2.111.7.20, I get the following error.(the code worked fine with Oracle.DataAccess version 9.2.0.700 )
I have attached the error as well as the sample code.
ORA-01460 and ORA-02063 are known bugs in the new ODP but would like to know if there is any Work around/Alternate solution for this problem(other than
the use of stored procs)..
Thanks!
Error:
ORA-01460: unimplemented or unreasonable conversion requested
ORA-02063: preceding line from BSREAD_STAGINGRO at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)
at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
SampleCode
private bool isValidFieldData(string clientName, string fieldNumber, string uniqueID, string clientID)
using (OracleConnection mBSConnection = new OracleConnection(mBSConnectionString))
OracleDataReader oRdr = null;
OracleCommand Valid_FieldData_Command = null;
try
Valid_FieldData_Command = new OracleCommand();
Valid_FieldData_Command.Connection = mBSConnection;
Valid_FieldData_Command.CommandText = "SELECT uniqueid FROM EXTDB.BSData WHERE agencyid = :agencyid and agencyname=:agencyname AND fieldnumber =:fieldnumber AND uniqueid = :uniqueid";
Valid_FieldData_Command.Parameters.Add(":agencyid", OracleDbType.Varchar2, 255).Value = agencyID;
Valid_FieldData_Command.Parameters.Add(":agencyname", OracleDbType.Varchar2, 255).Value = agencyName;
Valid_FieldData_Command.Parameters.Add(":fieldnumber", OracleDbType.Varchar2, 255).Value = fieldNumber;
Valid_FieldData_Command.Parameters.Add(":uniqueid", OracleDbType.Varchar2, 255).Value = uniqueID;
mBSConnection.Open();
oRdr = Valid_FieldData_Command.ExecuteReader(); ->Error occurs here
The error occurs whenever the length of any of the parameter is increased. But there is no specific length where it is breaking down.
For example in this case, it breaks down with the given error if
agencyID > 8
agencyName > 6
fieldNumber > 9
uniqueid > 6The problem was mapping input parameter type.
VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't. -
Argument not specified for parameter error.(IIF) Report Builder 3.0
Hi, Im trying to set the font colour of text dynamically dependant upon the date.
This is using report builder 3.0 expressions. -I'm new to using expressions.
I want my expression to do this:
If less than or equal to today, RED,
If greater than today but less than today+30 days, yellow, (this is the confusing bit)
else Black.
My expression is this:
=IIF(Fields!Standard_Licence_Expiry.Value =< TODAY(),"Red",
IIF(Fields!Standard_Licence_Expiry.Value BETWEEN TODAY() and (DATEADD(DateInterval.DAY,30,GETDATE())),"Purple","Black")
However I keep getting the error:
The Color expression for the textrun ‘Standard_Licence_Expiry.Paragraphs[0].TextRuns[0]’ contains an error: [BC30455] Argument not specified for parameter 'FalsePart' of 'Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object)
As Object'.Hi BlakeWills,
Unlike T-SQL, there is no BETWEEN keyword in
SSRS expressions. So we can try the expression like below to achieve your requirement:
=IIF(Fields!Standard_Licence_Expiry.Value <=TODAY(),"Red", IIF(Fields!Standard_Licence_Expiry.Value > TODAY() and Fields!Standard_Licence_Expiry.Value < DateAdd(DateInterval.Day,30,Today()),"Yellow","Black"))
Please note that the Standard_Licence_Expiry field should be a date type data in the expression above. If it is a string type, we should use the expression below to replace the Fields!Standard_Licence_Expiry.Value:
cdate(Fields!Standard_Licence_Expiry.Value)
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
"Invalid printer specified" for 32bit Windows Service in 64bit Server
Hi All,
I'm having some issues with crystal reports.
My development environment:
Visual Studio 2008, 32bit Windows XP
Running environment:
Windows Server 2003 Service Pack 2 64 bit
Crystal Reports Basic Runtime for Visual Studio 2008 (x86)
I've created two applications: one is console application and one is windows service. Both application run same codes to print crystal reports to printers and run at 32 bit. I can have multiple instance of console application running without any issues. When I run the windows service version, the first time the service works fine. But after I restarted the windows server, the crystal report throw Sysstem.Runtime.InteropServices.COMException.
The detail of the exception is:
System.Runtime.InteropServices.COMException (0x80000201):
Invalid printer specified.
at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
at Company.PrintReport(ReportClass report, String printerName)
Both console application and windows service run at 32 bits. The user runs the service is domain controller who has admin permission. And the same problem happened on an web application hosted on IIS of the same server.
What I've done so far:
1. Set the printer option in the report to no printer
2. Try install the crystal report x64
3. For the windows service build for x86.
Please some one help me in this.
CheersThat is a rather strange issue.
Make sure you are killing the report object once you're doen with it. E.G;
Dim report as New ReportDocument
Protected Sub Page_load()
End Sub
Private Page_Unload()
report.close()
report.dispose()
GC.Collect
End Sub
//C# (on form open):
private void WebForm1_Init(object sender, System.EventArgs e)
if (boReportDocument != null)
boReportDocument.Close();
boReportDocument.Dispose();
GC.Collect();
// C# on form close
private void Page_Unload(object sender, EventArgs e)
if (boReportDocument != null)
{ boReportDocument.Close();
boReportDocument.Dispose();
GC.Collect();
If closing and disposing does not help, is htis happening on your dev computer or after you move that app to another server? -
Storage class specified for parameter error
I used gcc version 4.2.1
on Target: sparc-sun-solaris2.8
Configured with: /net/Src/Gnu/GCC/gcc-4.2.1/configure prefix=/usr/local/Gnu/Sol8 enable-languages=c,c++,fortran with-ld=/usr/local/Gnu/bin/ld with-gnu-ld with-as=/usr/local/Gnu/bin/as with-gnu-as with-ar=/usr/local/Gnu/bin/ar with-gnu-ar
Thread model: posix
to make a program which include some of standard system header file
Making the code gave this error message:
gcc -o resource_vector_test.o -c resource_vector_test.c
In file included from /usr/include/sys/select.h:51,
from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/sys/types.h:574,
from /usr/include/fcntl.h:39,
from resource_vector_test.c:2:
/usr/include/sys/time.h:345: error: redefinition of parameter '_RESTRICT_KYWD'
/usr/include/sys/time.h:344: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/time.h:395: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/sys/time.h:395: error: previous definition of '_RESTRICT_KYWD' was here
In file included from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/time.h:29,
from /usr/include/sys/time.h:416,
from /usr/include/sys/select.h:51,
from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/sys/types.h:574,
from /usr/include/fcntl.h:39,
from resource_vector_test.c:2:
/usr/include/iso/time_iso.h:110: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/time_iso.h:110: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/time_iso.h:111: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/time_iso.h:110: error: previous definition of '_RESTRICT_KYWD' was here
In file included from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/sys/types.h:574,
from /usr/include/fcntl.h:39,
from resource_vector_test.c:2:
/usr/include/sys/select.h:168: error: redefinition of parameter '_RESTRICT_KYWD'
/usr/include/sys/select.h:168: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/select.h:169: error: redefinition of parameter '_RESTRICT_KYWD'
/usr/include/sys/select.h:168: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/select.h:169: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/sys/select.h:169: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/select.h:172: error: redefinition of parameter '_RESTRICT_KYWD'
/usr/include/sys/select.h:172: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/select.h:173: error: redefinition of parameter '_RESTRICT_KYWD'
/usr/include/sys/select.h:172: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/select.h:173: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/sys/select.h:173: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/sys/select.h:174: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/sys/select.h:173: error: previous definition of '_RESTRICT_KYWD' was here
In file included from resource_vector_test.c:3:
/usr/include/unistd.h: In function '_exit':
/usr/include/unistd.h:292: error: expected declaration specifiers before '__NORETURN'
/usr/include/unistd.h:299: error: storage class specified for parameter 'fattach'
/usr/include/unistd.h:302: error: storage class specified for parameter 'fchdir'
/usr/include/unistd.h:303: error: storage class specified for parameter 'fchown'
/usr/include/unistd.h:306: error: storage class specified for parameter 'fchownat'
/usr/include/unistd.h:310: error: storage class specified for parameter 'fchroot'
/usr/include/unistd.h:314: error: storage class specified for parameter 'fdatasync'
/usr/include/unistd.h:322: error: storage class specified for parameter 'fdetach'
/usr/include/unistd.h:324: error: storage class specified for parameter 'fork'
/usr/include/unistd.h:326: error: storage class specified for parameter 'fork1'
/usr/include/unistd.h:327: error: storage class specified for parameter 'forkall'
/usr/include/unistd.h:329: error: storage class specified for parameter 'fpathconf'
/usr/include/unistd.h:332: error: storage class specified for parameter 'fsync'
/usr/include/unistd.h:337: error: storage class specified for parameter 'ftruncate'
/usr/include/unistd.h:339: error: storage class specified for parameter 'getcwd'
/usr/include/unistd.h:342: error: storage class specified for parameter 'getdtablesize'
/usr/include/unistd.h:344: error: storage class specified for parameter 'getegid'
/usr/include/unistd.h:345: error: storage class specified for parameter 'geteuid'
/usr/include/unistd.h:346: error: storage class specified for parameter 'getgid'
/usr/include/unistd.h:347: error: storage class specified for parameter 'getgroups'
/usr/include/unistd.h:349: error: storage class specified for parameter 'gethostid'
/usr/include/unistd.h:354: error: storage class specified for parameter 'gethostname'
/usr/include/unistd.h:356: error: storage class specified for parameter 'getlogin'
/usr/include/unistd.h:369: error: storage class specified for parameter 'getpagesize'
/usr/include/unistd.h:371: error: storage class specified for parameter 'getpgid'
/usr/include/unistd.h:373: error: storage class specified for parameter 'getpid'
/usr/include/unistd.h:374: error: storage class specified for parameter 'getppid'
/usr/include/unistd.h:375: error: storage class specified for parameter 'getpgrp'
/usr/include/unistd.h:381: error: storage class specified for parameter 'getsid'
/usr/include/unistd.h:383: error: storage class specified for parameter 'getuid'
/usr/include/unistd.h:385: error: storage class specified for parameter 'getusershell'
/usr/include/unistd.h:388: error: storage class specified for parameter 'getwd'
/usr/include/unistd.h:396: error: storage class specified for parameter 'ioctl'
/usr/include/unistd.h:397: error: storage class specified for parameter 'isaexec'
/usr/include/unistd.h:398: error: storage class specified for parameter 'issetugid'
/usr/include/unistd.h:400: error: storage class specified for parameter 'isatty'
/usr/include/unistd.h:402: error: storage class specified for parameter 'lchown'
/usr/include/unistd.h:404: error: storage class specified for parameter 'link'
/usr/include/unistd.h:406: error: storage class specified for parameter 'llseek'
/usr/include/unistd.h:411: error: storage class specified for parameter 'lockf'
/usr/include/unistd.h:413: error: storage class specified for parameter 'lseek'
/usr/include/unistd.h:416: error: storage class specified for parameter 'nice'
/usr/include/unistd.h:419: error: storage class specified for parameter 'mincore'
/usr/include/unistd.h:421: error: storage class specified for parameter 'pathconf'
/usr/include/unistd.h:422: error: storage class specified for parameter 'pause'
/usr/include/unistd.h:423: error: storage class specified for parameter 'pipe'
/usr/include/unistd.h:427: error: storage class specified for parameter 'pread'
/usr/include/unistd.h:430: error: storage class specified for parameter 'profil'
/usr/include/unistd.h:442: error: storage class specified for parameter 'pthread_atfork'
/usr/include/unistd.h:446: error: storage class specified for parameter 'ptrace'
/usr/include/unistd.h:451: error: storage class specified for parameter 'pwrite'
/usr/include/unistd.h:456: error: storage class specified for parameter 'rcmd_af'
/usr/include/unistd.h:458: error: storage class specified for parameter 'read'
/usr/include/unistd.h:461: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/unistd.h:461: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/unistd.h:462: error: storage class specified for parameter 'readlink'
/usr/include/unistd.h:466: error: storage class specified for parameter 'rename'
/usr/include/unistd.h:470: error: storage class specified for parameter 'renameat'
/usr/include/unistd.h:473: error: storage class specified for parameter 'resolvepath'
/usr/include/unistd.h:476: error: storage class specified for parameter 'rexec_af'
/usr/include/unistd.h:478: error: storage class specified for parameter 'rmdir'
/usr/include/unistd.h:481: error: storage class specified for parameter 'rresvport_af'
/usr/include/unistd.h:486: error: storage class specified for parameter 'sbrk'
/usr/include/unistd.h:489: error: storage class specified for parameter 'setegid'
/usr/include/unistd.h:490: error: storage class specified for parameter 'seteuid'
/usr/include/unistd.h:492: error: storage class specified for parameter 'setgid'
/usr/include/unistd.h:494: error: storage class specified for parameter 'setgroups'
/usr/include/unistd.h:495: error: storage class specified for parameter 'sethostname'
/usr/include/unistd.h:497: error: storage class specified for parameter 'setpgid'
/usr/include/unistd.h:499: error: storage class specified for parameter 'setpgrp'
/usr/include/unistd.h:500: error: storage class specified for parameter 'setregid'
/usr/include/unistd.h:501: error: storage class specified for parameter 'setreuid'
/usr/include/unistd.h:503: error: storage class specified for parameter 'setsid'
/usr/include/unistd.h:504: error: storage class specified for parameter 'setuid'
/usr/include/unistd.h:506: error: storage class specified for parameter 'setusershell'
/usr/include/unistd.h:508: error: storage class specified for parameter 'sleep'
/usr/include/unistd.h:510: error: storage class specified for parameter 'stime'
/usr/include/unistd.h:517: error: storage class specified for parameter 'symlink'
/usr/include/unistd.h:518: error: storage class specified for parameter 'sync'
/usr/include/unistd.h:527: error: storage class specified for parameter 'sysconf'
/usr/include/unistd.h:528: error: storage class specified for parameter 'tcgetpgrp'
/usr/include/unistd.h:529: error: storage class specified for parameter 'tcsetpgrp'
/usr/include/unistd.h:533: error: storage class specified for parameter 'tell'
/usr/include/unistd.h:538: error: storage class specified for parameter 'truncate'
/usr/include/unistd.h:540: error: storage class specified for parameter 'ttyname'
/usr/include/unistd.h:542: error: storage class specified for parameter 'ualarm'
/usr/include/unistd.h:544: error: storage class specified for parameter 'unlink'
/usr/include/unistd.h:547: error: storage class specified for parameter 'unlinkat'
/usr/include/unistd.h:550: error: storage class specified for parameter 'usleep'
/usr/include/unistd.h:553: error: storage class specified for parameter 'vfork'
/usr/include/unistd.h:556: error: storage class specified for parameter 'vhangup'
/usr/include/unistd.h:558: error: storage class specified for parameter 'write'
/usr/include/unistd.h:560: error: storage class specified for parameter 'yield'
/usr/include/unistd.h:566: error: storage class specified for parameter 'ftruncate64'
/usr/include/unistd.h:567: error: storage class specified for parameter 'lseek64'
/usr/include/unistd.h:568: error: storage class specified for parameter 'pread64'
/usr/include/unistd.h:569: error: storage class specified for parameter 'pwrite64'
/usr/include/unistd.h:570: error: storage class specified for parameter 'tell64'
/usr/include/unistd.h:571: error: storage class specified for parameter 'truncate64'
/usr/include/unistd.h:572: error: storage class specified for parameter 'lockf64'
/usr/include/unistd.h:962: error: storage class specified for parameter 'getlogin_r'
/usr/include/unistd.h:963: error: storage class specified for parameter 'ttyname_r'
In file included from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:27,
from resource_vector_test.c:4:
/usr/include/iso/string_iso.h:77: error: storage class specified for parameter 'memcmp'
/usr/include/iso/string_iso.h:78: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:78: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:78: error: storage class specified for parameter 'memcpy'
/usr/include/iso/string_iso.h:79: error: storage class specified for parameter 'memmove'
/usr/include/iso/string_iso.h:80: error: storage class specified for parameter 'memset'
/usr/include/iso/string_iso.h:81: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:81: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:81: error: storage class specified for parameter 'strcat'
/usr/include/iso/string_iso.h:82: error: storage class specified for parameter 'strcmp'
/usr/include/iso/string_iso.h:83: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:83: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:83: error: storage class specified for parameter 'strcpy'
/usr/include/iso/string_iso.h:84: error: storage class specified for parameter 'strcoll'
/usr/include/iso/string_iso.h:85: error: storage class specified for parameter 'strcspn'
/usr/include/iso/string_iso.h:86: error: storage class specified for parameter 'strerror'
/usr/include/iso/string_iso.h:87: error: storage class specified for parameter 'strlen'
/usr/include/iso/string_iso.h:88: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:88: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:88: error: storage class specified for parameter 'strncat'
/usr/include/iso/string_iso.h:89: error: storage class specified for parameter 'strncmp'
/usr/include/iso/string_iso.h:90: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:90: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:90: error: storage class specified for parameter 'strncpy'
/usr/include/iso/string_iso.h:91: error: storage class specified for parameter 'strspn'
/usr/include/iso/string_iso.h:92: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:92: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:92: error: storage class specified for parameter 'strtok'
/usr/include/iso/string_iso.h:93: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/string_iso.h:93: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/string_iso.h:93: error: storage class specified for parameter 'strxfrm'
/usr/include/iso/string_iso.h:147: error: storage class specified for parameter 'memchr'
/usr/include/iso/string_iso.h:148: error: storage class specified for parameter 'strchr'
/usr/include/iso/string_iso.h:149: error: storage class specified for parameter 'strpbrk'
/usr/include/iso/string_iso.h:150: error: storage class specified for parameter 'strrchr'
/usr/include/iso/string_iso.h:151: error: storage class specified for parameter 'strstr'
In file included from resource_vector_test.c:4:
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:72: error: storage class specified for parameter 'memccpy'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:77: error: storage class specified for parameter 'strsignal'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:78: error: storage class specified for parameter 'ffs'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:79: error: storage class specified for parameter 'strcasecmp'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:80: error: storage class specified for parameter 'strncasecmp'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:81: error: storage class specified for parameter 'strlcpy'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:82: error: storage class specified for parameter 'strlcat'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/string.h:88: error: storage class specified for parameter 'strdup'
In file included from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:27,
from resource_vector_test.c:5:
/usr/include/iso/stdlib_iso.h:55: error: storage class specified for parameter '__ctype'
/usr/include/iso/stdlib_iso.h:69: error: storage class specified for parameter 'div_t'
/usr/include/iso/stdlib_iso.h:74: error: storage class specified for parameter 'ldiv_t'
/usr/include/iso/stdlib_iso.h:116: error: storage class specified for parameter 'wchar_t'
/usr/include/iso/stdlib_iso.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__NORETURN'
/usr/include/iso/stdlib_iso.h:124: error: storage class specified for parameter 'abs'
/usr/include/iso/stdlib_iso.h:125: error: storage class specified for parameter 'atexit'
/usr/include/iso/stdlib_iso.h:126: error: storage class specified for parameter 'atof'
/usr/include/iso/stdlib_iso.h:127: error: storage class specified for parameter 'atoi'
/usr/include/iso/stdlib_iso.h:128: error: storage class specified for parameter 'atol'
/usr/include/iso/stdlib_iso.h:130: error: storage class specified for parameter 'bsearch'
/usr/include/iso/stdlib_iso.h:137: error: storage class specified for parameter 'calloc'
/usr/include/iso/stdlib_iso.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div'
/usr/include/iso/stdlib_iso.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__NORETURN'
/usr/include/iso/stdlib_iso.h:141: error: storage class specified for parameter 'free'
/usr/include/iso/stdlib_iso.h:142: error: storage class specified for parameter 'getenv'
/usr/include/iso/stdlib_iso.h:143: error: storage class specified for parameter 'labs'
/usr/include/iso/stdlib_iso.h:144: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ldiv'
/usr/include/iso/stdlib_iso.h:145: error: storage class specified for parameter 'malloc'
/usr/include/iso/stdlib_iso.h:146: error: storage class specified for parameter 'mblen'
/usr/include/iso/stdlib_iso.h:147: error: expected ')' before '*' token
/usr/include/iso/stdlib_iso.h:149: error: expected ')' before '*' token
/usr/include/iso/stdlib_iso.h:150: error: storage class specified for parameter 'qsort'
/usr/include/iso/stdlib_iso.h:156: error: storage class specified for parameter 'rand'
/usr/include/iso/stdlib_iso.h:157: error: storage class specified for parameter 'realloc'
/usr/include/iso/stdlib_iso.h:158: error: storage class specified for parameter 'srand'
/usr/include/iso/stdlib_iso.h:159: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdlib_iso.h:159: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/stdlib_iso.h:159: error: storage class specified for parameter 'strtod'
/usr/include/iso/stdlib_iso.h:160: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdlib_iso.h:160: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/stdlib_iso.h:160: error: storage class specified for parameter 'strtol'
/usr/include/iso/stdlib_iso.h:162: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdlib_iso.h:161: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/stdlib_iso.h:162: error: storage class specified for parameter 'strtoul'
/usr/include/iso/stdlib_iso.h:163: error: storage class specified for parameter 'system'
/usr/include/iso/stdlib_iso.h:164: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/iso/stdlib_iso.h:164: error: storage class specified for parameter 'wctomb'
/usr/include/iso/stdlib_iso.h:165: error: expected ';', ',' or ')' before '*' token
In file included from resource_vector_test.c:5:
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:80: error: storage class specified for parameter 'lldiv_t'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:121: error: storage class specified for parameter '_exithandle'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:126: error: storage class specified for parameter 'drand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:127: error: storage class specified for parameter 'erand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:128: error: storage class specified for parameter 'jrand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:129: error: storage class specified for parameter 'lcong48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:130: error: storage class specified for parameter 'lrand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:131: error: storage class specified for parameter 'mrand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:132: error: storage class specified for parameter 'nrand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:133: error: storage class specified for parameter 'seed48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:134: error: storage class specified for parameter 'srand48'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:135: error: storage class specified for parameter 'putenv'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:136: error: storage class specified for parameter 'setkey'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:153: error: storage class specified for parameter 'swab'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:159: error: storage class specified for parameter 'mkstemp'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:164: error: storage class specified for parameter 'mkstemp64'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:170: error: storage class specified for parameter 'a64l'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:171: error: storage class specified for parameter 'ecvt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:172: error: storage class specified for parameter 'fcvt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:173: error: storage class specified for parameter 'gcvt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:174: error: storage class specified for parameter 'getsubopt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:175: error: storage class specified for parameter 'grantpt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:176: error: storage class specified for parameter 'initstate'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:177: error: storage class specified for parameter 'l64a'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:178: error: storage class specified for parameter 'mktemp'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:179: error: storage class specified for parameter 'ptsname'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:180: error: storage class specified for parameter 'random'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:181: error: storage class specified for parameter 'realpath'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:182: error: storage class specified for parameter 'setstate'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:183: error: storage class specified for parameter 'srandom'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:184: error: storage class specified for parameter 'ttyslot'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:185: error: storage class specified for parameter 'unlockpt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:186: error: storage class specified for parameter 'valloc'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:191: error: storage class specified for parameter 'dup2'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:192: error: storage class specified for parameter 'qecvt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:193: error: storage class specified for parameter 'qfcvt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:194: error: storage class specified for parameter 'qgcvt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:195: error: storage class specified for parameter 'getcwd'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:195: error: redefinition of parameter 'getcwd'
/usr/include/unistd.h:339: error: previous definition of 'getcwd' was here
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:196: error: storage class specified for parameter 'getexecname'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:197: error: storage class specified for parameter 'getlogin'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:197: error: redefinition of parameter 'getlogin'
/usr/include/unistd.h:356: error: previous definition of 'getlogin' was here
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:198: error: storage class specified for parameter 'getopt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:199: error: storage class specified for parameter 'optarg'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:200: error: storage class specified for parameter 'optind'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:200: error: storage class specified for parameter 'opterr'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:200: error: storage class specified for parameter 'optopt'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:201: error: storage class specified for parameter 'getpass'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:202: error: storage class specified for parameter 'getpassphrase'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:203: error: storage class specified for parameter 'getpw'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:204: error: storage class specified for parameter 'isatty'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:204: error: redefinition of parameter 'isatty'
/usr/include/unistd.h:400: error: previous definition of 'isatty' was here
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:205: error: storage class specified for parameter 'memalign'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:206: error: storage class specified for parameter 'ttyname'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:206: error: redefinition of parameter 'ttyname'
/usr/include/unistd.h:540: error: previous definition of 'ttyname' was here
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:209: error: storage class specified for parameter 'atoll'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:210: error: storage class specified for parameter 'llabs'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lldiv'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:212: error: storage class specified for parameter 'lltostr'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:213: error: storage class specified for parameter 'strtoll'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:214: error: storage class specified for parameter 'strtoull'
/usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdlib.h:215: error: storage class specified for parameter 'ulltostr'
In file included from resource_vector_test.c:7:
/usr/include/sys/mman.h:162: error: storage class specified for parameter 'mmap'
/usr/include/sys/mman.h:163: error: storage class specified for parameter 'munmap'
/usr/include/sys/mman.h:164: error: storage class specified for parameter 'mprotect'
/usr/include/sys/mman.h:165: error: storage class specified for parameter 'msync'
/usr/include/sys/mman.h:166: error: storage class specified for parameter 'mlock'
/usr/include/sys/mman.h:167: error: storage class specified for parameter 'munlock'
/usr/include/sys/mman.h:168: error: storage class specified for parameter 'mincore'
/usr/include/sys/mman.h:168: error: redefinition of parameter 'mincore'
/usr/include/unistd.h:419: error: previous definition of 'mincore' was here
/usr/include/sys/mman.h:169: error: storage class specified for parameter 'memcntl'
/usr/include/sys/mman.h:170: error: storage class specified for parameter 'madvise'
/usr/include/sys/mman.h:172: error: storage class specified for parameter 'getpagesizes'
/usr/include/sys/mman.h:181: error: storage class specified for parameter 'mmap64'
/usr/include/sys/mman.h:186: error: storage class specified for parameter 'mlockall'
/usr/include/sys/mman.h:187: error: storage class specified for parameter 'munlockall'
/usr/include/sys/mman.h:188: error: storage class specified for parameter 'shm_open'
/usr/include/sys/mman.h:189: error: storage class specified for parameter 'shm_unlink'
In file included from /usr/local/Gnu/Sol8/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/sys/signal.h:28,
from /usr/include/sys/procset.h:42,
from /usr/include/sys/processor.h:39,
from resource_vector_test.c:9:
/usr/include/sys/iso/signal_iso.h:101: error: storage class specified for parameter '_sysconf'
In file included from /usr/local/Gnu/Sol8/lib/gcc/sparcHi again,
I think I've solved the problem :)
The problem was the version of gcc
I've tried using the gcc shipped with solaris 10 in /usr/sfw
and the problem get solved. -
SQL Statement error - ORA-00903: invalid table name
Hi
I have written a sql script that gets executed from a form within e-business suite. Unfortunately, the script is falling over with an error:
unknown command beginning "MERGE INTO..." - rest of line ignored.
unknown command beginning "USING edop..." - rest of line ignored.
unknown command beginning "ON (elw.ro..." - rest of line ignored.
unknown command beginning "WHEN MATCH..." - rest of line ignored.
For a list of known commands enter HELP
and to leave enter EXIT.
SET ELW.billed_flag = t.billed_flag,
ERROR at line 2:
ORA-00903: invalid table name the actual statement that is causing the issue is:
MERGE INTO edopaif.table1 elw
USING edopaif.tablw2 t
ON (elw.rowid = t.LOAD_WORKING_ROWID)
WHEN MATCHED THEN
UPDATE
SET ELW.billed_flag = t.billed_flag,
ELW.last_bill_generated = t.last_bill_generated,
ELW.last_bill_type = t.last_bill_type,
ELW.load_month = t.load_month,
ELW.BILL_TRANSACTION_ID = t.bill_transaction_id
WHEN NOT MATCHED THEN
INSERT(error_meaning)
VALUES('ROWID error with ins_ptia');The version of e-business suite that we are using is: 11.5.10.2.
The version of the Oracle database that we are using is:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
Please note that I am able to successfully run the statement directly connected as the APPS schema in the database - the error only occurs when the script is run from the forms front-end (which is really confusing me).
Many thanks
PaulHi
I've modified the script to include only the statement that is erroring and it still errors when executed from the front end application.
Next I re-wrote the statement to use PL/SQL instead of the MERGE statement, to do the update, and the script completes succesfully, i.e.:
DECLARE
CURSOR cu_lw IS
SELECT t.billed_flag,
t.last_bill_generated,
t.last_bill_type,
t.load_month,
t.bill_transaction_id,
t.load_working_rowid
FROM table2 t;
BEGIN
FOR rec_cu_lw IN cu_lw LOOP
UPDATE table1 elw
SET ELW.billed_flag = rec_cu_lw.billed_flag,
ELW.last_bill_generated = rec_cu_lw.last_bill_generated,
ELW.last_bill_type = rec_cu_lw.last_bill_type,
ELW.load_month = rec_cu_lw.load_month,
ELW.BILL_TRANSACTION_ID = rec_cu_lw.bill_transaction_id
WHERE elw.rowid = rec_cu_lw.load_working_rowid;
END LOOP;
END;
/I am still unsure as to why the MERGE statement is failing when executed in the front end, but completes in the backend with no issues at all. Obviously I would prefer to use the MERGE statement instead of PL/SQL to do the update.
Thanks
Paul -
DB13 Check and update optimizer stat error: ORA-01652: unable to extend tem
Hi SAP Gurus,
When running Check and Update Optimizer Statistics in DB13, an error occurs.
BR0280I BRCONNECT time stamp: 2011-03-10 06.35.52
BR0301E SQL error -1652 at location stats_tab_collect-16
ORA-01652: unable to extend temp segment by 12137 in tablespace SYSTEM
BR0886E Checking/collecting statistics failed for table SAPR3.ACCTIT
BR0280I BRCONNECT time stamp: 2011-03-10 06.36.49
BR0850I 3 of 39479 objects processed - 3.522 of 342.781 units done
BR0204I Percentage done: 1.03%, estimated end time: 15:47
Looking at tablespace SYSTEM in DB02, the percent used is 58. Auto-extent feature is OFF. Will turning the auto-extent ON, remove the error?It seems like Your user (by a mistake) have tablespace SYSTEM as temporary tablespace.
Connect as sysdba in Your database and check which temp tablespaces awaiable, and size of them:
select tablespace_name, sum(bytes)/1024/1024 "Size of TEMP TBS in MB" from dba_temp_files group by tablespace_name;
Check which users having SYSTEM as tamp-tbs:
select username, temporary_tablespace from dba_users where temporary_tablespace like 'SYSTEM' order by 1;
Change those users to have one of your temp-tablespaces:
alter user &username temporary tablespace &&TempTBS;
It's also a good idea to have autoextend on on Your temp TBS, but remember to set maxsize so you doesn't fill up your disksystem.
Hope this solve Your problems.
Regards
Audun
DBA -
10.2.0.4 Agent issue - ORA-24373
Hi,
my OMS is on 10.2.0.4 . and recently I upgraded the agent to 10.2.0.4 . applied the patch 7031906, 7012242 . But I still observe these message in agent emagent.trc file .
2008-09-10 14:43:33,141 Thread-508 ERROR fetchlets.oslinetok: Process stderr = em_error=prepare(): ORA-24373: invalid length specified for state
ment (DBD ERROR: OCIStmtPrepare)
2008-09-10 14:43:33,141 Thread-508 ERROR engine: [oracle_database,topdw,audit_failed_logins_historical] : nmeegd_GetMetricData failed : em_error
=prepare(): ORA-24373: invalid length specified for statement (DBD ERROR: OCIStmtPrepare)
2008-09-10 14:43:33,141 Thread-508 WARN collector: <nmecmc.c> Error exit. Error message: em_error=prepare(): ORA-24373: invalid length specifie
d for statement (DBD ERROR: OCIStmtPrepare)
Any idea or any pointer on how to fix this .
Thanks in Advance
PkCan u bounce the agent and check again
-
Hello.
I have a lot of SQL statements (like 2-3 Mio) - plain inserts, deletes and updates. In a previous post, I asked how to embed exceptions for the statements:
Re: exceptions for a small SQL script (now with optimization question)
Here is the solution and this is how my script looks like now (with only 7 statements in 3 blocks out of these millions of statements):
BEGIN
BEGIN
DELETE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
INSERT ...
INSERT ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
UPDATE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
END;
/So it seems, that for oracle this is only one very big statement (the .sql file is over 1 GB big) and oracle tries at first to parse everything. In my case - obviously unsuccessful, because I received the ORA-24373: invalid length specified for statement. So my question is - what is the max length of a statement? Is there a work-around for this issue?
Thanks a lot!Great, I found the solution by myself. Here's what I needed:
BEGIN
DELETE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
INSERT ...
INSERT ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
UPDATE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
/My script will still be Gigabytes big and will work just fine. Get it? -
Error: ORA-16778: redo transport error for one or more databases
Hi all
I have 2 database servers"Primary database and physical standby" in test environment( before going to Production)
Before Dataguard broker configuration , DG setup was running fine , redo was being applied and archived on phy standby.
but while enabling configuration i got "Warning: ORA-16607: one or more databases have failed" listener.ora & tnsnames.ora are updated with global_name_DGMGRL
Please help me how can i resolve this issue .Thanks in advance.
[oracle@PRIM ~]$ dgmgrl
DGMGRL for Linux: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys
Password:
Connected.
DGMGRL> show configuration
Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database
show database
^
Syntax error before or at "end-of-line"
DGMGRL> remove configuration
Warning: ORA-16620: one or more databases could not be contacted for a delete operation
Removed configuration
DGMGRL> exit
[oracle@PRIM ~]$ connect sys/sys@prim as sysdba
bash: connect: command not found
[oracle@PRIM ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
[oracle@PRIM ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:48
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 08-OCT-2006 19:52:48
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PRIM_DGMGRLL" has 1 instance(s).
Instance "PRIM", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@PRIM ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:46
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
[oracle@PRIM ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
[oracle@PRIM ~]$ dgmgrl
DGMGRL for Linux: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect /
Connected.
DGMGRL> create configuration test as
primary database is PRIM
connect identifier is PRIM
;Configuration "test" created with primary database "prim"
DGMGRL> add database STAN as
connect identifier is STAN
maintained as physical;Database "stan" added
DGMGRL> show configuration
Configuration
Name: test
Enabled: NO
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
DISABLED
DGMGRL> enable configuration
Enabled.
DGMGRL> show configuration
Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose prim
Database
Name: prim
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
PRIM
Properties:
InitialConnectIdentifier = 'prim'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
LogFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'PRIM'
SidName = 'PRIM'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521))'
StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/PRIM/archivelog/'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "prim":
Error: ORA-16778: redo transport error for one or more databases
DGMGRL> show database verbose stan
Database
Name: stan
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: ONLINE
Instance(s):
STAN
Properties:
InitialConnectIdentifier = 'stan'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
LogFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'STAND'
SidName = 'STAN'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=STAND)(PORT=1521))'
StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/STAN/archivelog/'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "stan":
Error: ORA-12545: Connect failed because target host or object does not exist
DGMGRL>This:
Current status for "stan":
Error: ORA-12545: Connect failed because target host or object does not exist
says that your network setup is not correct. You need to resolve that first.
As for Broker setup steps how about the doc or our Data Guard 11g Handbook?
It's 3 DGMGRL commands so I am not sure what 'steps' you need?
Larry -
ORA-10631: SHRINK clause should not be specified for this object
Hi
I was trying to shrink table to reset the high water mark but some unknown reason it failed.
Please help me
SQL> declare
stmt varchar2(100);
cursor cur is
select object_name from user_objects where substr(object_name,1,1)='A'
and object_type='TABLE';
begin
for i in cur loop
stmt :='alter table '||i.object_name ||' shrink space';
execute immediate stmt;
end loop;
END;
declare
ERROR at line 1:
ORA-10631: SHRINK clause should not be specified for this object
ORA-06512: at line 9
Regards
Jewelhttp://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#CJA
The shrink clause lets you manually shrink space in a table, index-organized table or its overflow segment, index, partition, subpartition, LOB segment, materialized view, or materialized view log. This clause is valid only for segments in tablespaces with automatic segment management. By default, Oracle Database compacts the segment, adjusts the high water mark, and releases the recuperated space immediately.
Compacting the segment requires row movement. Therefore, you must enable row movement for the object you want to shrink before specifying this clause. Further, if your application has any rowid-based triggers, you should disable them before issuing this clause. -
Loadjava - error ORA-29552 in resolving
Problems when loading java classes to oracle 9.0.1.
Classes compile fine, but when using loadjava (options -t -v -r) there's errors at resolving stage.
Here's the explanations I've found for the error (ORA-29552), but I still have no clue how to fix this?
ORA-29552
In some situations, the resolver allows a class to be marked valid, but will replace bytecodes in the class to throw an exception at runtime. In these cases, the resolver issues an ORA-29552 (verification warning), which loadjava will report. The loadjava tool issues this warning when the Java Language Specification would require an IncompatibleClassChangeError be thrown. Oracle JVM relies on the resolver to detect these situations, supporting the proper runtime behavior that the JLS requires.
ORA-29552 verification warning: string
Cause: An attempt was made to create a Java class object with bytecodes that caused the Java verifier to issue a warning.
Action: It is possible that the Java class was created from a damaged class file, in which case the CREATE should be reattempted with a correct class file. It is also possible that the message is the result of using "-" in the resolver so that the verifier could not check the correctness of some code. In that case, the class needs to be created with a resolver.
Any ideas?Hi Avi,
Thanks for the link, just in time as I was scratching my head as to where to go! I have checked the version of Java outside the database:
D:\oracle\product\10.2.0\dev01\jdk\bin>java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_04-b05, mixed mode)
I then checked an older install Oracle 10.1.x.x and the java outside is:
C:\Documents and Settings\David>java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
This seems to indicate that the earlier release is aligned, maybe an option if all else fails.
Regards
David
Maybe you are looking for
-
HI experts, My scenario is sending IDOC(DEBMAS06) to FILE. I have configured all the requirements BD54,SM59,WE21,WE20 IN R/3 and SM59,IDX1,IDX2. WHEN I AM SENDING AN IDOC USING TrCode:BD12, I AM GETTING AN ERROR IN WE02 THAT "EDI: Partner profile inb
-
Error when new entering in combolist
hi all, when i search in combolist using (post-change trigger) its work correctly first time. but when i delete the letters for new input the error frm-40735 raised. i made the combolist a non-database item. and the list has two triggers (1) post-cha
-
Dynamic compilation : getting number of errors
Hi guys, in my application i'm dynamically compiling java files and then processing results later. In this i opted for the eclipse jdt compiler that i embedded in my application. At this stage i need to get a critical information from the compiler :
-
JTabbedPane modifying a JTable
Can a JTabbedPane change the internal layout of a component ?. I have a pane with some labels and a JTable inside with a layout. It looks fine when setting it as the content pane of a frame, but when I add it to a JtabbedPane in a new tab the JTable
-
I have a piece of mail in my mailbox that is corrupted and I can't delete it. Every time I try To delete it, the mail app crashes and all of the mail I had successfully deleted come back. How can I delete this and get my iPad back to normal?