ERROR - PDE-PEP006 ENCODED PROGRAM UNIT HAS A UNKNOWN FORMAT
I am learning Developer 2000. After attaching talbotstandar.pll library, when I try to expenad Set_Up_List procedre, I am getting this error "ERROR - PDE-PEP006 ENCODED PROGRAM UNIT HAS A UNKNOWN FORMAT". Because of this I am not able to proceed, please give me soution to get rid of this problem as soon as possible.
My email is [email protected]
ERROR - PDE-PEP006 ENCODED PROGRAM UNIT HAS A UNKNOWN FORMAT
Hai friends
i have a form developed in forms 10g and reports 10g.
the same form when i when iam trying to open in forms 6i/reports6i,everything is getting(layout) but when i am trying to see code it was blank. why.
can anybody help to solve this problem or can any body give me the solutions to my email
thanks
vas
E-mail :[email protected]
Similar Messages
-
PDE-PEP006 Encoded Program unit has an unknown format.
Hi All:
I am using Form builder [32 Bit] Version 6.0.8.23.2 with Oracle 10g.
I tried to open a form in form builder which is also created in Form 6i, system return following error:
PDE-PEP006 Encoded Program unit has an unknown format.
and form opened, but the coding of all triggers, and program units was not there, although the triggers and program units exists and can be seen but without coding.
Please also tell me can I convert the form into text format thru command prompt?
What could be the reason?
Thanks
HassanFrancois
The only way to get the "new" pl/sql code is to open
the new version and copy the code, then paste it in
the old version's builder.
You mean to say that open the new version form in new version builder? or in old version?
Thanks
Hassan -
PDE-PEP006 encoded program unit has an unknowen fromat error
hi
i have an old project made by developer 10g suit , now i work with latest release of developer 10g suit and i want to compile this project on it to run.
i have PDE-PEP006 error when i just load the forms of the project and no code is shown , i search in many sits and this community but i could`t get out the solution .
please what can i do in few steps to recompile the project in my new developer 10g suit, avoid losing this project and don`t Chang the release of my developer 10g suit witch i work with now , my career depends on that
thank youHi,
As i mentioned in my previous reply,
1. If you have minimum forms, you can open them in the previous version, delete the program units and copy paste from the latest version.Do the following steps.
1. Take a backup of your forms.
2. Open one set of the form in 10g.
3. Open another set of form in 9i.
4. Delete the trigger / program unit (not the code, delete the trigger itself, by selecting it in the object navigator and press the X icon) in the form opened in 9i builder
5. Create the trigger manually , copy paste the code from the form opened in 10g builder.
HTH.
-Arun -
Error PDE-PPU017: "The program unit source must define a Subprogram Body or Package."
Hi,
Wonder what the error means? I've tried to add package specs and body but still can't resolve.
Any help will be great!
THANX
ireneVANPERSIE,
It looks like you are mixing sytax. Some of the Syntax used in a Database trigger (such as Before Insert, After Insert, etc) is specific to database triggers. Referring to :NEW and :OLD are specific to database triggers and can't be used as you are using them, unless you have data blocks names NEW and OLD. Also, when you refer to a item in a block, you must prefix the block or item name with the colon ":". Also, as aweiden points out, you define your return data type as "TRIGGER". The return type of a Function must be a valid Oracle data type. Therefore, your function should return a BOOLEAN, NUMBER, VARCHAR, or even a Ref Cursor, just to name a few. From the looks of your code, your function would simply return a value to indicate that the INSERT was successful. Therefore, you could rewrite your function something like:
CREATE OR REPLACE FUNCTION TESTTRIG_BODY() RETURNS BOOLEAN AS
BEGIN
/* This example assumes you have data blocks in your form called: NEW_BLOCK and OLD_BLOCK. */
INSERT INTO REPORT_TABLE
(NUM_COL, OLD_VAL, NEW_VAL)
VALUES
(:NEW_BLOCK.NUM_COL, :OLD_BLOCK.CHAR_COL, :NEW_BLOCK.CHAR_COL);
RETURN TRUE;
EXCEPTION
WHEN OTHERS THEN
RETURN FALSE;
END;Also, is there a particular reason you are manually INSERTing a record versus letting Oracle Forms handle this for you?
Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks! -
Getting Errors: could not find program unit being called ORA-0651
Hello,
I'm new to Oracle and I need your help. I'm using Oracle SQL Developer and I have a package that compiles without errors (only warnings) but it still shows a little red x in package's body icon. I get the following error message:
ORA-04063: package body "SAFETYUSER.SEL_INCIDENT_INFO" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1
Here is the body of the package. I would appreciate your help.:
create or replace PACKAGE BODY "SEL_INCIDENT_INFO" as
procedure sel_0022Info
in_ID0022 in number,
out_eName out t_varChar2,
out_mName out t_varChar2,
out_Work out t_varChar2,
out_Loc out t_varChar2,
out_Sign out t_varChar2,
out_obsDate out t_varChar2,
out_veh out t_varChar2,
out_vehType out t_varChar2,
out_vehTag out t_varChar2,
out_secSup out t_varChar2,
out_dlic out t_varChar2,
out_dlType out t_varChar2,
out_rc out t_varChar2,
out_JTitle out t_varChar2,
out_actTake out t_varChar2,
out_jobfunc out t_varchar2,
out_ecuid out t_varchar2,
out_mcuid out t_varchar2
is
-- cursor to get ecuid ID for entered employee cuid
CURSOR cur0022 IS
select o.ecuid,o.mcuid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID (NMC 11/28/2006)
select o.euid,o.muid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID
from TBL_0022 o
where o.id0022 = in_ID0022;
-- variables
out_eFN varchar2(50);
out_mFN varchar2(50);
out_eJF varchar2(4);
out_DL varchar2(100);
out_DLT varchar2(100);
out_Sec varchar2(100);
out_Vh varchar2(50);
out_VhT varchar2(50);
out_VhTg varchar2(50);
out_eID varchar2(7);
out_eRC varchar2(10);
out_signFull varchar2(50);
out_eJT varchar2(100);
-- rows for cursors
row0022 cur0022%rowtype;
begin
open cur0022;
fetch cur0022 into row0022;
sel_eFullName(row0022.ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT); (NMC 11/28/2006)
sel_eFullName(row0022.euid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT); -- Changed ecuid to euid NMC 11/28/2006
--sel_mFullName(row0022.mcuid,out_mFN);
sel_DL(row0022.DLID,out_DL,out_DLT);
sel_Sec(row0022.secid,out_Sec);
sel_Veh(row0022.vehid,out_Vh,out_VhT,out_VhTg);
out_veh(1) := out_vh;
out_vehType(1) := out_vht;
out_vehTag(1) := out_vhtg;
out_secSup(1) := out_Sec;
out_dlic(1) := out_DL;
out_dlType(1) := out_DLT;
out_eName(1) := out_eFN;
out_mName(1) := out_mFN;
out_Work(1) := row0022.workperf;
out_Loc(1) := row0022.loc;
sel_mfullname(row0022.sign,out_signFull);
out_Sign(1) := row0022.sign;--out_signFull;
out_obsDate(1) :=row0022.obsdate;
out_actTake(1) :=row0022.action;
out_jobFunc(1) := out_eJF;
out_rc(1) := out_eRC;
out_ecuid(1) := row0022.ecuid; (NMC 11/28/2006)
out_ecuid(1) := row0022.euid; -- Changed ecuid to euid. (NMC 11/28/2006)
out_mcuid(1) := row0022.mcuid; (NMC 11/28/2006)
out_mcuid(1) := row0022.muid; -- Changed mcuid to muid. (NMC 11/28/2006)
out_JTitle(1) := out_eJT;
close cur0022;
end;
procedure sel_eFullName
in_0022EcuID in varchar2, --number,
out_eFN out varChar2,
out_eJF out varchar2,
out_eID out varchar2,
out_eRC out varchar2,
out_eJT out varchar2
is
-- cursor to get ecuid ID for entered employee cuid
CURSOR curCUID IS
select e.efn, e.eln,e.jobfunc,ecuid,rc,e.eid, e.jTitle
from TBL_EINFO e
where e.ecuid = in_0022ecuid
order by e.eid desc;--eid = in_0022EID;
-- rows for cursors
rowCUID curCUID%rowtype;
begin
open curCUID;
fetch curCUID into rowCUID;
out_eFN := rowCUID.efn||' '||rowCUID.eln;
out_eJF := rowCUID.jobfunc;
out_eID := rowCUID.eid;--ecuid;
out_eRC := rowCUID.rc;
out_eJT := rowCUID.jTitle;
close curCUID;
end;
procedure sel_mFullName
in_mcuid in varchar2,
out_mFN out varChar2
is
-- cursor to get ecuid ID for entered employee cuid
CURSOR curCUID IS
select m.mname
from TBL_managers m
where m.mcuid = in_mcuid;
-- rows for cursors
rowCUID curCUID%rowtype;
begin
open curCUID;
fetch curCUID into rowCUID;
out_mFN := rowCUID.mname;
close curCUID;
end;
procedure sel_DL
in_DLID in number,
out_DL out varChar2,
out_DLT out varChar2
)is
-- get Last DL
CURSOR curDL(parDLID number)IS
SELECT D.DL, D.DLTYPE, D.DLID
FROM tbl_DL D
WHERE D.DLID = parDLID;
-- rows for cursors
rowDL curDL%rowtype;
begin
-- get DL if not 0
open curDL(in_DLID);
fetch curDL into rowDL;
if(rowDL.DL!='0')then
out_DL := rowDL.dl;
else
out_DL := '';
end if;
if(rowDL.DLType !='0')then
out_DLT := rowDL.dltype;
else
out_DLT := '';
end if;
close curDL;
end;
procedure sel_Sec
in_SecID in number,
out_Sec out varChar2
)is
-- get Last Second Supervisor
CURSOR curSec(parSecID number)IS
SELECT s.Super
FROM tbl_SecSup s
WHERE s.secsID = parSecID;
-- rows for cursors
rowSec curSec%rowtype;
begin
-- get Sec if not 0
open curSec(in_SecID);
fetch curSec into rowSec;
if(rowSec.Super!='0')then
out_Sec := rowSec.Super;
else
out_Sec := '';
end if;
close curSec;
end;
procedure sel_Veh
in_VehID in number,
out_Veh out varChar2,
out_VType out varChar2,
out_VTag out varChar2
)is
-- get Last Second Supervisor
CURSOR curVeh(parVehID number)IS
SELECT v.vehicle, v.vehtype, vehtagnumber
FROM tbl_Vehicle v
WHERE v.vehID = parVehID;
-- rows for cursors
rowVeh curVeh%rowtype;
begin
-- get vehicle if not 0
open curVeh(in_VehID);
fetch curVeh into rowVeh;
if(rowVeh.vehicle!='0')then
out_Veh := rowVeh.Vehicle;
else
out_Veh := '';
end if;
if(rowVeh.vehtype!='0')then
out_VType := rowVeh.vehtype;
else
out_VType := '';
end if;
if(rowVeh.vehtagnumber!='0')then
out_VTag := rowVeh.vehtagnumber;
else
out_VTag := '';
end if;
close curVeh;
end;
procedure sel_ObsIds(
in_IncID in number,
out_obsID out t_number
is
-- cursor
cursor curFindObsID is
select o.obsID from tbl_obs o where o.id0022 = in_incID;
-- variables
obsExist tbl_Obs.obsid%type;
pcount number default 1;
begin
FOR xLoop IN curFindObsID
LOOP
out_obsID(pcount) := xLoop.obsID;
pcount := pcount + 1;
END LOOP;
end;
procedure sel_ObsIdsWSitem(
in_IncID in number,
in_SitemID in number,
out_obsID out t_number
is
-- cursor
cursor curObsIDwSitemID is
select o.obsID from tbl_obs o where o.id0022 = in_incID and o.sitem_id = in_sitemID;
-- variables
pcount number default 1;
begin
FOR xLoop IN curObsIDwSitemID
LOOP
out_obsID(pcount) := xLoop.obsID;
pcount := pcount + 1;
END LOOP;
end;
procedure delObsId(
in_obsID in number
is
begin
DELETE FROM tbl_obs o WHERE (o.obsID=in_obsID);
end;
procedure sel_last0022(
in_ecuid in varchar2,
--in_mcuid in varchar2,
out_secSup out t_varChar2,
out_dlic out t_varChar2,
out_dlType out t_varChar2,
out_rc out t_varChar2,
out_veh out t_varChar2,
out_vehtag out t_varChar2,
out_vehtype out t_varChar2,
out_eName out t_varChar2,
out_mcuid out t_varChar2,
out_ecID out t_varchar2,
out_jobFunc out t_varChar2,
out_jTitle out t_varchar2
is
---cursor
cursor curGetLast0022 is
select o.vehid, o.dlid, o.secid, o.eid, o.mcuid (NMC 11/28/2006)
select o.vehid, o.dlid, o.secid, o.eid, o.muid
from tbl_0022 o
-- where o.ecuid = in_ecuid and o.mcuid = in_mcuid (NMC 11/28/2006)
where o.euid = in_ecuid and o.mcuid = in_mcuid Changed ecuid to euid (NMC 11/28/2006)
order by o.id0022 desc;
---variables
row0022 curGetLast0022%rowtype;
out_eFN varchar2(50);
out_mFN varchar2(50);
out_eJF varchar2(4);
out_DL varchar2(50);
out_DLT varchar2(50);
out_Sec varchar2(50);
out_Vh varchar2(50);
out_VhT varchar2(50);
out_VhTg varchar2(50);
out_eRC varchar2(10);
out_eID varchar2(7);
out_eJT varchar2(100);
pOut_mCuid varchar2(7);
begin
open curGetLast0022;
fetch curGetLast0022 into row0022;
sel_eFullName(in_ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT);
--sel_mFullName(in_mcuid,out_mFN);
sel_DL(row0022.DLID,out_DL,out_DLT);
sel_Sec(row0022.secid,out_Sec);
sel_Veh(row0022.vehid,out_Vh,out_VhT,out_VhTg);
out_veh(1) := out_vh;
out_vehType(1) := out_vht;
out_vehTag(1) := out_vhtg;
out_secSup(1) := out_Sec;
out_dlic(1) := out_DL;
out_dlType(1) := out_DLT;
out_eName(1) := out_eFN;
if(row0022.mcuid IS NULL)then
sel_EInfoMCuid(in_ecuid,pOut_mCuid);
out_mcuid(1) := pOut_mCuid;
else
out_mcuid(1) := row0022.mcuid; (NMC 11/28/2006)
out_mcuid(1) := row0022.muid; -- Changed mcuid to muid. (NMC 11/28/2006)
end if;
--sel_EInfoMCUID(in_ecuid,pOut_mCuid);
--out_mcuid(1) := pOut_mCuid;
out_rc(1) := out_eRC;
out_ecID(1) := out_eID;
out_jobfunc(1) := out_eJF;
out_jTitle(1) := out_eJT;
close curGetLast0022;
end;
procedure sel_EInfoMCUID(
pIn_ecuid in varchar2,
out_mcuid out varchar2
is
-- cursor
cursor curEInfoMCuid is
select e.eid, e.mcuid from tbl_einfo e where e.ecuid = pIn_ecuid order by e.eid desc;
-- variables
rowMCuid curEInfoMCuid%rowtype;
begin
open curEInfoMCuid;
fetch curEInfoMCuid into rowMCuid;
close curEInfoMcuid;
out_mcuid := rowMCuid.mcuid;
end;
procedure sel_empInfo
in_0022EcuID in varchar2, --number,
out_eFN out t_varchar2,
out_eJF out t_varchar2,
out_eID out t_varchar2,
out_eRC out t_varchar2,
out_eJT out t_varchar2,
out_eStA out t_varchar2,
out_eStaN out t_varchar2,
out_eMcuid out t_varchar2
is
-- cursor to get ecuid ID for entered employee cuid
CURSOR curCUID IS
select e.efn, e.eln,e.jobfunc,ecuid,rc,e.eid, e.jTitle,e.stA, e.stacode,e.MCUID
from TBL_EINFO e
where e.ecuid = in_0022ecuid
order by e.eid desc;--eid = in_0022EID;
-- rows for cursors
rowCUID curCUID%rowtype;
begin
open curCUID;
fetch curCUID into rowCUID;
out_eFN(1) := rowCUID.efn||' '||rowCUID.eln;
out_eJF(1) := rowCUID.jobfunc;
out_eID(1) := rowCUID.eid;--ecuid;
out_eRC(1) := rowCUID.rc;
out_eJT(1) := rowCUID.jTitle;
out_eStA(1) := rowCUID.sta;
out_eStaN(1) := rowCUID.staCode;
out_eMcuid(1) := rowCUID.mcuid;
close curCUID;
end;
end;This is the results of that query:
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
40 rows selected -
Error: could not find program unit being called
I am getting the following error:
FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-06508 (see below for description)
when I call this from my WHEN-NEW-FORM-INSTANCE TRIGGER:
check_button('PROJECT.SHIFT_DATES','project.first_deadline');
I have an attached library with the following Program Unit:
PROCEDURE check_button (button in VARCHAR2, field in VARCHAR2)
IS
BEGIN
if get_item_property(field,update_allowed)='TRUE' then
SET_ITEM_PROPERTY(button,ENABLED,PROPERTY_TRUE);
ELSE
SET_ITEM_PROPERTY(button,ENABLED,PROPERTY_FALSE);
END IF;
END;
It works fine when I run it through the debugger, and when I replace the procedure call to the full code in the trigger.
ORA-06508: PL/SQL: could not find program unit being called
Cause: An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
Action: Check that all referenced programs, including their package bodies, exist and are compatible.
nullMake sure the library (pll file) is in the path indicated by your FORMS60_PATH in the registry.
Hope that helps,
Karim. -
PDE-PEP006 Error Unable to open laf.pll file
I have downloaded laf.pll and all corresponding packages from blog of Francois Degrelle related to Oracle look and feel. when i am opening laf.pll it is giving error PDE-PEP006 Encoded program unit has unknown format iam opening file in oracle forms10g on windows 2000.
<p>You can download the complete project zipped file.
It contains text files to reconstruct the pll on any version.</p>
Francois -
Error : ORA-06508: PL/SQL: could not find program unit being called
Hi
I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
synonym and exectue option for corresponding procdure ,
I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
Now this package has been called from rp_execute_procedure_pr -- Here I is the code
CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
i_job_id IN atlas_job.job_id%TYPE,
i_parm_value IN atlas_job_schedule.parm_value%TYPE,
o_status_code OUT NUMBER,
o_status_mesg OUT VARCHAR2
IS
-------Other old code which is not relevent for this issue ----
--------Other old code which is not relevent for this issue ----
----Below code I added ----
ELSIF l_job_id = 'CUST_EXTRACT' THEN
EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
o_status_code,
o_status_mesg ) ;
-- o_status_code := -99999999;
--o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
ELSE
o_status_code := -20300;
o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
END IF;
update_log_auto
ajs_rec.atlas_job_schedule_pk ,
'Processing End Time (GMT): '
EXCEPTION
WHEN eProcError THEN
o_status_code := SQLCODE;
o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
WHEN OTHERS THEN
o_status_code := -20300;
o_status_mesg := SUBSTR(SQLERRM, 1, 200);
update_log_auto
ajs_rec.atlas_job_schedule_pk ,
'Error : '||SQLERRM||' '
update_log_auto
ajs_rec.atlas_job_schedule_pk,
'Processing End Time (GMT): '
END RP_EXECUTE_PROCEDURE_PR;
Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
so I created public synony amd gave execute grant to my pkg to public .
But it repeat same error .
I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
NB my DB user is iATLAS and Javauser is SUDEEP
Thanks in Advance
Debashis MallickFirst of all If i run the main procedure in like below in my Schema it is working fine
begin
-- Call the procedure
rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
i_job_id => :i_job_id,
i_parm_value => :i_parm_value,
o_status_code => :o_status_code,
o_status_mesg => :o_status_mesg);
end;
So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
Here problem is not syntax issue .
let me give u more detail regards this issue
1.. All objects corresponding to procedure all Valid
2.. If I test on the proc on my schema like above code . It works fine
3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
I think I make it clear the issue
Edited by: debashisora on Aug 3, 2012 5:31 AM
Edited by: debashisora on Aug 3, 2012 5:40 AM -
Error while compiling program unit
Hi All,
I am working on oracle forms 10g.
I am getting an error "wrong no or types of arguments in call to 'COUNTCDRSTODELETE' ", while trying to compile my program unit.
The extract of my program unit is as written below:
PROCEDURE CALL_PCK_BACKOUT IS
-- type bmpf_id_arr is varray(100) of bmp_files.bmpf_id%type;
type bmpf_id_arr is varray(100) of integer;
id_arr bmpf_id_arr := bmpf_id_arr();
file_cnt number := 0;
BEGIN
GO_BLOCK('B_FILE');
first_record;
LOOP
-- EXIT WHEN :SYSTEM.RECORD_STATUS='NEW';
IF UPPER(:B_FILE.FILE_ON_OFF_IND) = 'Y' THEN
FOR I IN ( SELECT BMPF_ID FROM BMP_FILES
WHERE BMPF_FILENAME = :B_FILE.BMPF_FILENAME
AND BMPF_PROCESSING_STATE = 'P'
ORDER BY BMPF_ID ASC)
LOOP
if file_cnt < id_arr.limit then
id_arr.extend;
id_arr(id_arr.last) := i.bmpf_id;
INSERT INTO bmp_files_to_backout (file_id, job_id) values (i.bmpf_id,pkg_constants.gt_bat_code_bckout_cdr);
file_cnt := file_cnt + 1;
else
msg_alert('You can select maximum 100 files at a time','E',FALSE);
RAISE FORM_TRIGGER_FAILURE;
end if;
END LOOP;
END IF;
EXIT WHEN :SYSTEM.LAST_RECORD='TRUE';
NEXT_RECORD;
END LOOP;
if file_cnt = 0 then
msg_alert('Please select at least one file in order to initiate the backout','E', FALSE);
go_item('b_ctrl.file_name');
RAISE FORM_TRIGGER_FAILURE;
end if;
if file_cnt > 0 then
commit;
end if;
-- check if the backout request has been accepted or not
if pck_backout.CountCDRStodelete(id_arr,file_cnt) = 0 and pck_backout.AreallCDRSOpen(id_arr,file_cnt) = 0 then
msg_alert('Backout request can be scheduled for the selected input','E',FALSE);
elsif pck_backout.CountCDRStodelete(id_arr,file_cnt) != 0 and pck_backout.AreallCDRSOpen(id_arr,file_cnt) != 0 then
msg_alert('Backout request has been rejected due to maximum number of cdrs exceeded and not all cdrs belonging to open invoices','E',FALSE);
RAISE FORM_TRIGGER_FAILURE;
elsif pck_backout.CountCDRStodelete(id_arr,file_cnt) != 0 then
msg_alert('Backout request has been rejected due to maximum number of cdrs exceeded','E',FALSE);
RAISE FORM_TRIGGER_FAILURE;
elsif pck_backout.AreallCDRSOpen(id_arr,file_cnt) != 0 then
msg_alert('Backout request has been rejected due to not all cdrs belonging to open invoices','E',FALSE);
RAISE FORM_TRIGGER_FAILURE;
end if;
END;
pck_backout is a stored database package. The definition of two functions used above is as given below:
FUNCTION countcdrstodelete (
p_bmpf_id_array IN pkarray,
p_batch_size IN NUMBER
RETURN NUMBER;
FUNCTION areallcdrsopen (p_bmpf_id_array IN pkarray, p_batch_size IN NUMBER)
RETURN NUMBER;
where pkarray is defined as :
TYPE pkarray IS VARRAY (100) OF INTEGER;
Can anyone please tell me why i am getting wronf type or no of arguments error while calling the databse functions.
I guess, it has to do with the varray field. Can you please tell me if i am using any wrong syntax??
I request all the forms gurus to please help me with this.Hi Fabrio,
I solved my problem.
I'd to actually define pkarray as sql type rather than PL/SQL type.
It's because oracle forms wasn't able to bind the varray defined locally in program unit with the varray defined in stored PL/SQL function.
Once i created pkarray as sql type and removed the declaration of varray in program unit and PL/SQL code, it worked.
Thanks for your reply though.
Regards,
Navnit -
Error in executing mappings "could not find program unit being called"
I am trying to deploy a mapping from the control center in Oracle WareHouse Builder usign Oracle 11g . Here is what i exactly do , first I generate the mapping it goes okay with an insignificant warning .. After that I right click the mapping and click start (for exection to begin).. Eventually I get the error
STAGES_MAP
Error
ORA-04063: package body "ACME_DWH.STAGES_MAP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "ACME_DWH.STAGES_MAP"
ORA-06512: at line 1
what does "could not find program unit being called" mean ?? I validated all my tables and its realated table and successfully deployed them ... but now the mappings is giving me trouble ??? Whas going on... I am confused.... Thansk....ScoobySi wrote:
It sounds as though you've generated but haven't actually deployed the mapping to the DB? That error usually occurs when the package for the mapping is missing from the DB or the parameters have changed.
Ignore above, just read properly, as MccM suggests try to compile package on DB to determine error. If there are no errors, refresh control center or close it and reopen it as it may be trying to call package with old set of parameters.
Si
Edited by: ScoobySi on Nov 30, 2010 4:20 PMExactly , I generated the mappings and then in the control center right clicking on the mappings and consider (default- create new) i deploy it. It goes ahead but tells mer there is a warning , which i already know but chose to ignore. Then i right click on the mappings again and I select start unfortunately at this point this error comes up and my DB doesnt get populated :( ...
I am a bit new so could you kindly go step by step here , how can i compile my package on DB ??? Btw i am using toad to connect to oracle 11g , are u suggesting that using toad i should compile the package ?? if so how ?? hwo would i know the package location ??? as for the second method
"If there are no errors, refresh control center or close it and reopen it as it may be trying to call package with old set of parameters." I doubt it will work as i already tried it. I definitely think there is a problem with the package.. i dont think there is any other problemm... I would really appreciate your help thanks... -
PDE-PXC002 Program unit exception aborted due to unhandled exception (10050
Im working on performing a new query when a user changes the value of a text item and then keys to the next item.
Its very much in experimental stage atm but this is the code:
BEGIN
CLEAR_BLOCK(NO_VALIDATE);
IF :system.block_status = 'CHANGED' THEN
enter_query;
END IF;
execute_query;
END;
When I run this in debugger the following warning is displayed, when I reach the line "enter_query":
PDE-PXC002 Program unit exception aborted due to unhandled exception (100500).
I have searched around but found nothing regarding this error message. Am I making a fundemental error here?Difficult to assess with the provided information - may I ask you to provide an extract of the PL/SQL code or feel free to contact us via http://pitss.com if you would like to discuss this rather over the phone. Thx MD
-
when i open my i3tunes on my computer i get an error message telling me that iTunes has stopped working..the message is as follows...Microsoft Visual C runtime library Program C:\program files (86) iTunes\iTunes.exe R6025 -Pure virtual function call.. How do i fix this
For general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
tt2 -
Hello,
EBS version : 11.5.10.2
DB version : 11.2.0.3
OS version : AIX 6.1
As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATTENTION: All workers either have failed or are waiting:
FAILED: file glsupdas.ldt on worker 3.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
Restarting job that failed and was fixed.
Time when worker restarted job: Wed Aug 07 2013 10:36:14
Loading data using FNDLOAD function.
FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
Connecting to APPS......Connected successfully.
Calling FNDLOAD function.
Returned from FNDLOAD function.
Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
Error calling FNDLOAD function.
Time when worker failed: Wed Aug 07 2013 10:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
Current system time is Wed Aug 7 10:36:14 2013
Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
Altering database NLS_LANGUAGE environment to AMERICAN
Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
Uploading from staging tables
Error loading seed data for GL_DEFAS_ACCESS_SETS: DEFINITION_ACCESS_SET = SUPER_USER_DEFAS, ORA-06508: PL/SQL: could not find program unit being called
Concurrent request completed
Current system time is Wed Aug 7 10:36:14 2013
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Below is info about file versions and INVALID packages related to GL.
PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
TEXT
/* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
/* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
/* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
/* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
EDITION_NAME
APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1
APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1
APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2
APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2
SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
EDITION_NAME
GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1
APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1
SQL> conn apps/apps
Connected.
SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
FROM DBA_OBJECTS
WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
No errors.
SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
SQL> show user
USER is "APPS"
SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
FROM dual; 2 -- with GL.
NEXTVAL
1002
SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual; --without GL. or using synonym.
NEXTVAL
1003
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
/* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
/* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */ -
My CS6 program that has never had a problem before, is not telling me that there is an error and that it "unexpectedly quit" when I simply try to launch the program. I have restarted my computer several times. It does the same thing each time. So then I tried uninstalling the program and re-installing. It said that it could not install due to an error. So I STILL can't launch my program. I don't know what to do. Any help would be appreciated. I have to edit photos for a photoshoot and return them tomorrow. :/
Reset Photoshop's Preferences?
Your Photoehop preferences will survive un-installing and re-installing Photoshop...... -
I had to restore my iMac from Time Machine. After the restoration all programs are functioning except my Adobe Creative Suite 4 Design Premium. When I start any program in the suite the error message, "Licensing for this product has stopped working." I restarted the computer and tried again to run Photoshop and the same error message appeared. The message was followed by a message that stated that I needed to contact Adobe technical support and mention Error: 150.30. I need Adobe technical support to provide me a solution for my problem so I can continue using my Adobe products installed on my computer.
Unfortunately when Adobe products are restored from backup, especial CS4 and especially Mac, it breaks licensing.
There is a python script included in the license recovery kit that should work if you are familiar with Terminal.
If not, you must reinstall your CS4 suite. You don't need to delete your preferences, so it should be the same as before.
Error "Licensing has stopped working" | Mac OS
Gene
Maybe you are looking for
-
XML Publisher report not printing excel output due to special characters
Hello, I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in tex
-
Cross-tenant email and split domains - how to set up?
I've successfully deployed exchange 2010 sp1 in /hosted mode with multi-tenancy and the install is working great. We are running into a problem configuring the send connectors for inter domain email and split domains. We have several customers wantin
-
New feature to add: Manual Duplex Support for Non-Duplex-Printers
Hi, I wanted to propose the implementation of a feature which helps users with printers that don't support automatic duplex printing. +The feature should help to sort the document right (even vs. odds), start a first job, wait for an user's confirmat
-
1)What do u mean by a dead thread???? 2)Is it possible to restart a dead??? I think we can never kill a thread....... i think the underlying OS plays a vital role in this aspect Please correct me if im wrong
-
HT4356 how to configure airprinter for printer brother dcp-j315w
i want to configure airprinter for Printer Brother DCP-J315W. how to do it??