Pll error

Hi All,
how to find pll level errors. error no and error line ind2k pll.
i can find out database level user_error table. is there any way to find in which
line pll is throuing error.
create or replace
function VALUES_S(B_TABLE_NAME out VARCHAR2) RETURN varchar2 is
--declare
--create procedure r is
cursor rr is
select owner,table_name,column_name,data_type from all_tab_columns where tab
ame = 'EMP';
i rr%rowtype;
val1 varchar2(10):='select ';
val2 varchar2(10):= ' from ';
val3 varchar2(10):=' where ';
val4 varchar2(20):= 'KING';
begin
open rr;
loop
fetch rr into i;
exit when rr%notfound;
dbms_output.put_line(val1||i.column_name||val2||i.owner||'.'||i.table_name||
||i.column_name||' = '||''''||'KING'||'''');
if i.data_type = 'NUMBER' then
dbms_output.put_line(val1||i.column_name||val2||i.owner||'.'||i.table_name||
||i.column_name||' = '||7902);
B_TABLE_NAME:= val1||i.column_name||val2||i.owner||'.'||i.table_name||val
.column_name||' = '||7902;
execute immediate B_TABLE_NAME; --val1||i.column_name||val2||i.owner||'.'
table_name||val3||i.column_name||' = '||7902;
return B_table_name;
elsif i.data_type = 'VATCHAR2' then
B_TABLE_NAME := ''''||val1||i.column_name||val2||i.owner||'.'||i.table_
||val3||i.column_name||' = '||''''||'KING'||''''||'''';
execu
te immediate B_TABLE_NAME;---''''||val1||i.column_name||val2||i.own
'.'||i.table_name||val3||i.column_name||' = '||''''||'KING'||''''||'''';
end if;
end loop;
close rr;
end;
Thanks
Raj

938316 wrote:
Hi All,
how to find pll level errors. error no and error line ind2k <font color="#D73232">(in Oracle Developer 2000)</font> pll.
i can find out database level user_error table. is there any way to find in which
line pll is throuing error.
You can log an exception:
<tt>
EXCEPTION
WHEN OTHERS THEN
Log_Errors ('Error_Stack:' || Chr(10) || DBMS_UTILITY.<font style="background-color: #E7FA6B">FORMAT_ERROR_STACK()</font>);
Log_Errors ('Error_Backtrace:' || Chr(10) || DBMS_UTILITY.<font style="background-color: #E7FA6B">FORMAT_ERROR_BACKTRACE()</font>);
</tt>

Similar Messages

  • Fndconc.pll error

    In my oracle apps forms, I am using 'EDITOR_PKG.REPORT' packaged procedure to view the report o/p. This procedure is contained in the fndconc.pll.
    I am able to compile the program from my forms developer module on my PC. However when I FTP this program on application server on the AU TOP and try to compile it , I am getting following error.
    PL/SQL ERROR 201 at line 430, column 13
    identifier 'EDITOR_PKG.REPORT' must be declared
    PL/SQL ERROR 0 at line 430, column 13
    Statement ignored
    what could be the reason?

    some guesses:
    -maybe you attached the library with paths
    -maybe you attached the library with different case-sensitivity
    -maybe the version on the server doesn't contain that editor_pkg
    -maybe the library isn't in the forms-path on the server

  • PDE-PLI018 PLL Error

    Hi All,
    I have installed Dev suite 10g in Vista. I was able to run Forms and reports.
    I tried to create a new pll. I was allowed to create procedures and functions. when i tried to save it i got PDE-PLI018 error.
    For the past two days i searched in the forum and did the changes as per the forum advice but nothing went positive.
    Work arounds i tried as follows
    1. Checked the Environment Variable set in Windows. Pointed this directory to a folder where i have all rights.
    2. Deleted all the files in the afore mentioned path and tried.
    3. Tried saving in different path.
    4. Tried saving in Forms_path (Regedit) folder.
    all the above work arounds did not help. Could any body help in this regard please.
    Why i am not getting any update? Am i missing something or should i post it under different thread?
    Your help is highly appreciated. Please Help.
    Regards
    Sudhakar T
    Message was edited by:
    Sudhakar

    Hi All,
    Thank you all for all the help.
    Azeem, Yep, i do have write permission in the directory where i am trying to save. Secondly i am not opening a existing PLL i am trying to write a new file. Hence the question of opening the pll in Windows explorer is ruled out. But i thank You for your suggestion.
    Jan Carlin,
    May be i need to wait till oracle certifies Vista or if it has any plan for Patch release.
    Once Thank you all.
    Regards
    Sudhakar T
    Message was edited by:
    Sudhakar

  • "Error: PLL is not configured on Oracle server." appears on some computers

    Hello,
    We configured the custom.pll file so that we can capture UPK with context IDs.
    We can capture UPKs just fine and it records all available context IDs on MOST computers. However, we have a couple of people that get the custom.pll error (Error: PLL is not configured on Oracle server.), and obviously, their UPK captures do not capture the context IDs.
    We all use the same version (UPK Client 3.6.1) and we all are capturing in the same instance where custom.pll has been configured.
    Why are some computers getting the error?? How can we resolve this error?
    Can somebody help?
    Here are some of our specs:
    UPK: Client 3.6.1
    EBS: 12.1.2
    Computer: Windows XP Professional SP3
    Thank you.

    Hello,
    You are correct that the document describes configuring the PLL for help menu integration, but it is necessary that this configuration be done before recording, which is why you're seeing the messages. We do not want customers to record content and later find out that the PLL was not configured properly for deploying via the help menu.
    If you follow the steps in this document, the error messages should go away.
    I hope this is helpful.
    Best regards,
    Marc

  • How to open a .pll anyway, included .pll is missing

    Hi, I want to see the source of a pl/sql library (.pll), but when i try to open it, it says another (included) .pll is missing/not found.
    Is there a way to open the .pll anyway, or view the source in another way?
    Regards, Paul.

    Hello,
    You can copy any valid PLL into the missing PLL . (copy the valid PLL into a new PLL using the name displayed in the mssing PLL error message)
    Of course, it will not be possible to compile the PLL but it will be possible to open the PLL.
    regards

  • Error while opening PLL file -PDE-PLI038

    Hey,
    I am getting PDE-PLI038 Cannot open file for use as PL/SQL library while opening PICKLIST.PLL file in form6i.
    Any solutions for this is appreciated.
    Thanks in advance...
    Bye.
    Mahi

    Hi,
    I am trying to open custom.pll via form 9i and getting the same error. My pll path is defined. Few hours back I was able to do so but now I am getting the error. I have cleared the jcache and have rebooted my machine 2-3 times.
    Any help would be appreciated.
    Thanks.

  • Error while attaching library(pll)..

    Hi!
    When I try to compile the fmb file in
    the Form server getting an error message that "procedure name not declared".
    1)Procedure added in that library is already
    compiled and stored in the Server(compiled in unix environment).
    2)In FORMSPATH the pll is added.
    Still is not referring that path.
    I think this happen becuase in the design time,attach library we have specified our
    local path.Is it wrong?.If so how to
    solve this.Could you please guide me?.
    Thanks in Advance,
    Denish

    Reattach the library and and when asked to remove path, choose yes.

  • Error FRM-30312 while compiling a custom pll library on forms 11g weblogic

    hi,
    this is my case:
    Im trying to upgrade a forms 10g application to 11g, using FORMS 11g v11.1.1.3 and WEBLOGIC server v10.3.3.
    Forms files compiled correctly, also webutil.pll was correctly compiled.
    but if I try to compile my custom pll I can see the error...
    when I run application, this erros msg appears:
    FRM-40735: ON-ERROR trig raised unhandled exception ORA-06508
    I have this script to compile .pll files (libraries):
    +#SCRIPT TO COMPILE LIBRARIES+
    export ORACLE_INSTANCE=/opt/oracle/Middleware/asinst_1
    export ORACLE_HOME=/opt/oracle/Middleware/as_1
    export ORACLE_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export FORMS_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    export FORMS_DEFAULTFONT="Lucida.9"
    for i in `ls *.pll`
    do
    echo Compiling: $i ....
    file=$i
    +$ORACLE_INSTANCE/bin/frmcmp.sh Module=$i Userid=user/pwd@db Module_Type=LIBRARY Batch=YES+
    done
    But this error is shown:
    Compilation errors on RP2RRO:
    PL/SQL ERROR 201 at line 106, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 106, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 123, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 123, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 153, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 153, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 169, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 169, column 8
    Statement ignored
    Failed to generate library.
    FRM-30312: Failed to compile the library.
    I tried finding the string on the source code and delete or replace, but the only strings remainding are for example "RP2RRO_RUN_PRODUCT()", It looks like compiler finds the string within the entire word.
    I need help.

    InoL, Thank you very much.
    I know rp2rro.pll was there, and I compiled it successfully, and place it to the correct folder.
    but I did not know that my custom pll had the rp2rro as a program unit.
    I solve this problem replacing the code inside my custom library with the rp2rro.pll code that comes with forms 11g
    THANKS again.

  • Error while generating .plx from .pll using Forms 4.5 Generator

    I get frm-30312 error while trying to generate .plx from .pll
    using Forms 4.5 Generator. I have both Oracle 8i and Oracle 7 on
    my computer. I work under Windows 2000 with Service Pack 1.
    Could anyone help my with this bug? Forms 6i Compiler generates
    .plx but Forms 4.5 Generator fails.
    frm-30312 "Could not compile library."
    Raimundas

    Hi Kuldeep,
    The WSDLC task which you are using in WLS8.1 ehich is not correct..."weblogic.wsee.tools.anttasks.WsdlcTask" The above taskDef is present WLS9.x Onwards.
    Please use the following Task for WLS8.1 (http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/webserv_ref/anttasks.html#wp1075710)
    <wsdl2service
    wsdl="wsdls/myService.wsdl"
    destDir="myService/implementation"
    packageName="example.ws2j.service"/>
    Thanks
    Jay Sensharma
    http://jaysensharma.wordpress.com/webservices/ (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Feb 16, 2010 1:30 PM

  • Error while compiling a custom pll with forms 11g and weblogic

    Hi there,
    I just posted a thread here:
    Error FRM-30312 while compiling a custom pll library on forms 11g weblogic
    please, I need help

    Why wouldn't you post in the proper forum, i.e the Forms forum

  • Using Custom.pll on AP Invoices form goes into error in 11.5.10.1

    Hi All,
    I am trying to do some customization on APXINWKB (Invoices form) using CUSTOM.pll. But whenever i am trying to open the form after adding the code in CUSTOM.pll i am getting the following error:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_EURO_USER_RATE_API", line 173
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_CURRENCY_API", line 327
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
    I am trying to display a a small message in the new form instance of the above form thru CUSTOM.pll, nothing more than that!!. If i remove the coding, the form is working perfectly. My oracle apps version is 11.5.10.1
    Can any body help me??
    Raj

    Hi Helios,
    Thank you for the update, actually the problem is solved.
    The issue is : Whenever i am trying to show a message in that form using either form personalization or CUSTOM.pll, it is giving the error, if i do any thing else like 'changing the default where clause etc', it is not giving any error. The problem is only with message. Actually my requirement is changing the where clause, which is happening with out any problem. I dropped the idea of showing the message any way.
    This problem is strange. Any ways, i am raising an SR with Oracle.
    Raj

  • ERROR compiling webutil.pll on Solaris 10

    Hi all,
    I'm trying to compile the library webutil.pll.
    The problem is that the compiler does not respond.
    I did the steps to the configuration of the webutil and also apply the patch 4960210.
    I show the error:
    -bash-3.00$ frmcmp_batch.sh module=webutil.pll module_type=LIBRARY userid=webutil/webutil@dev10
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    Thus ended.
    Looking at the processes running:
    -bash-3.00$ prstat
    PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
    18343 oracle 817M 793M cpu1 0 0 0:02:55 25% frmcmp_batch/1
    18697 root 288M 41M sleep 59 0 0:00:01 0.9% java/14
    15920 oracle 312M 88M sleep 29 10 0:00:08 0.0% java/40
    13133 oracle 121M 47M sleep 59 0 0:10:00 0.0% emagent/17
    15939 oracle 159M 32M sleep 29 10 0:00:01 0.0% java/13
    15919 oracle 131M 46M sleep 29 10 0:00:04 0.0% java/20
    15937 oracle 182M 42M sleep 29 10 0:00:01 0.0% java/13
    141 daemon 4688K 2512K sleep 59 0 0:03:35 0.0% kcfd/4
    Deputy also:
    -bash-3.00$ uname -a
    SunOS bqbarfs01 5.10 Generic_138889-08 i86pc i386 i86pc
    Environment variables set in the profile are:
    -bash-3.00$vi .profile
    set -o vi
    stty kill \^u
    umask 022
    TEMP=/tmp
    TMPDIR=/var/tmp
    export TEMP TMPDIR
    ORACLE_BASE=/soft1/app/oracle
    ORACLE_HOME=/soft1/app/oracle/OraHome_2
    #TNS_ADMIN=/soft1/app/oracle/product/OraHome_2/network/admin
    TNS_ADMIN=/soft1/app/oracle/OraHome_2/network/admin
    LD_LIBRARY_PATH_64=/soft1/app/oracle/product/OraHome_2/lib
    export LD_LIBRARY_PATH_64
    LIBPATH=/soft1/app/oracle/product/OraHome_2/lib
    #ORA_NLS33=/soft1/app/oracle/product/OraHome_2/ocommon/nls/admin/data
    ORA_NLS33=/soft1/app/oracle/OraHome_2/ocommon/nls/admin/data
    #LD_LIBRARY_PATH=/soft1/app/oracle/product/OraHome_2/lib32:/usr/lib:/soft1/app/oracle/product/OraHome_2/network/lib:/usr/css:/opt/lib/cobol
    LD_LIBRARY_PATH=/soft1/app/oracle/OraHome_2/lib:/soft1/app/oracle/OraHome_2/jdk/jre/lib:/soft1/app/oracle/OraHome_2/jdk/jre/lib/i386:/usr/lib:/soft1/app/orac
    le/OraHome_2/network/lib:/usr/css:/opt/lib/cobol
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
    export TNS_ADMIN LIBPATH ORA_NLS33 LD_LIBRARY_PATH ORACLE_SID CLASSPATH
    PATH=${PATH}:/soft1/app/oracle/OraHome_2/jdk/bin:/usr/ucb:/usr/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/opt/bin:/opt/bin/cobol:$ORACLE_HOME/bin:$ORACLE_HOME/o
    pmn/bin:$ORACLE_HOME/forms
    export PATH
    set -o vi
    stty kill \^u
    export ORACLE_HOME TNS_ADMIN ORACLE_BASE
    DISPLAY=170.129.2.206:0.0;
    TERM=vt220; export TERM DISPLAY
    ORACLE_TERM=vt220; export ORACLE_TERM
    stty erase ^H
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    FORMS_PATH=/soft1/app/oracle/OraHome_2/forms; export FORMS_PATH
    export NLS_LANG
    export TWO_TASK=dev10
    #export DISPLAY=170.129.2.196:0.0
    export DISPLAY=170.129.70.32:0.0
    Any idea what could be the problem?
    Many Thanks in Advance,
    Fabian

    At first glance I have a few questions and/or comments:
    You said:
    "...I did the steps to the configuration of the webutil and also apply the patch 4960210...{quote}
    Patch 4960210 is 10.1.2.2. Given that your Forms components are still reporting 10.1.2.0.2 as seen in your posting, I will assume that you did not correctly install and relink the patch. You should be seeing version 10.1.2.2 and not 10.1.2.0.2. Refer to Metalink note 404477.1 as this may be the cause of the patching problem. The note and the patch mentioned within that note are specific to Windows and SPARC, but may help you to troubleshoot your Solaris Intel environment.
    Although not related to your problem, be aware that the latest patch is 10.1.2.3 (patch ID 5983622)
    {quote}
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    {quote}
    Once you correct this problem, you will need to ensure that you have run the WebUtil sql script as its contents is needed to compile webutil.pll. The script can be found in the Developer Suite Oralce Home\forms directory. The file name is: create_webutil_db.sql
    Also, I would recommend using frmcmp.sh and not _batch. This will require access to a X session.

  • FRM-40815: Form Error, using CUSTOM.pll

    Hello,
    I am trying to customize WIP Lot Transactions Oracle Standard Form using CUSTOM.pll.
    Upon navigating to one of the 3 blocks in the form(RESULTING_LOT), I am getting following error message:
    "FRM-40815: Variable GLOBAL.CLRREC_NOVALIDATE does not exist"
    This global variable is not used in CUSTOM.pll at all. But is initialized and used in the standard form only.
    When custom code is turned off, there is no error message.
    Please advise.
    Thanks,
    Krishna.

    Hi,
    Thanks for the response.
    I have created a custom profile and attached it users and Profile value has the organization names.I want the User A with Org1 value in the profile to see all the GL Batches which is created by any other user who belongs to only Org1. Say another user User B with Org2 as the profile value should not see any GL batches created by any other user in the GL Journal Form belonging to other Org's.I'm able to restrict the batches using the below query using the personalizations in the Record Group for the Batch Name.But if the user doesnt give any search criteria and then selects Find then the main form displays all the batches. Hence I want to overide the Data Block where to display accordingly.
    select a.name from gl_je_batches a
    where 1=1
    and a.created_by in (select b.user_id from
    fnd_user b,
    fnd_profile_option_values c,
    fnd_profile_options d
    where c.profile_option_id =d.profile_option_id
    AND c.level_value = b.user_id
    AND profile_option_name='KAP_USER_ORGANIZATION'
    AND c.profile_option_value =(select profile_option_value
    from fnd_profile_option_values e
    where e.level_value =fnd_profile.value('USER_ID')
    and profile_option_id=d.profile_option_id)
    Thanks,
    Ashwini.

  • Error when executing d2kwutil.pll procedure

    Hi all,
    I use a client/server architecture.
    There was an error when executing the procedure write_registry in the w2kutil.pll. I created a test forms , and I just created a control block containing a button. In the when-button-pressed trigger I coded : win_api_environment.write_registry('HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE','TEST_REGISTR','D:\MYLOGS',true); . I already attached the d2kwutil.pll to the form module.
    The error is : FRM-40734: internal error : pl/sql error occurred.
    So how to resolve it ?
    Thank you very much indeed.

    You have that atachar the bookstore to the form and then you can make use of the contained functions inside the bookstore.

  • FRM-40734: Internal PL/SQL error by using delete_group in CUSTOM.pll

    Hi,
    I am dynamically changing an LOV using CUSTOM.pll and it is working fine initially when i enter the form. If I change one field, it needs to be changed again. For this I am using delete_group and again create_group_from_query. Here delete_group is throwing an error FRM-40734: Internal PL/SQL error.
    Please help me on this.
    Thanks In Advance,
    Hima

    can you post us your code?

Maybe you are looking for

  • Submiting Report Request via DB Proc.

    Hello, Is there a way to submit a report request to the report server via a database procedure? I have a situation where depending on the report name, userid, email addr, report-parameters, frequency etc. stored in a table, the database procedure SHO

  • Installing Acrobat Pro 11 and it stops and says close Safari, bat it is not open. //

    installing Acrobat Pro 11 on my Mac and it stops and says to close Safari, but Safari is not open???

  • An easy question about GET_ITEM_PROPERTY

    Hello friends at www.oracle.com , how can I obtain the item's initial value by using GET_ITEM_PROPERTY built-in? I couldn't find it even at Oracle documentation. Best regards, Franklin Gongalves Jr.

  • Converting RAW to JPEG= tiny JEPGs

    Hi- I'm using aperture 3 and I'm exporting CR2 RAW files to JPEG, but once they've been exported they are tiny (for example, a 12.39MG RAW image becomes only 700K as a JPEG. I'm using the setting for JPEG- Original size. Any help would be greatly app

  • Scaleable background image

    I want to use a background image in an application that uses a ViewStack to link a login screen to several components. How can I scale the background image to make the image stretch to the full screen size size, regardless of the dimensions of the mo