QL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of
Dear all,
please help me4 on this
i am getting this error
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
my logs are:
sapinst.log
ERROR 2011-12-18 09:40:34.550
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
ERROR 2011-12-18 09:40:34.558
MUT-03025 Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
ERROR 2011-12-18 09:40:34.717
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
INFO 2011-12-18 09:57:09.852
An error occured and the user decided to stop.\n Current step "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase".
INFO 2011-12-18 09:57:15.747
Creating file /tmp/sapinst_instdir/.lastInstallationLocation.
INFO 2011-12-18 09:57:16.545
Creating file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/CENTRAL/__instana_tmp.xml.
oracle_sql_results.log
SQL*Plus: Release 10.2.0.4.0 - Production on Sun Dec 18 09:40:34 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
SAPINST: End of output of SQL executing program /oracle/PRD/102_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-12-18, 09:40:34 SAPINST ORACLE stop logging
alert_prd.log
Sun Dec 18 09:40:34 2011
Starting ORACLE instance (normal)
Sun Dec 18 09:40:34 2011
WARNING: EINVAL creating segment of size 0x000000d8001b2000
fix shm parameters in /etc/system or equivalent
please sujest the solution very urjent pz........
Dear deepak
itried to start the database manually
but it is not working.
SQL> startup
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
SQL>
and my shm parametrs for the Solaris ACCORDING TO NOTE 724713 are
projadd -p 333 -c "SAP System PRD" \
-U prdadm,oraprd \
-K "process.max-file-descriptor=(basic,65536,deny)" \
-K "process.max-sem-nsems=(priv,2048,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-shm-ids=(priv,256,deny)" \
-K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
dr
projmod -s \
-K "process.max-file-descriptor=(basic,65536,deny)" \
-K "process.max-sem-nsems=(priv,2048,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-shm-ids=(priv,256,deny)" \
-K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
user.root
prdadm::::project=dr;oraprd::::project=dr
thanks & Regards
k.Phani Krishna
Similar Messages
-
CJS-00084 SQL Statement or Script failed. Error Message: Executable
Hello
Hello
I am facing one problem at the time of installing 4.7 IDES can you please guide me on that. Do I need to reinstall system ageing or it can be sort it out in this stage.
ERROR AT THE TIME OF INSTALLING SAP 4.7 IDES ARE
1. CJS-00084 SQL Statement or Script failed. Error Message: Executable
C:\oracle\ora92/bin/sqlplus.exe returns 3.
2. FJS-00012 Error when executing script.
Complete error log :--
INFO 2000-06-15 20:56:57
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
INFO 2000-06-15 20:56:57
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2000-06-15 20:56:57
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
INFO 2000-06-15 20:56:58
Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 20:57:00
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 20:57:00
FJS-00012 Error when executing script.
INFO 2000-06-15 20:56:57
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
INFO 2000-06-15 20:56:57
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2000-06-15 20:56:57
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
INFO 2000-06-15 20:56:58
Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 20:57:00
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 20:57:00
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:29
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:29
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:37
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:37
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:51
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:51
FJS-00012 Error when executing script.
WARNING 2000-06-15 21:07:00
Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (276), with parameter (C:\oracle\ora92/bin/sqlplus.exe /NOLOG @ora_scr_tmp.sql).
ERROR 2000-06-15 21:07:00
MDB-06029 Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
ERROR 2000-06-15 21:07:00
MDB-06030 A call to the system library failed. System error message: [No such file or directory].
ERROR 2000-06-15 21:07:00
MUT-02011 Internal error: A call to syslib failed. System error message: No such file or directory.
ERROR 2000-06-15 21:07:00
FJS-00012 Error when executing script.
WARNING 2000-06-15 21:11:52
Error 1326 (Logon failure: unknown user name or bad password.
) in execution of a 'LogonUser' function, line (537), with parameter (SAPTRANSHOST\godadm).
ERROR 2000-06-15 21:11:52
MDB-06029 Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
ERROR 2000-06-15 21:11:52
MDB-06030 A call to the system library failed. System error message: [Unknown error].
ERROR 2000-06-15 21:11:52
MUT-02011 Internal error: A call to syslib failed. System error message: Unknown error.
ERROR 2000-06-15 21:11:52
FJS-00012 Error when executing script.
INFO 2000-06-15 21:11:53
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:11:54
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:11:54
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:11:54
FJS-00012 Error when executing script.
INFO 2000-06-15 21:13:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:13:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:13:42
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:13:42
FJS-00012 Error when executing script.
INFO 2000-06-16 02:00:06
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:00:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:00:07
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:00:07
FJS-00012 Error when executing script.
INFO 2000-06-16 02:08:16
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:08:16
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:08:18
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:08:18
FJS-00012 Error when executing script.
INFO 2000-06-16 02:09:48
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:09:49
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:09:49
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:09:49
FJS-00012 Error when executing script.
INFO 2000-06-16 02:14:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:14:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:14:33
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:14:33
FJS-00012 Error when executing script.> WARNING 2000-06-15 21:07:00
> Error 2 (The system cannot find the file specified.
> ) in execution of a 'CreateProcess' function, line
> (276), with parameter
> (C:\oracle\ora92/bin/sqlplus.exe /NOLOG
> @ora_scr_tmp.sql).
> ERROR 2000-06-15 21:07:00
> MDB-06029 Caught exception while trying to start
> script executing application:
> [C:\oracle\ora92/bin/sqlplus.exe].
> ERROR 2000-06-15 21:07:00
> MDB-06030 A call to the system library failed.
> System error message: [No such file or directory].
> ERROR 2000-06-15 21:07:00
> MUT-02011 Internal error: A call to syslib failed.
> System error message: No such file or directory.
> ERROR 2000-06-15 21:07:00
> FJS-00012 Error when executing script.
> WARNING 2000-06-15 21:11:52
> Error 1326 (Logon failure: unknown user name or bad
> password.
> ) in execution of a 'LogonUser' function, line (537),
> with parameter (SAPTRANSHOST\godadm).
> ERROR 2000-06-15 21:11:52
> MDB-06029 Caught exception while trying to start
> script executing application:
> [C:\oracle\ora92/bin/sqlplus.exe].
is that file there (sqlplus)?
as which user are you installing?
Markus -
Error Message: ORA-01092: ORACLE instance terminated.
Hi
I am getting the following error message while installing
SAP R/3 IDES System 4.7.1
Do have an idea why getting this error.
Installation Progress
At step: Oracle Database Build
An error occurred during the installation.
Press the log view button to get extended
error information, press Retry to repeat
the current installation step or press OK
to terminate the installation
CJS-00084 SQL Statement or Script failed. Error Message: ORA-01092: ORACLE instance terminated. Disconnection forced
ERROR 2009-11-24 08:43:26
FJS-00012 Error when executing script.
Thanks in advance
Regards
A.Ziegler
Edited by: AlexanderZiegler on Nov 24, 2009 10:17 AMHi ,
Just try to read the logs and also trace files,
reason for failure can be known through alertlog file,
try to post the error specified in alert<SID>.log located
in the saptrace/background directory
Regards,
Manjula U. -
Getting error CJS-00084 SQL Statement or script failed while creating a DB
Hi All,
I ma trying to install IDES CRM 4.0 with Oracle DB and process went fine till the point of central instance installation. I am at the final step of installing the database instance and got an error while it is performing different steps of it.
At the step CREATE ORACLE DATABASE, i got the below error message:
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-01092: ORACLE instance terminated. Disconnection forced
Can someone help me to resolve this?
Thanks
Vijay-> did you follow all steps correctly? for example did you say NO when runinstaller asks for database creation?
-> which operating system are you on?
GreetZ, AH -
SQL 4.7 Installation Error CJS-00084 SQL Statement or Script failed
Dear SAP Gurus,
pl do let me know hoe to resolve this error.......
"""CJS-00084 SQL Statement or Script failed"""
my ora_sql_results file is like that..
===========================================
2008-10-25, 16:14:44 SAPINST ORACLE start logging for
connect / as sysdba ;
@@"C:\SAPinstORACLEKERNEL/oradbusr.sql"
exit;
Output of SQL executing program:
SQL*Plus: Release 9.2.0.2.0 - Production on Sat Oct 25 16:14:44 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
Connected.
old 3: if substr(upper('&&1'),1,5) = 'SAPR3' then
new 3: if substr(upper('SAPERP'),1,5) = 'SAPR3' then
old 6: if upper('&&2') = 'NT' then
new 6: if upper('NT') = 'NT' then
old 13: :sDomain := upper('&&3');
new 13: :sDomain := upper('ERP');
old 17: :sSchema := upper('&&1');
new 17: :sSchema := upper('SAPERP');
old 18: if upper('&&2') = 'NT' then
new 18: if upper('NT') = 'NT' then
old 25: :sDomain := upper('&&3');
new 25: :sDomain := upper('ERP');
using following Parameters:
. Oracle SID: ERP
. Oracle Version: 9.2.0.2.1
. Parametervalue os_authent_prefix: OPS$
. Database User (Schema): SAPERP
. SAP R/3 Administrator: OPS$ERP\ERPADM
. SAP R/3 Serviceuser: OPS$ERP\SAPSERVICEERP
O/S Message: No such file or directory
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.2.1 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.2.0 - Production
SAPINST: End of output of SQL executing program F:\oracle\ora92/bin/sqlplus.exe.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2008-10-25, 16:14:44 SAPINST ORACLE stop logging
=======================================
My SAPINST_ORA_ENVIRONMENT FIle is like that
==========================================
2008-10-25, 16:10:43 SAPINST Current process environment:
=::=::\
=C:=C:\SAPinstORACLEKERNEL
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\tanya\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=ERP
ComSpec=C:\WINDOWS\system32\cmd.exe
DBMS_TYPE=ORA
DBS_ORA_SCHEMA=SAPERP
dbs_ora_tnsname=ERP
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\tanya
JAVA_HOME=C:\j2sdk1.4.2_09
JSERV=F:\oracle\ora92/Apache/Jserv/conf
LOGONSERVER=
ERP
NLS_LANG=AMERICAN_AMERICA.WE8DEC
NUMBER_OF_PROCESSORS=2
ORACLE_HOME=F:\oracle\ora92
ORACLE_SID=ERP
OS=Windows_NT
Path=F:\oracle\ora92\bin;$PATH$
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706
ProgramFiles=C:\Program Files
SAPDATA_HOME=F:\oracle\ERP
SAPEXE=F:\usr\sap\ERP\SYS\exe\run
SAPLOCALHOST=ERP
SAPSYSTEMNAME=ERP
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
USERDOMAIN=ERP
USERNAME=tanya
USERPROFILE=C:\Documents and Settings\tanya
windir=C:\WINDOWS
WV_GATEWAY_CFG=F:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
SAPINST: End of current process environment.
=====================================
REgards,
AbhishekThanks, but most of the people in the industry are still using the same, and it is working on their Machine
As far as I remember 9.2.0.2 was never released, one needed to install at least 9.2.0.4 (or .5). That´s why the official installation guides tell you to install the latest patches PLUS the latest interim patches for the database.
On top of that, Oracle 9.2 is out of extended support already, I would get a new installation CD set with Oracle 10g and use that for a new installation.
why it is not working on my machine?
Because those old database versions have many bugs that are fixed with patches - so why do you want to run such an old version if one KNOWS that it´s buggy and there are patches to fix those errors?
secondly from where i will get the latest patches, as told by you. pl do let me know any website from where i can down load them
Check
Note 938986 - Oracle Database 9.2: Patches for 9.2.0
Markus -
REP-56071: Security check failed with error message
Hi!
We have an Oracle 9iAS R2 v9.0.2.2 installation on Linux (Red Hat Advanced Server 2.1). We have installed PatchSet 2703110, 2581587 and 2842923.
Oracle9i Reports version is: 9.0.2.2.0
iAS and Infrastructure are on separate hosts.
Trying to run Reports demo test.jsp or test.rdf we get the following message:
javax.servlet.jsp.JspException: REP-56071: Security check failed with error message: Error code30001 - Cannot access the server:rep_dkipcias
In package:wwv_rw_usr function:security_check
Command line is: server=rep_dkipcias report=/repdemo/examples/Tools/test.jsp rundate="29-MAY-03 09:05:01"
Found on Metalink the following Note: 216847.1
This recommends to comment out the security and destination tags in ORACLE_MIDDLETIER_HOME/report/conf/<repserver>.conf file
After commenting them out reports works fine.
BUT
at the end of the note there is a note which states that "Commenting out the security tag removes the integration of the reports server and portal."
We need reports integration with Portal. We need SSO as well.
Could you give any workaround for this problem?
PS.: I have red Note:213171.1, Note:216118.1, http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/securing9i.pdf and BUG:2645629
None of them gave any solution for the problem
Thanks in advance,
Andras WeintrauthHi Jeff,
Q(1): Yes.
(Report Name and Servers tab)
Report Server: REP_DKIPCIAS
Oracle Reports File Name: test.jsp
Execute: as JSP
(Other tabs)
Default values. Unchanged.
Q(2): (Acces Tab of Report Component)
Publish to Portal = checked
Inherit Privileges from Portal DB Provider = checked
(Acces Tab of Report Server Component)
Inherit Privileges from Portal DB Provider = checked
(SSO User)
The user I try to run the report with has the following group assignments:
Privilege Group
PORTAL_ADMINISTRATORS
PORTAL_DEVELOPERS
DBA
PORTLET_PUBLISHERS
Additional Info:
To be more specific: The mentioned security check failure exists outside of Portal as well. Eg. when we try to run the default portal test examples (test.jsp, test.rdf) from the iAS home page Demonstartions tab.
Thank You in advance,
Andras -
When an FLV is playing and I want to download it. I click on the Ant download button. A little window appears reading ( Java Script Application "download error" message)
This works for me on YouTube.
Cancel the download and then immediately right click and choose retry. -
REP-56071: Security check failed with error message: Error code30009 - Gene
REP-56071: Security check failed with error message: Error code30009 - Generic access check failed..
Hello,
I am also receiving the above error - these reports are deployed on our Portal - to which all registered SSO users should have access to.
one more thing...
We obtain the error only when execute under some "load", example: 15 reports running simultaneously.
Tx,
Diego.I am also facing this problem - I've deployed the reports on the Portal and authenticated users can access the reports.
The problem is that when any authenticated user tries to access the report, on his very first access this error is shown.
REP-56071: Security check failed with error message: Error code30009 - Generic access check failed..
But after the user click on the Personalize link of the portlet and specify the parameters values(which are empty initially) then report runs fine.
Plz let me know the solution as no user will like to see this error message for the first time he opens the report.
Regards. -
My iTunes update install failed. Error message says MSVCR80.dll is missing from my comuputer. What is that and where do I get it?
Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall move on to the next item)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
Please note:
Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
HT1925: Removing and Reinstalling iTunes for Windows XP
HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2 -
REP-56071:Security check failed with error message:No privilege to do oper
Hi
I get the following error when I try to see the job status (..../rwservlet/showjobs?)
REP-56071: Security check failed with error message: No privilege to do the operation
I also get the following error on running any report on this server:
REP-110: Unable to open file 'Test.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file 'Test.rdf'.
Anyone seen the same issue before?Fugured it out - had issues with reportserver.conf file.
_* -
Installing OS4 - restore fails with error message 1014 - 3GS unusable
I tried to install OS4 on my 3GS iPhone. Process reported that a restore and update were required. The restore failed with error message 1014. This has rendered the phone unusable. Any help for me since Apple technicians from India weren't able to help.
Anyone got this fixed, I also have the same problem. I got an error during update, then the iPhone went into Recovery Mode and iTunes says it has to be restored and updated, but the restore has taken over 15 hours know and Applecare told me to wait or come to an applestore... I'm on holiday in Europe and I have a 12 hour fligth in a few days back to the US...
-
Error message "ORA-12547: TNS:lost contact" during dbca
Background info: I am building a new test 11.2.0.3 RAC cluster running on IBM pSeries hardware with AIX 6.1 OS level. I need to practice building a cluster and then adding a new node later. Because of limited hardware availability, my inital cluster will have 1 node and I will add the additional node later.
I installed Grid Infrastructure successfully. GI and ASM are online and appear to be working normally. Today I installed the 11.2.0.3 database software. I am now trying to create a test database using DBCA. After entering all of the database information (SID information, where db files should reside, memory sizing, etc.) the database creation begins, then immediately issues the error message "ORA-12547: TNS:lost contact".
I have searched MOS (Metalink) and also reviewed a few sites using Google. All of the information indicates this problem occurs most often when trying to log into an existing database using sqlplus. I haven't found anything related to this error message during database creation.
Does anyone have advice on how to troubleshoot where the problem is coming from? Can you point me to some documentation that would help with this issue?
Any and all help is appreciated. Thank you!Srini,
I was verifying that I understood your request. The last install log relates to the Oracle db software installation and was created by OUI. The DBCA utility has not created any actual install logs. DBCA issues the error less than 10 seconds after I choose the "Finish" button to begin the database creation process. I also reviewed 4 notes on MOS and unfortunately they do not seem to apply. The permissions settings appear correct on all directories for both the database software owner and the grid infrastructure owner as well.
Here are the last 200 lines from the OUI install log. Thank you again for all of your help!
$ tail -200 installActions2012-07-16_10-20-11AM.log
INFO: This variable s_caHelpPtBRJar is not added to the global context map
INFO: This variable s_caHelpKoJar is not added to the global context map
INFO: This variable s_caHelpJar is not added to the global context map
INFO: This variable s_caHelpJaJar is not added to the global context map
INFO: This variable s_caHelpItJar is not added to the global context map
INFO: This variable s_caHelpFrJar is not added to the global context map
INFO: This variable s_caHelpEsJar is not added to the global context map
INFO: This variable s_caHelpDeJar is not added to the global context map
INFO: This variable s_authAdaptors is not added to the global context map
INFO: This variable ps_netCA_Args_OverRide is not added to the global context map
INFO: This variable b_net8ServerInstalling is not added to the global context map
INFO: This variable b_javavmIsInstalling is not added to the global context map
INFO: This variable b_isWindows is not added to the global context map
INFO: This variable b_isUNIX is not added to the global context map
INFO: This variable b_cmanIsInstalling is not added to the global context map
INFO: This variable b_anoIsInstalling is not added to the global context map
INFO: This variable s_xmlparservLoc is not added to the global context map
INFO: This variable s_skipharegistrationFlag is not added to the global context map
INFO: This variable s_ouiJlibDir is not added to the global context map
INFO: This variable s_opsmJlib is not added to the global context map
INFO: This variable s_ntwkTools is not added to the global context map
INFO: This variable s_netjlibDir is not added to the global context map
INFO: This variable s_netcahelpLocation is not added to the global context map
INFO: This variable s_netcaJlibDir is not added to the global context map
INFO: This variable s_netcaDocDir is not added to the global context map
INFO: This variable s_netPropertiesFile is not added to the global context map
INFO: This variable s_netCA is not added to the global context map
INFO: This variable s_net8caFileToInstantiate is not added to the global context map
INFO: This variable s_jre15Location is not added to the global context map
INFO: This variable s_jlibDir is not added to the global context map
INFO: This variable s_inventoryPrereqOui is not added to the global context map
INFO: This variable s_emdwLibDir is not added to the global context map
INFO: This variable s_caHelpDir is not added to the global context map
INFO: This variable s_assistantJlibDir is not added to the global context map
INFO: This variable s_JavaFlag is not added to the global context map
INFO: This variable b_isOPS is not added to the global context map
INFO: This variable s_windowsCommandLine is not added to the global context map
INFO: This variable s_srcOracleHome is not added to the global context map
INFO: This variable s_net8caExecutable is not added to the global context map
INFO: This variable s_netcaUserDirArg is not added to the global context map
INFO: This variable s_installTypeForNetCA is not added to the global context map
INFO: This variable s_netcaSilentFlag is not added to the global context map
INFO: This variable s_netCAInstalledProducts is not added to the global context map
INFO: This variable s_netcaClasspath is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: ORACLE_HOME is not settable, hence not setting the value
INFO: Handling the storing of variables for aggr name oracle.assistants.server
INFO: This variable s_operatingSystem is not added to the global context map
INFO: This variable s_jreLocation is not added to the global context map
INFO: This variable pn_dboffset is not added to the global context map
INFO: This variable cs_swingName is not added to the global context map
INFO: This variable cs_komodoName is not added to the global context map
INFO: This variable cs_kodiakName is not added to the global context map
INFO: This variable cs_jewtName is not added to the global context map
INFO: This variable cs_iceBrowserName is not added to the global context map
INFO: This variable cs_ewtcompatName is not added to the global context map
INFO: This variable cs_ewtName is not added to the global context map
INFO: This variable cs_baliShareName is not added to the global context map
INFO: This variable b_orabaseContainsOrahome is not added to the global context map
INFO: This variable b_isWINDOWS is not added to the global context map
INFO: This variable b_isUNIX is not added to the global context map
INFO: This variable sl_dbmaParameterListForIcon is not added to the global context map
INFO: This variable sl_dbcaParameterListForIcon is not added to the global context map
INFO: This variable s_xmlparservLoc is not added to the global context map
INFO: This variable s_skipHARegistrationFlag is not added to the global context map
INFO: This variable s_ouiJlibLocation is not added to the global context map
INFO: This variable s_oratabLocation is not added to the global context map
INFO: This variable s_opsmLocation is not added to the global context map
INFO: This variable s_dbuaLocation is not added to the global context map
INFO: This variable s_dbcaLocation is not added to the global context map
INFO: This variable s_OracleBinLocation is not added to the global context map
INFO: This variable s_dbcaInstLaunchFile is not added to the global context map
INFO: This variable s_dbcaLaunchFile is not added to the global context map
INFO: This variable s_dbmaLaunchFile is not added to the global context map
INFO: This variable s_dbmaInstLaunchFile is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: ORACLE_HOME is not settable, hence not setting the value
INFO: Handling the storing of variables for aggr name oracle.sysman.console.db
INFO: This variable s_sid is not added to the global context map
INFO: This variable s_serverInstallType is not added to the global context map
INFO: This variable s_platform is not added to the global context map
INFO: HashMap added with the key oracle.sysman.console.db and an empty variable Vector
INFO: Adding the variable s_obfOc4jAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_obfOc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: Adding the variable s_obfJtaAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_obfJtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable s_nlsLang is not added to the global context map
INFO: This variable s_emailServer is not added to the global context map
INFO: This variable s_emailAddress is not added to the global context map
INFO: This variable s_cfgtyperet is not added to the global context map
INFO: Adding the variable s_JtaAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_JtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable n_uploadInterval is not added to the global context map
INFO: This variable localhost is not added to the global context map
INFO: This variable b_launchTools is not added to the global context map
INFO: This variable b_launchBrowser is not added to the global context map
INFO: This variable b_isUNIX is not added to the global context map
INFO: This variable b_centralConsole is not added to the global context map
INFO: This variable USE_HTTP_PROXY is not added to the global context map
INFO: This variable USE_DB_CONSOLE is not added to the global context map
INFO: This variable SET_CONSOLE_MODE is not added to the global context map
INFO: This variable SA_SETUP is not added to the global context map
INFO: This variable OC4JLOC is not added to the global context map
INFO: This variable NO_PC_MODE is not added to the global context map
INFO: This variable LOGGING_LEVEL is not added to the global context map
INFO: This variable JRE_HOME is not added to the global context map
INFO: This variable ISQLPLUS_PROTOCOL is not added to the global context map
INFO: This variable ISQLPLUS_PORT is not added to the global context map
INFO: This variable HOST_SID_OFFSET_ENABLED is not added to the global context map
INFO: This variable HOSTNAME is not added to the global context map
INFO: This variable EM_UPLOAD_DISABLE is not added to the global context map
INFO: This variable EM_UIX_DEBUG_FLAG is not added to the global context map
INFO: This variable EMPRODVER is not added to the global context map
INFO: This variable CONSOLE_MODE is not added to the global context map
INFO: This variable CONSOLE_CFG is not added to the global context map
INFO: This variable sl_oraclehomes is not added to the global context map
INFO: This variable s_oc4jDir is not added to the global context map
INFO: This variable s_oc4jAppsDir is not added to the global context map
INFO: This variable s_jreHome is not added to the global context map
INFO: This variable s_configcommand is not added to the global context map
INFO: This variable b_isRAC is not added to the global context map
INFO: This variable b_UNIX is not added to the global context map
INFO: This variable OJSP_JAR_LOC is not added to the global context map
INFO: This variable OJSPUTIL_JAR_LOC is not added to the global context map
INFO: This variable LDAP_JAR_LOC is not added to the global context map
INFO: This variable JAVA_HOME is not added to the global context map
INFO: This variable ISQLPLUS_HOST is not added to the global context map
INFO: This variable EM_UIX_LOCATION is not added to the global context map
INFO: This variable EM_REPOS_HOST is not added to the global context map
INFO: This variable EM_PING_COMMAND is not added to the global context map
INFO: This variable EM_OC4J_HOME is not added to the global context map
INFO: This variable EM_EAR_LOC is not added to the global context map
INFO: This variable EMDROOT is not added to the global context map
INFO: Adding the variable s_oc4jAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_oc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable s_launchBrowserClasspath is not added to the global context map
INFO: This variable s_javapOracleHome is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
INFO: passing params to cf done
INFO: done saving info by cf
INFO: This is a shared oracle home or remote nodes are null. No copy required.
INFO: Checkpoint:Failed Checkpoint found returning it for getAllFailedCheckPoints.
INFO: Checkpoint:Failed Checkpoint found returning null for getLastFailedCheckPoint.
INFO: Checkpoint:Index file written and updated
INFO: Checkpoint:Transfer of file done from remote node
INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
INFO: Updating the global context
INFO: Path To 'globalcontext.xml' = /u01/app/oracle/cmdseries/11.2.0/install/chainedInstall/globalcontext
INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
INFO: Number of scripts to be executed as root user = 1
INFO: isSuccessfullInstallation: true
INFO: isSuccessfullRemoteInstallation: true
INFO: Adding ExitStatus SUCCESS to the exit status set
INFO: Completed setting up InstallDB
INFO: Number of scripts to be executed as root user = 1
INFO: User accepted to run root scripts
INFO: Shutting down OUISetupDriver.JobExecutorThread
INFO: Cleaning up, please wait...
INFO: Dispose the install area control object
INFO: Update the state machine to STATE_CLEAN
INFO: Setup completed with overall status as Succeeded
INFO: All forked task are completed at state setup
INFO: Completed background operations
INFO: Moved to state <setup>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <setup>
INFO: Completed validating view at state <setup>
INFO: Validating state <setup>
INFO: Completed validating state <setup>
INFO: Verifying route success
INFO: Get view named [FinishUI]
INFO: View for [FinishUI] is oracle.install.ivw.db.view.FinishUI@6f286f28
INFO: Initializing view <FinishUI> at state <finish>
INFO: Completed initializing view <FinishUI> at state <finish>
INFO: Displaying view <FinishUI> at state <finish>
INFO: Completed displaying view <FinishUI> at state <finish>
INFO: Loading view <FinishUI> at state <finish>
INFO: Install Succeeded: true
INFO: Config Tool Succeeded: true
INFO: Remote Install Succeeded: true
INFO: Completed loading view <FinishUI> at state <finish>
INFO: Localizing view <FinishUI> at state <finish>
INFO: Completed localizing view <FinishUI> at state <finish>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state finish
INFO: FinishAction Actions.execute called
INFO: Completed executing action at state <finish>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <finish>
INFO: Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is 6
INFO: List of warnings encountered in this Application:
INFO: PREREQS_FAILED_WITH_WARNING
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver
$ -
Error Message - ORA-01722 Invalid Number
Hello:
I have the following situation. When I create an organization, a record is inserted into the following table, AGREEMENTS, and populates four fields.
I have an update form which selects the organization from the AGREEMENTS table so the user can populate the rest of the table. In addition, on this form, there is a drop-down box which allows the user to select the name of a legal document along with the version of the document in which the user needs to select. This select list is created via an LOV joining three tables. The item name for this select list is :P6_DOCUMENT.
The code for the LOV is:
SELECT S.DOC_NAME||' - '|| O.VERSION_NO AS DOC, O.ORG_DOC_CURR_KEY
FROM SUPPORTING_DOCS S,
ORG_DOC_CURR_VER O,
AGREEMENTS H
WHERE
S.DOC_TYPE = 'HISA'
AND S.SUPPORTING_DOC_KEY = O.SUPPORTING_DOC_KEY
AND H.ORG_KEY_LE = O.ORG_KEY
AND O.ORG_KEY=:P6_ORG_KEY_LEWhen the user completes the form, the SUBMIT process is a PL/SQL block consisting of an UPDATE statement to update the AGREEMENTS table based on the selected organization and an INSERT statement to insert a record into the AGREEMENTS_DOC table to store the value stored in :P7_DOCUMENT.
Ok, now here is where my problem starts.
When I first bring up the form and I select the organization I want to update, I click the Search button to find the organization and I receive the following error message: ORA-01722 Invalid Number.
At this point all I'm doing is a basic search. There is no insert/update or anything going on. I'm not understanding why I would be receiving this error message.
The search is based on the database column ORG_KEY_LE whose datatype is NUMBER.
In my application, the item assigned to ORG_KEY_LE is P6_ORG_KEY_LE.
I have a PL/SQL block process created (On Load-Before Header) in the Page Rendering area of my page definition. The PL/SQL code that is written is:
BEGIN
IF :P6_SEARCH_ORG != '0' THEN
:P6_ORG_KEY_LE := :P6_SEARCH_ORG;
END IF;
END;I then have an Item created, :P6_SEARCH_ORG, which is a Select List. In the LOV portion of the page for this item, I have the following:
select ORG_KEY_LE display_value, ORG_KEY_LE return_value
from AGREEMENTS
order by 1The reason for using this table is because this table contains the newly created organization which needs to be updated with the remaining columns of data.
I then have a Search button in the Button area which has the following settings:
Button Position: Region Template Position #CHANGE#.
Condition Type: Value of Item in Express 1 is NULL.
Expression 1: :P6_ORG_KEY_LE.
To troubleshoot this problem, I created two pages, one page to do the UPDATE and the second page to do the INSERT.
The SEARCH functionality in both pages are identical.
When I run my UPDATE page, which only involves updating the missing fields, the process works. I have my search box, I'm able to search for the organization, make my updates, and I'm good.
When I run my INSERT page, which involves inserting the record with the assigned document, I receive the error message after I click the SEARCH button. In order to INSERT the record into this table, I first need to SELECT the organization that was UPDATED in the AGREEMENTS table (using the UPDATE page described in above paragraph). When I select the organization, the user can then assign the appropriate legal document to the organization and insert the record into the AGREEMENTS_DOC table.
Can someone help me with this error message? I'm not sure why I am able to perform my SEARCH on a page with the UPDATE statement, not able to perform the SEARCH on the page with my INSERT statement, and not be able to perform the SEARCH on the page that combines the UPDATE and INSERT statements.
I did some more troubleshooting and I do believe my SUBMIT process which contains the INSERT statement is the issue. I created a fourth page which doesn't have a SUBMIT process. I brought up the form, searched for my organization and the information for that organization appeared. The problem is definately with my UPDATE/INSERT process.
The PL/SQL block for the Submit process is the following:
BEGIN
update
MDD.HISA_AGREEMENTS
set
LAST_UPDATED_BY=V('APP_USER'),
APPROVER_SALUTATION=:P6_APPROVER_SALUTATION,
APPROVER_FIRST_NAME=:P6_APPROVER_FIRST_NAME,
APPROVER_MIDDLE_INITIAL=:P6_APPROVER_MIDDLE_INITIAL,
APPROVER_LAST_NAME=:P6_APPROVER_LAST_NAME,
APPROVER_NAME_SUFFIX=:P6_APPROVER_NAME_SUFFIX,
APPROVER_EMAIL_ADDR=:P6_APPROVER_EMAIL_ADDR,
SPONSOR_EMAIL_ADDR=:P6_SPONSOR_EMAIL_ADDR,
APPROVER_TITLE=:P6_APPROVER_TITLE
where
ORG_KEY_LE=:P6_ORG_KEY_LE
INSERT INTO
HISA_AGREEMENT_DOCS
(HISA_AGREEMENT_DOC_KEY,
ORG_KEY_LE,
APPLICATION_KEY,
STATUS,
STATUS_DATE,
CREATED_BY,
ORG_DOC_CURR_KEY)
VALUES
(HISA_AGREEMENT_DOC_KEY_SEQ.NEXTVAL,
:P6_ORG_KEY_LE,
:P6_APPLICATION_KEY,
'C',
SYSDATE,
V('APP_USER'),
:P6_DOCUMENT)
END;There is something wrong with the above statement and I do not understand what it could be. Can someone help?
Thanks for the help.Hi,
I believe you are on to something.
The select list for item :P6_DOCUMENT appears when I first bring up the form. When I select my organization and receive the error message, I clicked on the Session in the Developer's bar. The value in item/field :P6_DOCUMENT shows %null%.
This is the path in which my user would like to accomplish her task:
1. Select an organization
2. Display the information for that organization from the AGREEMENTS table
3. Enter the data for the remaining fields in the AGREEMENTS table
4. Select the document (:P6_DOCUMENT) from the drop-down.
5. Click Submit
6. Update the AGREEMENTS table with data entered in #3.
7. Insert a record into the AGREEMENTS_DOC table with the selection from #4.
Somehow I need the :P6_DOCUMENT field not to show the %null% during the SEARCH functionality. I think that is causing the problem.
How do I fix this? -
This is driving me nuts!
I am getting this error from OWB during a mapping process.
I have checked the input data and it looks fine.
The run time audit browser just lists all of the steps but does not make it clear which one failed. Is it the last one which is shown (does not have HIDE as selection link.)
I also tried to determine which row was causing the problem and followed the instructions at http://www.nicholasgoodman.com/bt/blog/2005/07/, but no row_id was recorded in the views. In actual fact there wasn't very much audit info other than that the mapping ran and was complete (even though it failed).
In the error message section it has, in order
Map Step - blank
Rowkey - 35204435256
Severity - X
Error Message - ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Object Name - N/A
Object Column - *
From the PL/SQL error I thought it may be trying to insert into a data field that was too small, but all of the columns that are used are full of data of length shorter than all of the target tables.
I have even started running the cursors in the generated PLSQL but I don't get the error by doing this.
Thanks in advance for any tips at all.Thanks for the response.
I managed to work it out and it had to do with the selection criteria of one of the filters.
For anyone else facing this error, check to see if any of the rows being inserted has the same key/identifier as some existing in the target table. If so add an extra condition to the where clause.
This worked for me. -
Error message ORA-0097 missing right parenthesis
Dear all;
Please what is wrong with this particular code because I keep getting the error message ORA-0097: missing right parenthesis
pl/sql: sql statement ignored. Thank you
spectification of package
create or replace package NEW_INFORMATION is
function get_total return number;
procedure daily_tasks;
function display_type_id return varchar2;
end NEW_INFORMATION ;body of package
create or replace package body NEW_INFORMATION is
function get_total return number is
oput number(10);
begin
select count(unique (p1.p_id)) into oput
from table_one p1 where p1.p_id in
('CYY','AIR, '');
return oput;
end;
function display_type_id return varchar2 is
used_cells varchar2(30);
begin
select unique(p1.p_id) as cells into used_cells
from part p1 where p1.pl_id in
('CYY','AIR', '');
return used_cells;
end;
procedure daily_tasks is
name_id varchar2(20);
temp_num number(6,2);
production_daystotal number(6,2);
result_first_cc_A number (7,2);
begin
name_id := display_type_id (); -- used to call the function
temp_num := get_total(); --used to call the function
select name_id, trunc(first_partcal_A.initial_cc_A / temp_num over()) +
case
when mod(first_partcal_A.initial_cc_A,temp_num over()) >= row_number() over(order by name_id) then 1
else 0
end
from
select round(total_as.t_as/prodmonths.proddaysinmonth) as inital_cc_A
from
(select count(*) as t_as from table_one p1 where p1.a_code = 'A') total_as,
(select count(*) as proddaysinmonth from
(select mon_dt + level - 1 as dt, to_char(mon_dt + level - 1, 'DY', 'NLS_DATE_LANGUAGE = ENGLISH') as dy_days from
((select trunc(to_date(m || '/' || a, 'MM/YYYY'), 'MM') as mon_dt
from
(select to_char(sysdate, 'MM') as m,
to_char(sysdate, 'YYYY') as a from dual)))
connect by mon_dt + level - 1 <= last_day(mon_dt))
where dy_days in ('MON', 'TUE', 'WED', 'THU'))prodmonths) first_partcal_A;
order by name_id;
end daily_tasks;
end NEW_INFORMATIONPls try this
CREATE OR REPLACE PACKAGE BODY new_information
IS
FUNCTION get_total
RETURN NUMBER
IS
oput NUMBER (10);
BEGIN
SELECT COUNT (UNIQUE (p1.p_id))
INTO oput
FROM table_one p1
WHERE p1.p_id IN ('CYY', 'AIR', '');
RETURN oput;
END;
FUNCTION display_type_id
RETURN VARCHAR2
IS
used_cells VARCHAR2 (30);
BEGIN
SELECT UNIQUE (p1.p_id) AS cells
INTO used_cells
FROM part p1
WHERE p1.pl_id IN ('CYY', 'AIR', '');
RETURN used_cells;
END;
PROCEDURE daily_tasks
IS
name_id VARCHAR2 (20);
temp_num NUMBER (6, 2);
production_daystotal NUMBER (6, 2);
result_first_cc_a NUMBER (7, 2);
BEGIN
name_id := display_type_id (); -- used to call the function
temp_num := get_total (); --used to call the function
SELECT name_id,
TRUNC (first_partcal_a.initial_cc_a / temp_num /*over()*/)
+ CASE
WHEN MOD (first_partcal_a.initial_cc_a, temp_num) >=
ROW_NUMBER () OVER (ORDER BY name_id)
THEN 1
ELSE 0
END
INTO name_id,
temp_num
FROM (SELECT ROUND (total_as.t_as / prodmonths.proddaysinmonth
) AS inital_cc_a
FROM (SELECT COUNT (*) AS t_as
FROM table_one p1
WHERE p1.a_code = 'A') total_as,
(SELECT COUNT (*) AS proddaysinmonth
FROM (SELECT mon_dt + LEVEL - 1 AS dt,
TO_CHAR
(mon_dt + LEVEL - 1,
'DY',
'NLS_DATE_LANGUAGE = ENGLISH'
) AS dy_days
FROM ((SELECT TRUNC
(TO_DATE (m || '/' || a,
'MM/YYYY'
'MM'
) AS mon_dt
FROM (SELECT TO_CHAR
(SYSDATE,
'MM'
) AS m,
TO_CHAR
(SYSDATE,
'YYYY'
) AS a
FROM DUAL)))
CONNECT BY mon_dt + LEVEL - 1 <=
LAST_DAY (mon_dt))
WHERE dy_days IN ('MON', 'TUE', 'WED', 'THU')) prodmonths) first_partcal_a
ORDER BY name_id;
END daily_tasks;
END new_information;i have added INTO clause
and removed over() after MOD and TRUNC
Maybe you are looking for
-
Under search history in the Maps app,...along with all the other places I did search for, some addresses comes up that I'm not familiar with, and they stay there. In some cases I didn't search for them at all. Some I may have. A name also appears, un
-
Experts:-In asset data uploading what we can make the settings before , after uploading what make the settings,( i face this my client interview) plz.....help for me.
-
Hi, Am a bit new to JMS. Can anyone let me know if there is a way to compute the size of the queue? The requirement is as below: Task 1: Sends messages to the queue //Create connection, create session //Send message to the queue // Close connection A
-
Will X-FI be available as a PCIXpress ca
Am just about to buy a new motherboard, but these new PCIXpress boards don't feature a lot of PCI slots anymore. I'm currently using a Audigy2 ZS PPRO card and am expecting to upgrade to your new X-FI based cards. If these will be availabke in PCIXpr
-
T61p: Cannot wake computer from hibernation despite changing the power settings XP
After some time away from the computer, it seems to be sleeping or hibernating (I don't know the difference). The screen is dark. Sometimes, I can wiggle the mouse or pad and it wakes up, but now, I have to hold down the on/off button and power off a