FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of ar

Hi All
I am tying to submit the concurrent request through buttom, when i press the button.. the request is submitting but showing the error"FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of argument in call"
What are the paramerter i submited in SRS window( normal submition not throu button) is are equall submition throw button.... And in procedure also i am using errbuf and retcode...
Can any one help regarding the issue where i am doing the mistake...
PROCEDURE Einvoice(ERRBUF OUT VARCHAR2,RETCODE OUT VARCHAR2,P_INVOICE_TYPE RA_CUST_TRX_TYPES_all.type%TYPE,
P_INVOICE_FROM RA_CUSTOMER_TRX_PARTIAL_V.TRX_NUMBER%TYPE,
P_INVOICE_TO RA_CUSTOMER_TRX_PARTIAL_V.TRX_NUMBER%TYPE,
P_CUSTOMER_ID RA_CUSTOMER_TRX_PARTIAL_V.SOLD_TO_CUSTOMER_ID%TYPE,
P_DOCUMENT_NUM NUMBER,
P_reprint_flag VARCHAR2
In the button trigger
FND_REQUEST.SUBMIT_REQUEST('GETSAR'
,'EINVOICE'
,NULL ,NULL ,FALSE
,:main_b.invoice_type
,to_number(:main_b.From_Invoice_number)
,to_number(:main_b.to_invoice_number)
,:main_b.customer_id
,to_number(:main_b.document_no_from)
,:main_b.reprint_flag
,'') up to 100 parameters
We need to change any datatypes in procedure ?????????????

Duplicate post.
"FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of
"FDPSTP failed due to ORA-06550: line1 ,column:"   Wrong number of types of

Similar Messages

  • Error: FDPSTP failed due to ORA-06550

    Hi all..
    I have a procedure which was running in backend(sql * plus). in oracle apps it was showing the error.
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SAMPLE_PROCEDURE'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    i read some post in which it is asked to add 2 parameters (errbuff OUT varchar2,retcode OUT number) to the procedure. when i added those 2 parameters in my procedure, i got the error now in backend too. i couldn't compile my procedure. the same error is displayed in my sql * plus.
    this is my procedure script:
    create or replace procedure
    sample_procedure(errbuff OUT varchar2,retcode OUT number).
    can anyone help pls...
    thanks in advance..

    create or replace procedure
    sample_procedure(errbuff OUT varchar2,retcode OUT number).Change errbuff to errbuf and try again.
    Custom Stored Procedure Run as Concurrent Request Fails w/ PLS-306 AND ORA-6550 [ID 1016543.102]
    ORA-6550 PLS-306 When Running A Valid Database Procedure [ID 100977.1]
    Thanks,
    Hussein

  • Fdpstp failed due to ora-12899 value too large for column

    Hi All,
    User facing this problem while running the concurrent program.
    the program is complted but with rhis error.
    fdpstp failed due to ora-12899 value too large for column
    Can any one tell me the excat solution for this?
    RDBMS : 10.2.0.3.0
    Oracle Applications : 11.5.10.2

    User facing this problem while running the concurrent program.
    the program is complted but with rhis error.Is this a seeded or custom concurrent program?
    fdpstp failed due to ora-12899 value too large for column
    Can any one tell me the excat solution for this?Was this working before? If yes, any changes been done recently?
    Can other users run the same concurrent program with no issues?
    Please post the contents of the concurrent request log file here.
    Please ask your developer to open the file using Reports Builder and compile the report and run it (if possible) with the same parameters.
    OERR: ORA-12899 value too large for column %s (actual: %s, maximum: %s) [ID 287754.1]
    Thanks,
    Hussein

  • Getting error in mailing program :Cause: FDPSTP failed due to ORA-29277

    in the following program i am submitting a request and sending concurrent program log file (.REQ file)as an attachment but getting
    following error,plese tell me where i am wrong
    ORACLE error 29277 in FDPSTP
    Cause: FDPSTP failed due to ORA-29277: invalid SMTP operation
    ORA-06512: at "SYS.UTL_SMTP", line 44
    ORA-06512: at "SYS.UTL_SMTP", line 150
    ORA-06512: at "SYS.UTL_SMTP", line 383
    ORA-06512: at "SYS.UTL_SMTP", line 399
    ORA-0651
    code:
    CREATE OR REPLACE PACKAGE BODY APPS.xx_create_acct
    AS
       PROCEDURE submit_request(
          errbuf             OUT   VARCHAR2,
          retcode            OUT   VARCHAR2,
          Source_Application     varchar2,
    Application     number,
    Dummy_Parameter_0    varchar2,
    Ledger    number,
    Process_Category     varchar2,
    End_Date     varchar2,
    Create_Accounting_Flag    varchar2,
    Dummy_Parameter_1    varchar2,
    Accounting_Mode    varchar2,
    Dummy_Parameter_2    varchar2,
    Errors_Only_Flag    varchar2,
    Report    varchar2,
    Transfer_to_GL_Flag    varchar2,
    Dummy_Parameter_3    varchar2,
    Post_to_GL_Flag    varchar2,
    GL_Batch_Name    varchar2,
    Mixed_Currency_Precision    Number,
    Include_Zero_Amt_Lines_Flag    varchar2,
    Request_ID    varchar2,
    Entity_ID    Number,
    Source_Application_Name    varchar2,
    Application_Name    varchar2,
    Ledger_Name    varchar2,
    Process_Category_Name    varchar2,
    Create_Accounting    varchar2,
    Accounting_Mode_Name    varchar2,
    Errors_Only    varchar2,
    Report_Level    varchar2,
    Transfer_to_GL    varchar2,
    Post_in_GL    varchar2,
    Include_Zero_Amount_Lines    varchar2,
    Valuation_Method    varchar2,
    Security_ID_Integer_1    varchar2,
    Security_ID_Integer_2    varchar2,
    Security_ID_Integer_3    varchar2,
    Security_ID_Char_1    varchar2,
    Security_ID_Char_2    varchar2,
    Security_ID_Char_3    varchar2,
    Concurrent_Request_ID    number,
    P_INCLUDE_USER_TRX_ID_FLAG    varchar2,
    P_INCLUDE_USER_TRX_IDENTIFIERS    varchar2,
    P_DEBUG_FLAG     varchar2
       IS
          l_senderemail     VARCHAR2 (2000) := '[email protected]';
          l_request_id      NUMBER;
          errmsg            VARCHAR2 (1000);
          req_id            NUMBER;
          phase             VARCHAR2 (200);
          status            VARCHAR2 (200);
          dphase            VARCHAR2 (200);
          dstatus           VARCHAR2 (200);
          MESSAGE           VARCHAR2 (200);
          wait_stat         BOOLEAN;
          l_file_name       VARCHAR2 (200);
          l_file_path       VARCHAR2 (2000);
          crlf              VARCHAR2 (4)    := CHR (13) || CHR (10);
          v_set_layout_option  BOOLEAN;
           dir_name         varchar2(100);
        /*  CURSOR req_status
          IS
                        SELECT SUBSTR (outfile_name, 55, 23) filename,
                    SUBSTR (outfile_name, 1, 64) outfilepath
               FROM applsys.fnd_concurrent_requests
              WHERE request_id = l_request_id
                AND phase_code = 'C'
                AND status_code = 'C';*/
          directory_path    VARCHAR2 (2000);
          lv_subject        VARCHAR2 (100);
          lv_msg            VARCHAR2 (700);
          lv_msghdr         VARCHAR2 (100);
          lv_pdf_filename   VARCHAR2 (200);
       BEGIN
        apps.fnd_global.apps_initialize
                                   (user_id           => apps.fnd_global.user_id,
                                     resp_id           =>apps.fnd_global.resp_id,
                                    resp_appl_id      => apps.fnd_global.resp_appl_id
                 l_request_id :=
                apps.fnd_request.submit_request
                                      ( 'BOM',
                                        'CSTCRACCRCV',
                                         NULL,
                                         NULL,
                                         FALSE,                             
                                        Source_Application,
                                        Application     ,
                                        Dummy_Parameter_0,
                                        Ledger    ,
                                        Process_Category,
                                        End_Date     ,
                                        Create_Accounting_Flag,   
                                        Dummy_Parameter_1    ,
                                        Accounting_Mode    ,
                                        Dummy_Parameter_2,
                                        Errors_Only_Flag,
                                        Report    ,
                                        Transfer_to_GL_Flag,
                                        Dummy_Parameter_3,
                                        Post_to_GL_Flag    ,
                                        GL_Batch_Name    ,
                                        Mixed_Currency_Precision,
                                        Include_Zero_Amt_Lines_Flag,   
                                        Request_ID    ,
                                        Entity_ID,
                                        Source_Application_Name,
                                        Application_Name,
                                        Ledger_Name    ,
                                        Process_Category_Name,   
                                        Create_Accounting    ,
                                        Accounting_Mode_Name,
                                        Errors_Only    ,
                                        Report_Level,
                                        Transfer_to_GL,   
                                        Post_in_GL    ,
                                        Include_Zero_Amount_Lines,
                                        Valuation_Method    ,
                                        Security_ID_Integer_1,   
                                        Security_ID_Integer_2,   
                                        Security_ID_Integer_3,   
                                        Security_ID_Char_1    ,
                                        Security_ID_Char_2    ,
                                        Security_ID_Char_3    ,
                                        Concurrent_Request_ID,
                                        P_INCLUDE_USER_TRX_ID_FLAG,   
                                        P_INCLUDE_USER_TRX_IDENTIFIERS,   
                                        P_DEBUG_FLAG    
             COMMIT;
             IF (l_request_id <= 0)
             THEN
                errmsg := apps.fnd_message.get ();
             ELSE
                wait_stat :=
                   apps.fnd_concurrent.wait_for_request (l_request_id,
                                                         10,
                                                         360,
                                                         phase,
                                                         status,
                                                         dphase,
                                                         dstatus,
                                                         MESSAGE
                IF dphase = 'COMPLETE'
                THEN
                   dir_name :='XX_CREATE_ACCT_LOG';
                   l_file_name := 'l' || l_request_id || '.REQ';
                   lv_subject := NULL;
                   lv_msg := NULL;
                   lv_msghdr := NULL;
                   lv_pdf_filename := NULL;
                   lv_subject := 'testing mail :Request for Create Accounting not completed';
                   lv_msg :=
                         'Please find attachement here with the Status Of Create Accounting Reciving from cost management'
                   ||  crlf;
                   lv_msghdr := 'Dear Sir' ;
                   lv_pdf_filename := l_file_name;
                   send_mail (l_senderemail,
                              '[email protected]',
                              lv_subject,
                              lv_msghdr,
                              lv_msg,
                              lv_pdf_filename,
                              'text/application',
                              dir_name
                END IF;  
             END IF;
       END submit_request;
       PROCEDURE send_mail (
          p_sender        IN   VARCHAR2,
          p_recipient     IN   VARCHAR2,
          p_subject       IN   VARCHAR2,
          p_mailbodyhdr   IN   VARCHAR2,
          p_mailbody      IN   VARCHAR2,
          p_filename      IN   VARCHAR2,
          p_filetype      IN   VARCHAR2,
          dir_name        in   VARCHAR2
       AS
          v_msg                          VARCHAR2 (32000);
          src_file                       BFILE;
          i                              INTEGER             := 1;
          v_raw                          RAW (500);
          v_length                       INTEGER             := 0;
          v_buffer_size                  INTEGER             := 57;
          v_mailconn                     UTL_SMTP.connection;
          gc_crlf                        VARCHAR2 (4)      := CHR (13)
                                                              || CHR (10);
          gc_lf                          VARCHAR2 (4)        := CHR (10);
          crlf                           VARCHAR2 (2)      := CHR (13)
                                                              || CHR (10);
          gc_mailhost                    VARCHAR2 (255)      := '172.16.11.2';
          -- gc_maildomain                  VARCHAR2 (255)      := 'pune.com';
          msg                            VARCHAR2 (32767);
          boundary              CONSTANT VARCHAR2 (256)
                                               := '-----7D81B75CCC90D2974F7A1CBD';
          first_boundary        CONSTANT VARCHAR2 (256)
                                              := '--' || boundary || UTL_TCP.crlf;
          last_boundary         CONSTANT VARCHAR2 (256)
                                      := '--' || boundary || '--' || UTL_TCP.crlf;
    -- A MIME type that denotes multi-part email (MIME) messages.
          multipart_mime_type   CONSTANT VARCHAR2 (256)
                              := 'multipart/mixed; boundary="' || boundary || '"';
       BEGIN
          DBMS_OUTPUT.ENABLE (100000);
          --fnd_file.put_line (fnd_file.output, '------------------------------------------------------' );
          v_mailconn := UTL_SMTP.open_connection (gc_mailhost, 26);
          UTL_SMTP.helo (v_mailconn, gc_mailhost);
          UTL_SMTP.mail (v_mailconn, p_sender);
          UTL_SMTP.rcpt (v_mailconn, p_recipient);
          UTL_SMTP.open_data (v_mailconn);
          msg :=
                'Date: '
             || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
             || crlf
             || 'From:[email protected] '
          --   || p_sender
             || crlf
             || 'Subject: '
             || p_subject
             || crlf
             || 'To: [email protected]'
            -- || p_recipient
             || crlf
             || 'MIME-Version: 3.1'
             || crlf
             ||                                          -- Use MIME mail standard
                'Content-Type: multipart/mixed;'
             || crlf
             || ' boundary="-----SECBOUND"'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type: text/plain;'
             || crlf
             || 'Content-Transfer_Encoding: 7bit'
             || crlf
             || crlf
             || p_mailbodyhdr
             || crlf
             || crlf
             || p_mailbody
             || crlf
             || crlf
             || crlf
             || crlf
             ||                                                    -- Message body
                'Regards'
             || crlf
             || 'HR and Payroll Team'
             || crlf
             || crlf
             || ' Note- Please ignore the leave status and number of days.'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type'
             || ': '
             || p_filetype
             || crlf
             || 'Content-Disposition: attachment; filename="'
           --  || 'Create Accounting'
            -- || '.REQ'     
             ||p_filename                                         -- p_filename
             || '"'
             || crlf
             || 'Content-Transfer-Encoding: base64'
             || crlf
             || crlf;
          UTL_SMTP.write_data (v_mailconn, msg);
          src_file := BFILENAME (dir_name, p_filename);
          DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
          v_length := DBMS_LOB.getlength (src_file);
          WHILE i < v_length
          LOOP
             DBMS_LOB.READ (src_file, v_buffer_size, i, v_raw);
             UTL_SMTP.write_raw_data (v_mailconn,
                                      UTL_ENCODE.base64_encode (v_raw)
             UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
             i := i + v_buffer_size;
          END LOOP while_loop;
          UTL_SMTP.write_data (v_mailconn, last_boundary);
          UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
          DBMS_LOB.fileclose (src_file);
          UTL_SMTP.close_data (v_mailconn);
          UTL_SMTP.quit (v_mailconn);
       EXCEPTION
          WHEN OTHERS
          THEN
             UTL_SMTP.quit (v_mailconn);
             DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
       --   FND_FILE.PUT_LINE (FND_FILE.LOG,'error while fetching values from CO_CODE'|| SQLERRM );
       END send_mail;
    END xx_create_acct;Edited by: BluShadow on 18-Apr-2011 09:49
    added {noformat}{noformat} tags.  Please see the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for info on how to post on the forums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    I didn't get the information, What I want. Anyway, in the BLOB writing portion you have to create a temporary LOB and load your file into that temporary LOB and the write it into chunks.
    Something like
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
      DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
      v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
      DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    /* Writing the BLOL in chunks */
      WHILE l_pos < l_blob_len LOOP
        DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
        UTL_SMTP.write_raw_data(v_connection_handle,
                                UTL_ENCODE.BASE64_ENCODE(l_buffer));
        UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
        l_buffer := NULL;
        l_pos    := l_pos + l_amount;
      END LOOP;For more example see these posts:
    Re: Sending UTL_SMTP mail with single jpg attachment issue
    Re: getting junk letters instead of photo in an email.

  • Getting Error in Data Collection - FDPSTP failed due to ORA-23401

    Hi All,
    I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window.
    But when I am submitting the Data Collection which is the last step I guess, the program is ending with Error.
    I am getting the error.
    FDPSTP failed due to ORA-23401: materialized view "APPS"."MTL_OH_QTYS_SN" does not exist.
    And because of this, when I am going to Sales Order to check the ATP, I am getting the error that Try Calculating ATP Again.
    Please Help. Project is into a critical stage and I am stuck with this error.
    With Regards,
    Vishal Majithia

    Please mention the application release.
    I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window.What is the document you are referring to?
    I am getting the error.
    FDPSTP failed due to ORA-23401: materialized view "APPS"."MTL_OH_QTYS_SN" does not exist.Please see if these docs help.
    Refresh Snapshot Errors With ORA-12034: Snapshot Log On "BOM"."BOM_SUB_OPERATION_RESOURCES" Younger Than Last Refresh [ID 180705.1]
    How to Rebuild Source Snapshots Used in the Data Collection or Planning Data Pull MSCPDP [ID 148584.1]
    Thanks,
    Hussein

  • FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE fai

    Cause: FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512: at
    $ echo $APPLPTMP
    /usr/tmp/DEV
    $ echo $APPLTMP
    /prod2/devcomn/temp
    SQL> show parameter utl_file_dir;
    NAME TYPE VALUE
    utl_file_dir string /usr/tmp, /usr/tmp/DEV, /prod2
    /devcomn/temp, /prod2/devcomn/
    temp/DEV, /homeoa/interf/DEV,
    /homeoa/interf/PROD, /homeoa/i
    nterf/DEV/OP, /homeoa/proaut2/
    DEV/OP, /homeoa/proaut2/DEV, /
    homeoa/proaut2/DEV/CO, /homeoa
    /proaut2/DEV/PT
    I applied some notesm, about the utl, and APPLPTMP. But the error persist, Can you help me?
    Regards,
    Guido

    Cause: FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512: at
    $ echo $APPLPTMP
    /usr/tmp/DEV
    $ echo $APPLTMP
    /prod2/devcomn/temp
    SQL> show parameter utl_file_dir;
    NAME TYPE VALUE
    utl_file_dir string /usr/tmp, /usr/tmp/DEV, /prod2
    /devcomn/temp, /prod2/devcomn/
    temp/DEV, /homeoa/interf/DEV,
    /homeoa/interf/PROD, /homeoa/i
    nterf/DEV/OP, /homeoa/proaut2/
    DEV/OP, /homeoa/proaut2/DEV, /
    homeoa/proaut2/DEV/CO, /homeoa
    /proaut2/DEV/PT
    I applied some notesm, about the utl, and APPLPTMP. But the error persist, Can you help me?https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100+AND+FND_FILE+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100+AND+ORA-06512&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • FDPSTP failed due to ORA-20100: File 1111.tmp creation for FND_FILE failed.

    Dear,
    Cause: FDPSTP failed due to ORA-20100: File l0187052.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 543
    ORA-06512: at "APPS.HRI_
    We are facing the problem while running standard request. Could you pls advice,
    Thansk.

    user-Keen wrote:
    Dear,
    Cause: FDPSTP failed due to ORA-20100: File l0187052.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 543
    ORA-06512: at "APPS.HRI_
    We are facing the problem while running standard request. Could you pls advice,
    Thansk.
    You may also see previous threads which discuss the same topic -- https://forums.oracle.com/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=ORA-20100+APPS.FND_FILE
    Thanks,
    Hussein

  • ORA-06553: PLS-306: wrong number or types of arguments in call to 'EDN_DEQU

    Hi,
    I have installed Oracle fusion 11g on windows vista SP1 system. I have followed all the steps provided in the Oracle fusion installation guide.
    After installation when i tried to start the SOA server i'm continously getting the below warning message in the log file.
    [2009-11-27T03:18:23.203+05:30] [soa_server1] [WARNING] [SOA-31013] [oracle.integration.platform.blocks.event.saq] [tid: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@291d84] [userId: <anonymous>] [ecid: 0000IKmTpBfB5Ewr0CyWMF1B3jQf00000B,0] [APP: soa-infra] Error handling message (rolling back).[[
    java.sql.SQLException: ORA-06553: PLS-306: wrong number or types of arguments in call to 'EDN_DEQUEUE_OAOO_DELIVERY'
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:1222)
         at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus.java:690)
         at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:614)
         at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:76)
         at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:279)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)
         at java.lang.Thread.run(Thread.java:619)
    I have restarted everything and tried again which resulted in the same scenario.
    Anyone,Please help me to troubleshoot this and walk me through this issue.Thanks in advance!.

    Hi to all,
    I have the same problem after a fresch installation of the SOA SUite on a Windows XP.
    After both the admin server and the SOA Server for the domain started correctly then the huge amount of errors
    <ORA-06553: PLS-306: ....>
    is preventing any work on the dual core PC.
    Who can help ?
    best regards
    ############## traces SOA_server console ###############
    <Dec 16, 2009 10:09:10 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Dec 16, 2009 10:09:10 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Dec 16, 2009 10:09:10 AM CET> <Warning> <Server> <BEA-002611> <Hostname "venus", maps to multiple IP addresses: 192.168
    .0.52, 192.168.0.41>
    <Dec 16, 2009 10:09:10 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.0.41:800
    1 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 16, 2009 10:09:10 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.52:8001 f
    or protocols iiop, t3, ldap, snmp, http.>
    <Dec 16, 2009 10:09:10 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:8001 f
    or protocols iiop, t3, ldap, snmp, http.>
    <Dec 16, 2009 10:09:10 AM CET> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "soa_server1" for
    domain "domain1" running in Production Mode>
    INFO: WLSFabricKernelInitializer$1.handleNotification ......received server running notification. proceeding with compo
    site deployments
    INFO: WLSFabricKernelInitializer$2.run --------->deploying composite model: default/HelloWorldComposite!1.0*53efe7eb-0cc
    6-4fd4-a4c7-72429e842d89
    <Dec 16, 2009 10:09:13 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Dec 16, 2009 10:09:13 AM CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    INFO: SSLSocketFactoryManagerImpl.getKeystoreLocation SOA Keystore location: C:/Oracle/MIDDLE~1/HOME_1~1/USER_P~1/domain
    s/domain1/config/fmwconfig/default-keystore.jks
    INFO: SSLSocketFactoryManagerImpl.getKeystorePassword Obtained null or empty keystore password
    INFO: SSLSocketFactoryManagerImpl.getKeyPassword Obtained null or empty key password
    INFO: SSLSocketFactoryManagerImpl.getSSLSocketFactory SOA-20160
    INFO: DeploymentEventPublisher.invoke Publishing deploy event for default/HelloWorldComposite!1.0*53efe7eb-0cc6-4fd4-a4c
    7-72429e842d89
    INFO: WLSFabricKernelInitializer$2.run -------> Done deploying composites. took 1 seconds.
    Dec 16, 2009 10:09:16 AM oracle.integration.platform.blocks.event.saq.SAQBusinessEventBusMessages errorHandlingMessage
    WARNING: Error handling message (rolling back).
    java.sql.SQLException: ORA-06553: PLS-306: wrong number or types of arguments in call to 'EDN_DEQUEUE_OAOO_DELIVERY'
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:12
    22)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus
    .java:690)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:6
    14)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:76)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:279)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)
    at java.lang.Thread.run(Thread.java:619)
    ################ traces WebLogic admin server ######################
    starting weblogic with Java version:
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\HOME_1~1\JDK160~1\bin\java -client -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblo
    gic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:
    none -da -Dplatform.home=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3\serve
    r -Dweblogic.home=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\HOME_1~1\USER_P~1\doma
    ins\domain1 -Doracle.home=C:\Oracle\Middleware\home_11gR1\Oracle_SOA1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.
    Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\modules\or
    acle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\HOME_1~1\USER_P~1\domains\domain1\co
    nfig\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.alternateTypesDirectory=C
    :\Oracle\Middleware\home_11gR1\Oracle_SOA1\modules\oracle.ossoiap_11.1.1,C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\mod
    ules\oracle.oamprovider_11.1.1 -Dsso.filter.enable=true -Doracle.security.jps.policy.migration.validate.principal=false
    -Dsoa.archives.dir=C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\soa -Dsoa.instance.home=C:\Oracle\MIDDLE~1\HOME_1~1\USE
    R_P~1\domains\domain1 -Dtangosol.coherence.clusteraddress=227.7.7.7 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.Messag
    eFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dcom.sun.management.jmxremote -Djava.protocol.handler.pkgs="oracle
    .mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler" -Dweblogic.transacti
    on.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Dem.oracle.home=C:\Oracle\Middleware\home_11gR1\O
    racle_SOA1 -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.lo
    gErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\HOME_1~1\patch_wls1031\profiles\default\sysext_manifest_classpa
    th;C:\Oracle\MIDDLE~1\HOME_1~1\patch_oepe1031\profiles\default\sysext_manifest_classpath weblogic.Server
    <Dec 16, 2009 10:02:02 AM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Clie
    nt VM Version 11.0-b16 from Sun Microsystems Inc.>
    <Dec 16, 2009 10:02:03 AM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.1.0 Thu Jun 11 00:26:56
    EDT 2009 1227385 >
    <Dec 16, 2009 10:02:07 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Dec 16, 2009 10:02:07 AM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Dec 16, 2009 10:02:08 AM CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\home_11g
    R1\user_projects\domains\domain1\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be
    written to this file.>
    <Dec 16, 2009 10:02:17 AM CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Dec 16, 2009 10:02:34 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Dec 16, 2009 10:02:34 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Dec 16, 2009 10:02:47 AM CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.se
    curity.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application em is not versioned.>
    Dec 16, 2009 10:03:12 AM org.apache.beehive.netui.util.logging.Logger error
    SEVERE: ServletContainerAdapter manager not initialized correctly.
    Dec 16, 2009 10:03:30 AM org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl init
    WARNING: Configurator services already initialized.
    ADF Library non-OC4J post-deployment (millis): 78
    <Dec 16, 2009 10:03:42 AM CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Do
    main level Diagnostic Service successfully.>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Dec 16, 2009 10:03:43 AM CET> <Warning> <Server> <BEA-002611> <Hostname "venus", maps to multiple IP addresses: 192.168
    .0.52, 192.168.0.41>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7001 f
    or protocols iiop, t3, ldap, snmp, http.>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.0.41:700
    1 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.52:7001 f
    or protocols iiop, t3, ldap, snmp, http.>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for d
    omain "domain1" running in Production Mode>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    ###############################################################################################

  • FDSTP failed due to ORA-06550

    Hello,
    I have a procedure setup as a concurrent program in the applications (11i) with no parameters defined at the apps level. Strange thing happens..when I set the concurrent program to run every 5 minutes (just to test it) it runs ok. I changed the schedule to run 6 days a week and it errors out with the above error message.
    When I look at the Requests form in the applications, i see a bunch of commas in a parameter section (only when scheduled to run 5 days a week). When scheduled to run every 5 minutes, the Parameters field in the Requests window says (None).
    Help please!!
    Thanks
    A/A

    The procedure is :
    CREATE OR REPLACE procedure APPS.NFPC_FUT_MTDSLS_LOAD
    (errbuff OUT varchar2,
    retcode OUT number
    IS
       fileID UTL_FILE.FILE_TYPE;
    BEGIN
       fileID := UTL_FILE.FOPEN ('/usr/tmp', 'mtdsls.txt', 'W');
       FOR salesrec IN ((SELECT msi.segment1 "Line-Label Code",
           bill.location "Customer Ship-To Code",
           pv.segment1 "Broker Code",
           lin.attribute1 "Division Code",
           nbm.region_code "Region Code",
           msi.attribute9 "Product Type Code",
           prty.party_name "Customer Name",
           pv.vendor_name "Broker Name" ,
           --msi.description description,
           nbm.DIVISION "Division Name",
           nbm.regional_manager "Regional Mgr. Name",
           DECODE (msi.attribute9,
              2, 'VINEGAR',
              4, 'SAUCE',
              6, 'JUICE',
              41, 'SINGLE SERVE',
              9, 'SPECIALITY',
              91, 'SLICES',
              92, 'PIE FILLING',
              93, 'PUDD/CHEESE',
              94, 'LEMON TEA TRADEWINDS',
              95, 'FRUIT AND JUICE',
              NULL)  "Product Type Description",
              DECODE (hdr.trx_date, 'YY',
              10, '2011') "Fiscal Year"
             ,'01'"Fiscal Month",
               SUM ((nvl(lin.quantity_invoiced,0)*nvl(msi.attribute13,1)) -
               ((nvl(lin.quantity_credited,0)*-1)*nvl(msi.attribute13,1))) "Gross Unit Sales" ,
           SUM (lin.revenue_amount) "Net Dollar Sales",
              msi.attribute12,
           msi.attribute11
    FROM   ra_customer_trx_all hdr,
           ra_customer_trx_lines_all lin,
           mtl_system_items_b msi,
           hz_cust_accounts cust,
           hz_parties prty,
           hz_cust_site_uses_all bill,
           hz_cust_acct_sites_all bill_addr,
           hz_party_sites bill_sites,
           hz_locations bill_locn,
           po_vendors pv,
           nfpc_broker_master nbm,
           nfpc_broker_master_v brk
    WHERE    cust.cust_account_id = hdr.SHIP_TO_CUSTOMER_ID
       AND      nbm.broker_code(+) = pv.segment1
       AND      prty.party_id = cust.party_id
       AND      bill.site_use_id = hdr.ship_to_site_use_id
      -- AND      bill.site_use_code = 'SHIP_TO'
       AND      bill_addr.cust_acct_site_id = bill.cust_acct_site_id
       AND      bill_sites.party_site_id = bill_addr.party_site_id
       AND      bill_locn.location_id = bill_sites.location_id
       AND      lin.customer_trx_id = hdr.customer_trx_id
       AND      interface_header_context = 'ORDER ENTRY'
       AND      msi.inventory_item_id = lin.inventory_item_id
       AND      msi.organization_id = hdr.interface_header_attribute10
       AND      pv.segment1 = lin.attribute2
       AND     trunc(hdr.trx_date) between trunc(sysdate,'mm') and trunc(sysdate)
       AND      brk.broker_code = lin.attribute2
          and interface_header_attribute1 not like '%B'
        --  and msi.SEGMENT1 = '4411884'
    GROUP BY msi.segment1,
           cust.account_number,
           bill.location,
           pv.segment1,
           lin.attribute1,
           nbm.region_code,
           msi.attribute9,
           msi.description,
           prty.party_name,
           pv.vendor_name,
           nbm.regional_manager,
           brk.division,
              msi.attribute12,
           msi.attribute11,
           nbm.division,
           hdr.trx_date
       LOOP
          UTL_FILE.PUT_LINE(fileid, salesrec."Line-Label Code" ||chr(9)||salesrec."Customer Ship-To Code"||chr(9)||salesrec."Broker Code"||
          chr(9)||salesrec."Division Code"
          ||chr(9)|| salesrec."Region Code"||chr(9)||salesrec."Product Type Code"||chr(9)|| salesrec."Customer Name"||chr(9)||salesrec."Broker Name"
          ||chr(9)||salesrec."Division Name"||chr(9)||salesrec."Regional Mgr. Name"||chr(9)||salesrec."Product Type Description"||chr(9)||
          salesrec."Fiscal Year" ||chr(9)||salesrec."Fiscal Month"||chr(9)|| salesrec."Gross Unit Sales"||chr(9)|| salesrec."Net Dollar Sales"
          ||chr(9)||salesrec.attribute12||chr(9)||salesrec.attribute11 );
         -- UTL_FILE.FCOYY (fileid, emp.dat , emp.dat_old);
       END LOOP;
       UTL_FILE.FCLOSE (fileID);
       utl_file.fcopy('/usr/tmp','mtdsls.txt.txt','/usr/tmp','mtdsls-'||TO_CHAR(SYSDATE,'DDMMYY')||'-'||TO_CHAR(SYSDATE,'HH24MI')||'.txt');
    END;
    /

  • Ora-06550,pls-00306 wrong number of arguments in call to ||

    declare
    type t_empid is table of empn.empid%type;
    type t_ename is table of empn.ename%type;
    v_empid t_empid;
    v_ename t_ename;
    cursor c1 is select empid,ename from empn;
    begin
    open c1;
    fetch c1 bulk collect into v_empid,v_ename;
    dbms_output.put_line(v_empid||v_ename);
    --end loop;
    close c1;
    end;

    If you do want to benchmark bulk processing versus normal processing - you need to ensure that the tests are identical each time around, except for the part that you want to benchmark.
    So if you're going to benchmark cursor fetching, that becomes a complex problem. How do you ensure that both tests use the same type of I/O? Logical I/O is faster than physical I/O. Flushing the db buffer cache to force physical I/O, does not flush the operating system's file system buffers. And despite Oracle viewing the I/O as physical I/O, it can be logical I/O from the o/s side.
    So cursor fetching is a complex thing to benchmark accurately. And why benchmark that? Bulk processing is about context switching. It is not about cursor fetching or making SQL cursors faster.
    So to simply benchmark context switching, we need to eliminate other factors - such as I/O. The following example uses an empty table (no I/O will result) and attempt to only look at the performance of context switching between the PL/SQL engine and SQL engine.
    SQL> --// the test table - which we keep empty to eliminate any I/O
    SQL> create table footab( id number );
    Table created.
    SQL> --// the collection data type the test will be using
    SQL> create or replace type TNumbers is table of number;
      2  /
    Type created.
    SQL> --// the test: bulk processing and then "normal" processing
    SQL> declare
      2          numArray        TNumbers;
      3          t1              number;
      4  begin
      5          numArray := new TNumbers();
      6          numArray.Extend(10000);
      7          for i in 1..numArray.Count
      8          loop
      9                  numArray(i) := i;
    10          end loop;
    11 
    12          t1 := dbms_utility.get_cpu_time;
    13          forall i in 1..numArray.Count
    14                  delete from footab where id = numArray(i);
    15          t1 := (dbms_utility.get_cpu_time - t1)/100;
    16          dbms_output.put_line( 'forall='||t1||' sec(s)' );
    17 
    18          t1 := dbms_utility.get_cpu_time;
    19          for i in 1..numArray.Count
    20          loop
    21                  delete from footab where id = numArray(i);
    22          end loop;
    23          t1 := (dbms_utility.get_cpu_time - t1)/100;
    24          dbms_output.put_line( 'for='||t1||' sec(s)' );
    25  end;
    26  /
    forall=.06 sec(s)
    for=.26 sec(s)
    PL/SQL procedure successfully completed.
    SQL> So, from this test, one can see that a reduction of context switches improve performance. Nothing more.
    The actual benefit in real life processing depends on a number of factors. And many of these will be unique at run-time. So one can say that reducing context switching is better. How much better will be pure speculation as test results like these cannot be applied via a formula of sorts to determine production performance.

  • ORA-06550: line1,column7: PLS-00306: wrong number or types of arguments

    Hello All,
    I am getting this error:
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'GETCURRENCYFROMSCENARIO' ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Can anybody help me with this error that I am getting on VB.net: Any responses will be very helpful
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'GETCURRENCYFROMSCENARIO' ORA-06550: line 1, column
    7: PL/SQL: Statement ignored
    The Function written in VB.net that is calling the PLSQL function is pasted below:
    Public Function GetCurrencyFromScenario(ByVal DataSetType As String, ByVal DataSetName As String, ByVal CurrType As String)
    Dim returnValue As String
    Dim db As OracleDbHelper = GetHelper()
    Dim params As New List(Of OracleParameter)
    params.Add(OracleParameterFactory.CreateIn("asUserName", OracleDbType.Varchar2, _props.CurrentUser))
    'params.Add(OracleParameterFactory.CreateOut("psError", OracleDbType.Varchar2, 2000))
    params.Add(OracleParameterFactory.CreateIn("asDatasetName", OracleDbType.Varchar2, DataSetName))
    params.Add(OracleParameterFactory.CreateIn("asDatasetType", OracleDbType.Varchar2, DataSetType))
    params.Add(OracleParameterFactory.CreateIn("asCurrType", OracleDbType.Varchar2, CurrType))
    params.Add(OracleParameterFactory.CreateOut("asCurrency", OracleDbType.Varchar2))
    db.ExecSql_ReaderDataTable(ProcedureName(FPAGET, "GetCurrencyFromScenario"), CommandType.StoredProcedure, params)
    End Function
    The PL SQL code that contains the function is called as below:
    Procedure GetCurrencyFromScenario (
    asUserName varchar2,
    DataSetType varchar2,
    DataSetName varchar2,
    CurrType varchar2,
    asCurrency out fpa_operating_variable.value_text%type) is
    begin
         asCurrency := 'EUR';
         return;          
    end;

    I wasnt posting duplicates. I posted the first time on PL SQL forum, but was guided to post it on ODP.net as it is more of related to VB.net. Hence I reposted it there.
    Moderator: can you lock this thread if you want and activate the other thread?
    As mentioned, I flipped the two variables and 'asDatasetName' and 'asDatasetType' and tried it. But is still failed.
    Regarding the "fpa_operating_variable.value_text ", yes it is a varchar2. I rechecked the same.
    Thanks for all the help in responding.

  • Cost Manager Concurrent req failed due to ORA-00060:

    Hi
    We are using Oracle Applications E-Business suite 11.5.9. OS HP-UX
    Cost Manger is an scheduled concurrent program which was error out thrice scince today morning with the following error.
    Cause: cmlmcm() failed due to ORA-00060: deadlock detected while waiting for resource.
    I found no dead lock occurred. I don't know why it happend so.
    Please help me out on this issue.
    tokala
    Edited by: Neosatish on Oct 20, 2008 1:38 PM

    Could you suggest me the method to find out the scheduled concurrent request in specific time period. Or How to find out the the scheduled time for a concurrent program.Run the following query:
    SQL> select *
    from fnd_concurrent_requests
    where status_code in ('Q','I')
    and hold_flag = 'N';Note: 170107.1 - How to Determine Scheduled Concurrent Requests
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=170107.1

  • ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments

    I am getting an error:
    "ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'XYZ' ORA-06550: line 1, column 7: PL/SQL: Statement ignored".
    Stored Procedure:
    PROCEDURE XYZ
    (ip_number IN NUMBER,
    op_error_code OUT NUMBER,
    op_error_text OUT VARCHAR2,
    ret_cursor OUT OUT_CURSOR);
    In the procedure I am selecting a details from few tables with respect to the input parameter 'ip_number'.
    VB Code:
    strConnectionString = CONNECTION_STRING
    Set objConnection = Server.CreateObject("ADODB.Connection")
    objConnection.Open strConnectionString
    Set objCommand = Server.CreateObject("ADODB.Command")
    With objCommand
    .ActiveConnection = objConnection
    .CommandType = adCmdStoredProc
    End With
    With objCommand
    .CommandText = "Pkg_1.XYZ"
    .Parameters.Append objCommand.CreateParameter_
    ("ip_ipnumber",adNumeric,adParamInput,8,strIPNumber)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_code",adNumeric,adParamOutput,10)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_text",adVarChar,adParamOutput,512)
    Set RS = .Execute()
    End With
    Its working fine with ASP(VB)+ Oracle9i + Windows2000.
    But in ASP(VB) + Oracle 8.1.7 + Windows2000, its giving this error:
    "ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'XYZ' ORA-06550: line 1, column 7: PL/SQL: Statement ignored".
    Please help.

    Your procedure has 4 parameters 1 in and 3 out parameter
    whereas in your VB code
    Parameters.Append objCommand.CreateParameter_
    ("ip_ipnumber",adNumeric,adParamInput,8,strIPNumber)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_code",adNumeric,adParamOutput,10)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_text",adVarChar,adParamOutput,512)
    There are only 3 parameter added where is the 4 th one ?
    With Warm Regards
    SSR

  • CONCSUB failed due to ORA-12154: TNS:could not resolve service name

    Hiall,
    While bringing up concurrent managers getting the below error.
    Cause: CONCSUB failed due to ORA-12154: TNS:could not resolve service name
    I just cloned the instance.
    urgent help is appreciated as I am missing the dead line to complete clone.
    Regards,
    Siva

    Pleas post OS and EBS version
    Please check the listener is up and running on DB tier.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1
    Edited by: 3Amigos on Nov 21, 2010 9:16 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Issue with proc-ora-06550 wrong number or types of arguments in call to

    Hi....
    When i am running the flollwing procedure as
    SQL> exec Prc_WA_Default_Currt_flag(15445);
    the following error is thrown.......could someone help me and please let me know how this can be corrected.
    BEGIN Prc_WA_Default_Currt_flag(15445); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to
    'PRC_WA_DEFAULT_CURRT_FLAG'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ***proc code****
    CREATE OR REPLACE procedure Prc_WA_Default_Currt_flag(Instance_Id_Upd_in in number,dummy1 out number) as
    Instance_Id_Upd1 number;
    dummy2 number;
    cursor c1 is select rwid from wa_temp_default;
    begin
    Instance_Id_Upd1:=Instance_Id_Upd_in;
    for i in c1 loop
    update default_event_log set current_flag=null,Instance_id_upd=Instance_Id_Upd1
    where rowid =i.rwid and load_date<(select currLoadtime from wa_batch where
    jobname='Default_event_log') and current_flag='Y';
    end loop;
    commit;
    for i in c1 loop
    update default_event_log set current_flag='Y'
    where load_date>=(select currLoadtime from wa_batch where
    jobname='Default_event_log') and rowid=i.rwid;
    end loop;
    commit;
    select to_number(Instance_Id_Upd1) into dummy1 from dual;
    end;
    /

    Hi,
    Since it contains an out parameter it has to run this way
    declare
    dummy_out number;
    begin
    prc_wa_default_currt_flag(15445,dummy_out);
    end;Regards
    Anurag

Maybe you are looking for

  • Error "Update CMS"

    Hi experts, If I do click the "Update CMS" button then come following error message: SLD (URL http://server:port) server exception: IO error: Read timed out Thank you in advance, Stefan

  • How to make my site top in the search engines for a high ranking?

    I am new at this, and I am planning to build a big site on iweb, but my question is where can I get information on how to make my site with high rankings? Would I have to post my site in lots of search engines, or have the hosting company help out? h

  • JDBC and MS SQL Server support

    Hi everyone, I'm using JDBC to access a MS SQL Server DB. To be more precise, I tried both the MS JDBC SQL Server driver as well as jTDS. Here's the question: I'm using scrolling and committable cursors. My application could definetely make good use

  • SetConnectionProvider() vs commond logical system names

    I inherited a project from a student that contains 1 webdynpro DC. There are 7 models defined with multiple RFCs per model. Originally they had all their own meta and model data logical system names which resulted in a total of 14 JCOs defined in Web

  • Printer on Powerbook + Software questions

    Hi there! I'm new to these boards as well as new to Apple. I have just purchased a Powerbook 15" and have some questions. I have an hp deskjet printer...would I be able to hook my powerbook to that? Or are there specific apple friemdly printers I can