PDE-usw002

Hello,
I am using Oracle 10g, reports (rel 10.2). I have a one stored program unit. I need to update it. With latest changes it gave me PDE-usw002 error. It give me error on following cursor declaration. In my program i declared 4 cursors and this is the fourth one. If i move it's position at first then it didn't give error on this cursor iot give the error on last most cursor. It try to execute the same cursor query on sql. it is fine.
select model, Typ, Location, - count(model)
from (
select trim(stmt_model) model
, f.stmt_l1_billiny_type Typ
,case
when (i_dlr_district between 0 and 4 and i_dlr_no not in ('903', '795') )
or i_dlr_no in ('366', '371', '472', '532') then
'AA'          
when (i_dlr_district = 5 or i_dlr_no = '903')
and i_dlr_no not in ('366', '371', '472') then
'BB'     
when (i_dlr_district between 6 and 9 and i_dlr_no != '903'
or i_dlr_no = '795') then
'CC'
end location
from      filea f,
fileb n
where trim(n.i_vin_number) =     trim(f.stmt_vin)
and     stmt_l1_invoice_yy = to_char(add_months(sysdate, - 1), 'YY')
and stmt_l1_invoice_mm = to_char(add_months(sysdate, - 1), 'MM')                    
and f.stmt_l1_billiny_type in ('RE', 'ZSC', 'S1', 'G2')
and STMT_L_FINAL_TOT != 0
group by model, Typ, Location );
Please help. Will really appreciate.
Thanks in advance
With Best Regards
Kausar.

Sorry in my cursor declaration i tried
) group by model, Typ, Location ;
instead of following line:
group by model, Typ, Location );
But still got the same error.
Regards
Kausar
It

Similar Messages

  • PROCEDURE PROBLEM, URGENT ...

    Hi ,
    I am geting an error while puting hint in a sub query. The query is like this
    SELECT /*+ INDEX (EMP EMPIDX) */
    EMPNO
    FROM EMP
    WHERE DEPTNO IN (SELECT /*+ INDEX (DEPIDX) */ DEPTNO FROM DEP);
    My query is similar to the above one. And this query is part of Cursor defination in a Procedure. So when i try to compile the procedure it gives me error like
    PDE-USW002 The source of the stored program unit source is incomplete.
    QUESTION IS HOW TO AVOID THE ERROR. Because if i remove the hint this statement takes about 21 mins, if I put the hint it runs in 30 seconds. So I need the hints put in place badly . Please suggest something . This is very urgent .
    Thanks
    Feroz

    If that is really what is causing the problem and it won't compile in Forms Builder, then about the only way would be to create a server-side package/procedure, and call the procedure from the form and do the work on the server, and pass back the results to the form via parameters in the procedure call.

  • PDE-PLI031 Unable to fetch record from table tool_modulre

    Dear ALL
    I am creating PL/SQL Libraries in report builder.
    but When I try to save the Library to database, a error
    PDE-PLI031 Unable to fetch record from table tool_modulre.
    Would you please tell me how to solve this problem
    and why it coming
    thankyou very much
    pritam singh

    Hi ,
    Saving a library (.pll) to database would store the object inside specific tables that are to be created.
    If you are using 6i, then you should find toolbild & toolgrnt.sql files which you have to run in the order specified. The above scripts creates the necessary tables and henceforth you won't get those errors while saving.
    Hope this helps.
    Thanks,
    Vinod.

  • 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.

  • PDE-PER001 INTERNAL ERROR while generating pdf

    Hello,
    I am tryin to generate a pdf file from a report attached to menu.
    But every time its showing me this error
    PDE-PER001 INTERNAL ERROR
    unhandled internal CA Error
    But when i generate the same through report builder, pdf file get genrated.
    I dont have any idea to how to resolve this problem.
    Kindly suggest me some solution.
    Thank you!

    There are a lot of things that you do to try and fix strange errors like these.
    1) NOT FORWARD COMPATIBLE
    I think I have seen this error when you save a file in a newer version (Forms 9)
    and then try and open it in an older version (Forms 6) - rather than the other way round
    that you are describing.
    Please provide the two versions of forms that you are dealing with.
    2) TOO MANY FILES OPEN
    This error can occur when you have too many files open in Forms Builder at once.
    Does the problem occur when you only have one file open ?
    Does the problem occur when you have started Forms Builder, then opened a single file ?
    3) LOG OFF / ON
    Strange errors like this can often be fixed by logging off, then close the file, then open it,
    then logon, then do a compile all code (CTRL SHIFT K), then save.
    After that you can do a compile (CTRL T) to create the runtime FMX
    4) COMPILING
    Files can be dependent on other files, so make sure you
    Upgrade and Compile the files in the following order.
    * PLL Libraries
    open each library
    Make sure you do this in the correct order.
    the highest level libraries first as libraries can be attached to other libraries.
    do a full compile (SHIFT CTRL K)
    then an incremental compile (CTRL K)
    - this second compile often fixed problems in the past, probably not needed now but worth a try
    save.
    * Referenced forms *.FMB and object libraries *.OLB
    To upgrade these open each one, then save
    You dont need to compile these.
    * The actual form
    disconnect, open file, connect, full compile code (CTRL SHIFT K), generate FMX (CTRL T), save, close, open
    5) CONVERT TO TEXT, THEN BACK TO BINARY
    File corruption problems can often be fixed by converting the file to a text file, then back to binary. In Forms 6 use "File -> Administration -> Convert" Forms 9 and 10 use "File -> Convert". Convert Forms from FMB to FMT and back to FMB again. For libraries use PLL > PLD > PLL. Object Libraries Same OLD > OLT > OLB. Also do the same for any referenced forms.

  • Solution for PDE-PLI011 Error.

    Hi buddies....I've a form with an attached PL/SQL Library which is placed on a network shared drive. Last day, when I opened my form in Form Builder-6i, it gave an error and closed the form builder application. And since that time whenever I try to open that form, it gives the following error and doesn't open:
    PDE-PLI011 A tools common schema table is missing from the object store.
    I think attached library has created errors in that form and doesn't let it open. However same PL/SQL library is working well with other forms. So have u peeps any solution for this problem???

    I don't understand why you don't have metalink access when you're working with Oracle tools...
    But here it is:
    Problem Description:
    ====================
    PDE-PLI011 "A GUI common schema is missing from the object store" when user
    attaches a library.
    or
    PDE-PLI011 A tools common schema table is missing from the object
    store
    1.) Attached Library
    Solution Abstract:
    ==================
    Log in SQL*Plus as SYSTEM and run DEBILD.SQL and DEGRNT.SQL. Before doing this,
    check the existence of DE objects in the database by type the following as
    SYSTEM in SQL*Plus:
    select owner,object_name,object_type from sys.dba_objects
    where object_name like 'DE_%';
    Solution Explanation:
    =====================
    DEBILD.SQL and DEGRNT.SQL are in %ORACLE_HOME%\dbs (Windows) or
    $ORACLE_HOME/guicommon/de/admin/sql (Unix).
    2.) Error on opening a form in Builder
    SOLUTION
    ========
    An FMB file used as a reference form had its extension changed from .FMB to
    .PLL. Changing the file extension back to .FMB corrected the problem.
    or
    Form Source File FMB has reduced in Size
    cause: Unknown Corruption in Form.
    fix:
    Revert to a back up of the form
    3.) Reasions for this problem
    A) FTP of FMB/MMB/PLL was done in ASCII mode, and should have been done in
    BINARY mode
    2) The FTP did not complete, and the FMB/MMB/PLL was only partially transferred
    (To check, compare the byte sizes of the files on win32 against Unix.
    If these are the same and the problem persists, a checksum
    (crc32/MD5/SHA etc) of the file on the 2 systems can be generated on the OS,
    and be compared to see if the files are truly identical.

  • "PDE bundle could not be loaded," HP 7510 All-in-One​, Mac OS X 10.9.5

    The selection "PDE" in the print dialogue box is listed with a strikethrough.
    Choosing PDE displays the message "This bundle could not be loaded because the required components could not be found.  Contact the bundle's creator ... for the newest version. HP PDE 4.6.0."
    Haven't been able to find HP PDE download.
    Any help appreciated.

    You need to download the full Mavericks installer from the AppStore.  You need an Apple ID and you must claim the OS in your account.  If you are already running 10.9.5 it will tell you so.  Opt to download anyway.  Inside the installer is the InstallESD.dmg. 
    However, this is an installer, not a "clone-able" image.  If you are looking to make a clone, then boot from the Recovery partition and opt to reinstall the OS fresh.  Or better yet, get an external drive and install Mavericks to the drive.  Then add all your software and customizations that are not user or device specific.  Once done, you can then capture a DMG can can be used to image other systems.
    Reid
    Apple Consultants Network
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store
    Author "Mavericks Server – Control and Collaboration" :: Exclusively available in Apple's iBooks Store

  • PDE-PDS001 cannot compile pu against 10g database

    Error occurs when compiling form/library 10as/10g db
    database version 10.1.0.2
    forms version 9.0.4.0.19 also forms6i patch15
    library that can be succesfully compiled against ver 8.1.7.3 and 9.2.0.3 cannot be compiled against 10g database
    PDE-PDS001 Could not resolve reference to <Unknown Program Unit> while loading Procedure Body
    I've got a procedure in a library which reference database package record type
    error 905 object package <name> is invalid - but Database package is valid !
    Searching metalink I came across similar issues with earlier versions of database/tool combinations - Has this error surfaced again ?
    Database package specification includes (in additions to procs/functions) the following:
    TYPE suppress_tabtype IS TABLE OF VARCHAR2 (15) INDEX BY BINARY_INTEGER;
    -- public program units
    TYPE message_rectype IS RECORD
    ( msg_code VARCHAR2(15)
    , severity VARCHAR2(1)
    , severity_desc VARCHAR2(100) -- Translated description of severity
    , suppr_wrng_ind VARCHAR2(1)
    , suppr_always_ind VARCHAR2(1)
    , logging_ind VARCHAR2(1)
    , msg_text VARCHAR2(2000)
    , help_text VARCHAR2(2000)
    , lang_code VARCHAR2(3)
    , raise_error BOOLEAN
    , message_found BOOLEAN);
    TYPE message_tabtype IS TABLE OF message_rectype INDEX BY BINARY_INTEGER;
    Does a patch exist ?
    TIA
    Pete

    Hi Pete
    I encountered the same problem in Oracle Forms 10g (9.0.4.0.19) with an Oracle 10g database. My error was caused by default values in the form of a function call in one of the procedures functions
    f.e.
    package my_package
    function my_function
    ( par1 varchar2
    , par2 varchar2 default my_function_in_another_package
    ) return varchar2;
    end;
    Remove the default value in the function parameter par2 and everything works fine
    Hope this helps,
    Matthieu

  • PDE-PPU017 error type

    Can any one plz explain me wt exactly this error means
    PDE-PPU017 The program unit source must define a Subprogram Body or Package
    when i create a new procedure in my program unit n try to ompile i get this error. it doesn'e even close.

    Dan_Ross...
    Your best bet is to go the Agfa's Website and check for available updates. I get that error if I forgit to update my origonal ScanWise software.

  • PDE-UJ1001, while trying to import java classes.

    Hi,
    When I try to import java classes into forms using the java
    importer, I get an error stating PDE-UJ1001-Failed to create
    JVM. I tried installing a patch in Developer 2000(Path 4a). But
    still it doesnt work. Could anybody guide me in this?
    Thanks,
    Karthick.

    am getting similar error - my dba has suggested that oracle developer uses the jvm from ie4 but i'm sure that cant be true as i thought the jvm was built in.
    could somebody out there clarify this or inform me whats missing..
    error
    from dev 6i forms builder (6.0.8.11.3) on 8i (8.1.7.2.0) when trying to select option 'import java classes' from program menu returns error 'PDE-UJ1001 Failed to create the JVM.'
    regards and thanks in anticipation....
    vin ferguson

  • 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

  • Unsupported PDE in Print Dialogue box 10.8.5

    Am receiving an error message 'Unsupported PDE' in print dialogue box (full message "The bundle "EF283976 (FF)" couldn't be loaded because it is damaged or missing necessary resources). This is for print driver Canon iR-ADV C7000s-A1 PS V1.0 Have reinstalled new print driver and controllers from Canon website multiple times. Have also deleted PPD plugins folder and reinstalled. Have had 2 IT professionals and Canon support and all 3 are stumpt - any ideas? 

    This was resolved by reinstalling 10.8.5

  • Error PDE-PLI011

    when i try to open a form in form builder 6i. it gives an error message pde-pli011
    which means"A common oracle tools schema is missing from your object store .
    kindly help me and email me at [email protected]
    thanks

    I don't understand why you don't have metalink access when you're working with Oracle tools...
    But here it is:
    Problem Description:
    ====================
    PDE-PLI011 "A GUI common schema is missing from the object store" when user
    attaches a library.
    or
    PDE-PLI011 A tools common schema table is missing from the object
    store
    1.) Attached Library
    Solution Abstract:
    ==================
    Log in SQL*Plus as SYSTEM and run DEBILD.SQL and DEGRNT.SQL. Before doing this,
    check the existence of DE objects in the database by type the following as
    SYSTEM in SQL*Plus:
    select owner,object_name,object_type from sys.dba_objects
    where object_name like 'DE_%';
    Solution Explanation:
    =====================
    DEBILD.SQL and DEGRNT.SQL are in %ORACLE_HOME%\dbs (Windows) or
    $ORACLE_HOME/guicommon/de/admin/sql (Unix).
    2.) Error on opening a form in Builder
    SOLUTION
    ========
    An FMB file used as a reference form had its extension changed from .FMB to
    .PLL. Changing the file extension back to .FMB corrected the problem.
    or
    Form Source File FMB has reduced in Size
    cause: Unknown Corruption in Form.
    fix:
    Revert to a back up of the form
    3.) Reasions for this problem
    A) FTP of FMB/MMB/PLL was done in ASCII mode, and should have been done in
    BINARY mode
    2) The FTP did not complete, and the FMB/MMB/PLL was only partially transferred
    (To check, compare the byte sizes of the files on win32 against Unix.
    If these are the same and the problem persists, a checksum
    (crc32/MD5/SHA etc) of the file on the 2 systems can be generated on the OS,
    and be compared to see if the files are truly identical.

  • Invalid type of PDE object

    When I try to copy or cut an object, it appears "invalid type of PDE object"
    (Running Acrobat 9 Pro extended on Windows 8.1)
    I'm not a geek, please help.

    Acrobat 9 Pro Extended worked pretty well with Windows 8, but when switched to 8.1. then I found this issue.
    What do you suggest ?
    Option 1 : I could get a newer Acrobat, but which one is fully compatible with 8.1 ?
    Option 2 : I could get a different Pdf editor software, like Pdfpro10, did somebody try it on 8.1 ?
    Option 3 : you tell me.....
    I will appreciate your opinions, guys.

  • [Acceleo] PDE and EMTL

    Hi,
    Using Eclipse Indigo (3.7.0) with Acceleo 3.1.0, I got a problem while trying to export my Acceleo plugins. The produced plugins do not contain the expected EMTL files, which generates errors at runtime.The behavior is the same using either the "export deployable plugins" Eclipse command or the headless build.
    Just note that the behavior in 3.6.0 was not the same (not sure for 3.6.1 and 3.6.2). I also succeeded in reproducing the same behavior by using a fresh install of the Eclipse product with a fresh new acceleo project using a public available URI (Ecore).
    Looking at what is generated through PDE build ant task, it seems that an EMTL file is actually generated just besides the build directory (@dot) as a "@dot.emtl" file, which may explain why it is not finally present in the generated plugin.
    By having a quick look at the AcceleoCompiler Task code (computeFileInfos method in AcceleoCompilerHelper), it seems that the previous (normal?) behavior can be obtained by setting an output folder equals to the source folder (outputFolder="${target.folder}") in the task defined in the "build.acceleo" file. However, I am not sure this is one of the best practices.
    So, my question(s): what is the "normal" behavior expected with Acceleo 3.1.0 regarding the plugin export? did I do something wrong?

    Hi Brice,
    It seems that a regression has appeared in the generation of the build.properties file.
    Quote:it seems that the previous (normal?) behavior can be obtained by setting an output folder equals to the source folder (outputFolder="${target.folder}") in the task defined in the "build.acceleo" file. However, I am not sure this is one of the best practices.
    Even without the "outputFolder="${target.folder}" it should work but I've looked at the code and a regression has appear. You can indeed restore the previous behavior by adding "outputFolder="${target.folder}". Thanks for reporting this issue, I've fixed it. The fix will be available when Acceleo 3.1.1 will be released.
    Regards,
    Stephane Begaudeau, Obeo
    Twitter: @sbegaudeau
    Blog: http://stephanebegaudeau.tumblr.com
    Acceleo Documentation: http://docs.obeonetwork.com/acceleo

Maybe you are looking for

  • Problem in sending buffered image to remote machine

    iam able to capture ithe desktop screen as a buffered image by using buffered image class in java.awt.image.but iam bot able to send that buffered image to remote machine.it is only possible to send some part of that buffered image.but iam not able t

  • I get the grey screen with apple logo & swirly circle - that's it?

    I need to re install Lion X. I went to the Genius bar & the Genius held the alt key (?) then the re-install screen came up. Simple, but i need to do this at home & now it doesn't work! Do I need the computer on? Do I hold only the alt key? Or is it t

  • How to Reverse Internal Orders

    Hi, We had a incorrect IO postings to wrong company code and the costs been posted to it, now i need to reverse it and post to correct company code, Pl let me know how can i rosolve this, inorder to reverse the entries which transaction do i need to

  • DNG Profile Editor, a question or a request.

    I have just played a little bit with it, and a question comes to my mind. When you select a color, i.e, RGB 33,26,21, is there a way to edit not only this puntual color but a range of similar tones ? Like editing a "field" around the color point sele

  • Controlling Counter Timer of PCI6259 from Matlab

    Hi, My Name is Abtin, Im from Germany and i Hope my English is good enough to discribe my Problem. Im using a PCI 6259 Card, and I want to set the general Purpose Counter and Timer from Matlab. But I still dont manage it. have sombody experience with