PLSQL ERROR. REQUIRED HELP...!!
Hi,
I developed the following code which is throwing PLSQL ERROR. (error is below the code). Pls Help me out.
CODE :
Declare
vRow binary_integer;
v_pro_id number;
i NUMBER := 1;
cursor c1 IS (select BUSINESS_UNIT_ID, OBJECT_TYPE_ID, TASK_ID, CHECKLIST_HEADER_ID, CHECKLIST_ID, DEFAULT_SELF_REVIEW_FLAG, DEFAULT_PEER_REVIEW_FLAG, DEFAULT_ORIGIN_OF_DEFECTS, DEFAULT_ADMIN_SEVERITY, DEFAULT_ADMIN_CLASSIFICATION from RCL.RCL_CL_ADMIN_SETUP where BUSINESS_UNIT_ID = :P270_BUID);
rec c1%ROWTYPE;
TYPE bu IS TABLE OF RCL.RCL_CL_ADMIN_SETUP%ROWTYPE INDEX BY BINARY_INTEGER;
bu_rec bu;
begin
FOR k IN 1..wwv_flow.g_f01.count LOOP
vRow := wwv_flow.g_f01(k);
open c1;
fetch c1 into rec;
bu_rec(i) := rec;
WHILE (c1%FOUND) LOOP
i := i + 1;
FETCH c1 INTO rec;
bu_rec(i) := rec;
end loop;
close c1;
FOR j IN 1..i-1 LOOP
select id into v_pro_id from projects where id = wwv_flow.g_f32(vRow);
INSERT INTO RCL.RCL_CL_PROJECT_SETUP
(BUSINESS_UNIT_ID
,PROJECT_ID
,OBJECT_TYPE_ID
,TASK_ID
,CHECKLIST_HEADER_ID
,CHECKLIST_ID
,DEFAULT_SELF_REVIEW_FLAG
,DEFAULT_PEER_REVIEW_FLAG
,PROJECT_ORIGIN_OF_DEFECTS
,DEFAULT_PROJECT_SEVERITY
,DEFAULT_PROJECT_CLASSIFICATION)
VALUES
(bu_rec(j).BUSINESS_UNIT_ID
,v_pro_id
,bu_rec(j).OBJECT_TYPE_ID
,bu_rec(j).TASK_ID
,bu_rec(j).CHECKLIST_HEADER_ID
,bu_rec(j).CHECKLIST_ID
,bu_rec(j).DEFAULT_SELF_REVIEW_FLAG
,bu_rec(j).DEFAULT_PEER_REVIEW_FLAG
,bu_rec(j).DEFAULT_ORIGIN_OF_DEFECTS
,bu_rec(j).DEFAULT_ADMIN_SEVERITY
,bu_rec(j).DEFAULT_ADMIN_CLASSIFICATION);
END LOOP;
END LOOP;
end;
Error :
1 error has occurred
ORA-06550: line 11, column 25: PLS-00302: component 'RCL_CL_ADMIN_SETUP' must be declared ORA-06550: line 11, column 1: PL/SQL: Item ignored ORA-06550: line 21, column 14: PLS-00382: expression is of wrong type ORA-06550: line 21, column 1: PL/SQL: Statement ignored ORA-06550: line 25, column 14: PLS-00382: expression is of wrong type ORA-06550: line 25, column 1: PL/SQL: Statement ignored ORA-06550: line 46, column 4: PLS-00487: Invalid reference to variable 'RCL.RCL_CL_ADMIN_SETUP%ROWTYPE'.
Regards,
VM
Complete Grant. Its working now.. Just got a solution from some forum. It happened due to a SYNONYMs. There was a SYNONYM name "RCL". I dropped that synonym and its working but the values are not getting inserted now... :(
Similar Messages
-
ERP6.0 installation error: require help
hi everyone,
i am installing erp6 sr3 abap+java on linux rhel5 and oracle10.2.0.2.
i am stuck with phase 12 "create database"..... the error is below:
ERROR 2011-01-20 11:39:24.936
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/orafiles/SE0/origlogA/cntrl/cntrlSE0.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 2
what i have tried;
1) gave permissions to owner and group
2) gave 777 to /orafiles(after 3 days of unsuccessful attempts)
3) linux kernel parameters set according to note 1048303
4) hard soft limit for nofile set appropriately
5) fs.file-max parameter set accordingly
6) sqlplus show parameter control_file points to the right locations
7) IBM java paramaters set
8) umask 022 set
9) tmp, TMP variables set
please can anyone help, im running out of ideas
Thank you.
Edited by: Shanser on Jan 20, 2011 2:36 PMi did give 777 to /orafiles .... but still same error... this is wat i really dont understand, why inspite of giving 777 it is not able to create....
the file system is :
/dev/vg0/rootvol / ext3 defaults 1 1
/dev/vg0/usr /usr ext3 defaults 1 2
/dev/vg0/freespace /freespace ext3 defaults 1 2
/dev/vg0/tmp /tmp ext3 defaults 1 2
/dev/vg0/export /export ext3 defaults 1 2
/dev/vg0/var /var ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/vg0/swapa swap swap defaults 0 0
/dev/vg0/swapb swap swap defaults 0 0
/dev/vg0/swap2 swap swap defaults 0 0
/dev/vg0/swap1 swap swap defaults 0 0
/dev/vg001/usrsapSE0 /usr/sap/SE0 ext3 defaults 1 2
/dev/vg002/usrsaptrans /usr/sap/trans ext3 defaults 1 2
/dev/vg003/sapmnt /sapmnt ext3 defaults 1 2
/dev/vg004/sapstage /sapstage ext3 defaults 1 2
/dev/vg005/oraunix /oraunix ext3 defaults 1 2
/dev/vg006/orafilesSE0 /orafiles/SE0 ext3 defaults 1 2
/dev/vg007/oraarchiveSE0 /oraarchive/SE0 ext3 defaults 1 2
/dev/vg008/orabackupSE0 /orabackup/SE0 ext3 defaults 1 2
/dev/vg009/swap01 swap swap defaults 0 0 -
How to explicitely write PLSQL code for "Help - Display Error"? [SOLVED]
I'm using menu DEFAULT&SMARTBAR and I'd like to write command in PLSQL code for "Help - Display Error" to display error. Has anyone any idea how to do this? I can not find syntaks in form help for this.
Message was edited by:
marussigDisplay_Error;
-
I am geting following error please help
ERROR-
RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://www.nature.com/principles/webservice/login" errorID=2032]. URL: http://www.nature.com/principles/webservice/login"]
code-
operation = new Operation(null, "login");
operation.url = "login";
argsArray = new Array("login_id", "login_password", "unique_machine_id");
operation.argumentNames = argsArray;
operation.method = "POST";
operation.serializationFilter = filter;
operations.push(operation);
public function login(loginId:String, loginPassword:String, uniqueMachineId:String):AsyncToken
trace(loginId, loginPassword, uniqueMachineId);
var _internal_operation:AbstractOperation = _service.getOperation("login");
var _internal_token:AsyncToken = _internal_operation.send(loginId, loginPassword, uniqueMachineId);
return _internal_token;
login service is being called from server that is in java-
package com.nature.ebook.components.auth
import com.nature.ebook.data.UserInfo;
import com.nature.ebook.services.CallStatus;
import com.nature.ebook.services.IEBookService;
import com.nature.ebook.services.XMLServiceParser;
import flash.events.EventDispatcher;
import flash.events.IEventDispatcher;
import mx.controls.Alert;
import mx.rpc.AsyncToken;
import mx.rpc.Fault;
[ManagedEvents("authSuccess, authFail")]
public class AuthCommand extends EventDispatcher
public function AuthCommand(target:IEventDispatcher=null)
[Inject]
public var service:IEBookService;
[Inject]
public var auth:AuthModel;
// Methods
* This command dispatches event AuthenticationEvent.AUTH_FAIL when the service return failt
* @param fault Fault
public function error(fault:Fault):void
trace(fault);
var e:AuthenticationEvent = new AuthenticationEvent(AuthenticationEvent.AUTH_FAIL, null, null, CallStatus.getServerFaultCall());
dispatchEvent(e);
* This command dispatches event when the service return rezult Array
* @param result Array
* if cs.success <code>true </code> dispatch AuthenticationEvent.AUTH_SUCCESS
* if cs.success <code>false</code> dispatch AuthenticationEvent.AUTH_FAIL
public function result(result:*):void
if (result)
var cs:CallStatus = XMLServiceParser.getCallStatus(result);
if (cs.success)
var us:UserInfo = XMLServiceParser.getUserInfo(result);
var e:AuthenticationEvent = new AuthenticationEvent(AuthenticationEvent.AUTH_SUCCESS, us, null, cs);
dispatchEvent(e);
else
e = new AuthenticationEvent(AuthenticationEvent.AUTH_FAIL, null, null, cs);
dispatchEvent(e);
public function execute(event:AuthenticationEvent):AsyncToken
return service.login(event.user.loginId, event.magicWord, event.user.uniqueMachineId);Sorry for the confusion. After starting the WLS 6.0 server, use your browser
to launch the console, verify that the Frobable EJB is correctly deployed as
frobtarget with the correct class path specified. The 6.0 JAAS sample is
trying to invoke on examples.security.acl.Frobable, make sure this is the
deployed instance. This is an error in the JAAS example SampleAction.java
file since the JAAS sample actually builds examples.security.jaas.Frobable,
this bug will be corrected in service pack 1 which will be available
shortly.
nancy coelho <[email protected]> wrote in message
news:3a9ee0af$[email protected]..
Hi! I am new to JAAS and also to Weblogic server6.0. I am trying to run
JAAS sample and geting the following error . please help
Thanks,
Nancy
E:\bea\wlserver6.0\samples>java examples.security.jaas.SampleClient
t3://localho
st:7001
Using Configuration File: Sample.policy
Login Module Name: examples.security.jaas.SampleLoginModule
Login Module Flag: required
username: ncoelho
password: prabhala
javax.naming.NameNotFoundException: Unable to resolve frobtarget.Resolved:
'' U
nresolved:'frobtarget' ; remaining name ''
at
weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOut
boundRequest.java:90)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:247)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNod
e_WLStub.java:121)
at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at examples.security.jaas.SampleAction.run(SampleAction.java:61)
at javax.security.auth.Subject.doAs(Subject.java:80)
at examples.security.jaas.SampleClient.main(SampleClient.java:114)
Failed to frob
E:\bea\wlserver6.0\samples> -
Burning a DVD - keep getting encoding errors message, help?
I have a video that I made out of videos, photos, and music that is less than an hour in length. I selected highest quality b/c it was less than the available 4.7 GB of available space. It took over a day to burn and at the very end it gave me a message saying that it was having encoding errors. Help! I am trying to burn it again at reduced quality, but prefer to have it at highest quality.
Thanks,
savageclan7savageclan7
Let us get the details into perspective and then we will advance from there.
What version of Premiere Elements are you using and on what computer operating system is it running?
What are the properties of the video that went on that Timeline....video compression, audio compression, frame size, frame rate, interlaced or progressive, file extension, pixel aspect ratio....photos - how many and what pixel dimensions??
Based on the properties of your source media, what did you or the project select as the project preset?
When you go to the burn dialog for your burn to DVD, what did the quality area of the burn dialog show for Space Required and Bitrate (with a check mark next to "Fit Content to Available Space"? The only time I would work without the check mark there is if I was getting Data Rate Error message and I had to set the Bitrate manually to move forward.
What is the exact wording of the message(s) that you are getting once you hit Burn in the burn dialog?
Let us start here and then we can decide what next.
If you need clarification on anything written, please do not hesitate to ask for that clarification.
Thank you.
ATR -
Error "Requires authentification" in DPS App Builder
Hi everybody.
WHat is the cause of the error "Requires authentification" when trying to start DPS App Builder ?GREAT NEWS !!!
We connected our acrobat.com account with Safari.
On our dashboard when we had clicked on DPS App Builder on the left, Safari offered to save us from Apple Developer account !!!!
And when this recording was made, DPS App Builder no longer ask any questions !!
When we connected with Firefox on our acrobat.com account and we clicked on DPS App Builder, any proposed registration had been sought by Firefox.
Effectively, we had not yet registred our company with Apple Developer.
So, the problem seems to be in the registration with Apple, and apparently, DPS App Builder doesn't want to be launched if this registration is not yet made.
Well, now DPS App Builder works normally
Thanks for your help.
I hope that this discussion can help someone else who will be blocked with DPS App Builder.
(PS : can you inform me if this blocking is known in Adobe DPS development team ?) -
Error "Requires authentification" in DPS App Builder (2)
Error "Requires authentification" when trying to start DPS App Builder.
This discussion had already start yesterday, but this morning it is impossible to reply in this discussion (??!!!).
I don't know what !!
So I create a new oneGREAT NEWS !!!
We connected our acrobat.com account with Safari.
On our dashboard when we had clicked on DPS App Builder on the left, Safari offered to save us from Apple Developer account !!!!
And when this recording was made, DPS App Builder no longer ask any questions !!
When we connected with Firefox on our acrobat.com account and we clicked on DPS App Builder, any proposed registration had been sought by Firefox.
Effectively, we had not yet registred our company with Apple Developer.
So, the problem seems to be in the registration with Apple, and apparently, DPS App Builder doesn't want to be launched if this registration is not yet made.
Well, now DPS App Builder works normally
Thanks for your help.
I hope that this discussion can help someone else who will be blocked with DPS App Builder.
(PS : can you inform me if this blocking is known in Adobe DPS development team ?) -
Windows - No Disk Error - Please help!
Windows - No Disk Error - Please help!
Hi,
I have the following set up:
* Lenovo T-61p
* Windows XP Pro, SP 3
* HP Photosmart 8250 printer (with nothing plugged into the various card readers, and USB slot in the printer)
I am getting the following error:
Windows - No Disk
Exception Processing Message 0xc0000013 Parameters 0x75CE023C
0x84C40C84 0x75CE023C
I have done a lof experimenting and thru process of elimination, and believe I have determined that this only happens when the HP Photosmart 8250 printer is plugged in to the USB slot of the computer.
I can stop it from happening by safely removing hardware, and removing the drive that the 8250 creates on your computer when you plug it in. In my case, this is drive E. I'm guessing if there was something in the the various card readers, and USB slot in the printer, that's what those would be, but I don't those use those functions of the printer.
I understand there is more at work than simply the printer, because I did not used to get this error, so some software changed as well, that is scanning all ports, and finding a drive that has no disk, and producing the error.
A simple google search finds a lot people all over the world having this problem, and are solving it in different ways, because the suspected source is different: Norton, HP, etc.
I have tried everything I have read, and the only thing that works was my own idea, of manually safely removing the drive the printer creates each time I plug in the printer.
Anyone every any better, more permanent solutions? Or know what the real root of the problem is? What is scanning all the drives and being showing an error message because it found an empty drive?
Thanks and Happy Holidays/New Year!I've been getting the same error on my 4G nano for the past week. I've had my nano for about a month and the first few weeks were fine. Tried it on 2 different computers (Vista and XP) and same problem. Tried it on a 3rd (XP) and it started ok. Problem started coming back after a day.
I was able to find a quick fix though. I noticed that sometimes the message says something like "iexplore.exe... no disk..." even if I don't even use IE. What I do is end iexplore.exe on task manager before running iTunes and syncing my nano. I don't get the error whenever I do this, but one drawback is that the contents of my nano suddenly pops up in a window - even when disk use is not enabled.
I've reset/restored my nano dozens and dozens of times to make sure it's clean. Leads me to believe it's a driver issue. Either that or I have a friggin malware problem I can't seem to find.
I'll be posting updates every now and then. I'm no expert so I'm hoping an Apple expert also steps in to give some input. -
my iphone 4s wont turn on with out being pluged in and when i unplug it it dies instantly i pluged it in put it in dfu mode and tried to restore it hoping it might help but its stuck in dfu and has restore error 21 help!!!
Hey jestinsinclairr,
Thanks for using Apple Support Communities.
After reviewing your post, it sounds like you had one issue and then got a second trying to resolve the first. A frustrating situation for sure. The first article linked has what to do if it is not powering on unless plugged in. The second article addresses the error you are receiving when trying to restore.
iPhone: Hardware troubleshooting
http://support.apple.com/kb/TS2802
Will not turn on, will not turn on unless connected to power, or unexpected power off
Resolve iOS update and restore errors
http://support.apple.com/kb/TS3694#10
Check for hardware issues
Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
Have a nice day,
Mario -
my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.
Hey erinoneill24,
Thanks for using Apple Support Communities.
Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
iPod displays "Use iTunes to restore" message
http://support.apple.com/kb/ts1441?viewlocale=it_it
If you can't update or restore your iOS device
http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
Have a nice day,
Mario -
I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)
Although your message isn't mentioned in the symptoms, let's try the following document with that one:
Apple software on Windows: May see performance issues and blank iTunes Store -
How to handle the plsql error occuring in the exception block
We know how to handle exceptins which occur in BEGIN block.
But am unable to catch the exception in the exception block. Am writing an erroeneous code so that the control will go to exception block and there is also one plsql error, but am unable to handle that error, it's returning the error to the calling environment.
DECLARE
cnt NUMBER(5):=0;
BEGIN
select 'debalina' INTO cnt from dual;
DBMS_OUTPUT.PUT_LINE(to_char(cnt));
EXCEPTION
WHEN invalid_number THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
cnt:='deba';
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
END;
please suggest me how to catch this exception?Hi,
DECLARE
cnt NUMBER(5):=0;
BEGIN
select 'debalina' INTO cnt from dual;
DBMS_OUTPUT.PUT_LINE(to_char(cnt));
EXCEPTION
WHEN invalid_number THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
cnt:='deba';
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
END;
First of all your namee exception which you have posted i.e invalid_number itself is wrong.
You need to use named exception VALUE_ERROR for catching the exception in the main block.
SQL> DECLARE
2 cnt NUMBER(5):=0;
3 BEGIN
4 select 'debalina' INTO cnt from dual;
5 DBMS_OUTPUT.PUT_LINE(to_char(cnt));
6 EXCEPTION
7 WHEN Invalid_number THEN
8 DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
9 end;
10 /
DECLARE
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at line 4
SQL> DECLARE
2 cnt NUMBER(5):=0;
3 BEGIN
4 select 'debalina' INTO cnt from dual;
5 DBMS_OUTPUT.PUT_LINE(to_char(cnt));
6 EXCEPTION
7 WHEN VALUE_ERROR THEN
8 DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
9 end;
10 /
error has occured inside main block
PL/SQL procedure successfully completed.Your doubt regarding catching the exception in exception block, you can execute as below, by nesting a Begin block inside the exception block itself.
SQL> DECLARE
2 cnt NUMBER(35):=0;
3 BEGIN
4 select 'debalina' INTO cnt from dual;
5 DBMS_OUTPUT.PUT_LINE(to_char(cnt));
6 EXCEPTION
7 WHEN Value_error THEN
8 DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
9 Begin
10 cnt:='deba';
11 Exception
12 WHEN OTHERS THEN
13 DBMS_OUTPUT.PUT_LINE('error has occured inside exception block');
14 End;
15 END;
16 /
error has occured inside main block
error has occured inside exception block
PL/SQL procedure successfully completed.Hope your doubt is clear.
Twinkle -
I purchased a IMac in Feb later I added a Seagate ext. hard drive. On April 29 I received an errors that the ext. Drive may be a read only and not backing up files. I'm unable to check disk permission or correct errors. Help would be appreciated.
Click on the hard drive on the desktop, then File > Get Info. What does it say about permissions? If this is just a data drive you may want to consider "ignore ownership on this volume".
Otherwise I can only say I have not been reading good things about Seagate drives recently. I have some of their rock-solid ones from about 10 years ago (still running well), but now...? -
My ipad2 won't accept my apple password for new app install. I've tried several time and get a pop up "unknown error". Help?
Sign out of your account, restart the iPad and then sign in again.
Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Go back to Settings>iTunes & App Store>Sign in and then try again. -
Acrobat Error - need help! - Acrobat 9 Pro
When I try to open an acrobat files my it trys to Open EVERY acrobat file on my computer and does so until I get the following message
"There was an error opening this document. The maximum number of files are already open. No other files can be opened or printed until some are closed"
Then I have to force quit.
This just started happending a few months ago
I am on a Mac OSX
I need help! Any suggestions?
DebbieI have a 10.5.8
I am not that technical so not sure what you mean about applejack etc.
Thanks for helping!
Debbie
Date: Sat, 10 Apr 2010 13:03:28 -0600
From: [email protected]
To: [email protected]
Subject: Acrobat Error - need help! - Acrobat 9 Pro
What version of OS X? Some people have luck by clearing their caches. This can be done with Applejack in 10.5. Onyx will work in SL.
>
Maybe you are looking for
-
Internet security suites for Mac
With the various internet security suites on the market, I wonder which one would be a good one to purchase? I tend to be very leery of the reviews I read of these various security suites. Therefore any feedback would be most appreicated. Thanks D
-
An ant just crawled into my macbook air, will it damage the hardware? It went inside my computer, and I don't know what to do!
-
Offline pda usage for ipod touch
so I want to buy this for my wife and I did a quick test drive at the store but want to know more. 1) If I sync a google calendar through ical to my ipod, will that data be available to look up when it's offline (no internet)? EX: i sync in the morni
-
Transaction RZ10 is lock how parameter change of profile
please, y help me, when I change some settings in the rz10 to record the transaction is blocked me thank you very much for the cooperation and support I can provide LEONOR ELENA DIEZ QUIROZ
-
Iphoto plist delete won't work?
I'm running OS X 10.8.2, having updated iPhoto to its 9.4 update and every time I try and run the program it tells me "Iphoto quit unexpectadly". I have never even seen my iPhoto application because if I press Reopen the exact same screen shows. And