DUPLICATE fails after recovery due to ORA-01861

I issued the following duplicate command:
DUPLICATE TARGET DATABASE TO dev2 UNTIL TIME '2006-09-16 04:30:00';It actually goes through the 8-hour task of restoring datafiles and recovering from archive logs. It then creates the control file and then executes the SET NEWNAME commands when it fails with this error
executing command: SET NEWNAME
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/18/2006 08:17:07
RMAN-03015: error occurred in stored script Memory Script
ORA-01861: literal does not match format stringThe only possible cause I can think of is that, as of 16 Sep 2006, I hadn't yet set my NLS_DATE_FORMAT parameter. It is now set (to YYYY-MM-DD HH24:MI:SS) so that I can specify the date format for my PITR duplication.
Does my diagnosis make any sense? If I unset NLS_DATE_FORMAT and say UNTIL TIME '16-SEP-06' does that mean '16-SEP-06 00:00:00'? That would work for me as well. However since each failed attempt means 8 hours lost I'd like to know that kind of thing ahead of time, and if my diagnosis is even correct.

Normally we do have two senarios while cloning. One, you clone to an existing instance by removing the control and datafiles. Two, take a copy of spfile from target DB and clone to auxiliary DB. In the first case there can be chances that NLS is different than your target. But in second case it will be same because you are cloning from one parent setting.
In your case if I am not wrong it was the first scenario ( This scenario I normally face in my UAT database clones when cloning from production). Its always better to keep same NLS but some situations u cant do that. In that case you can use “to_date” and it’s a very well proven method.
And your question why your clone failed after all the restore operation. I personally think the database when tried to reset your logs after restoration it found format difference and shouted about that. As simple as that.

Similar Messages

  • Dv6-2170eo windows update fails after recovery

    I have a HP dv6-2170eo netbook with Windows 7 Home premium (64-bit). My origin hard drive (640GB) failed and I replaced it with 1TB hard drive. I used the recovery DVD's that I made when I bought the laptop and then reloaded Windows 7 on the new hard drive.
    After reloading ,  Windows Update does not work.
    This is the error I get:
    Windows Update cannot currently check for updates, because the service is not running. You may need to restart your computer.
    I can't even install Windows Defender or Microsoft Security Essential
    Intel Chipset driver from 2009-06-04
    My internet access is OK.
    I have restarted my netbook and the error is the same.
    I have reloaded Windows 7 and the error is the same
    Please help me
    Haggann

    I had the same problem with an HP G72. If you have an Intel Chipset, goto Intels website and download there "Intel Rapid Storage Technology Driver" and install it. I had the exact same problems and this fixed them. For some unknown reason this driver is not available on HP's website. I just Googled the driver and it took me straight to Intels website where I downloaded it. Get the driver that you can run from within windows and not the one that runs from a floppy.
    Good Luck,

  • Database instance on 2 nodes fails to start due to ORA-07452

    Hello All,
    windows 64 bit 5 node rac ..10.2.0.3
    We have an issue and this happens weekly once without fail for the last 3-4 weeks.
    Everyday we have an expdp from production and and impdp script which imports that data into our test env.
    Before the import starts there is a script which bringds down the database, puts into no archive log mode, starts the database up and kicks the import. Once import is done, it will again bring down the db, put it in archive log and start the entire db.
    This works perfectly on everyday other than weekends (fri or sat..we are in middle east - Dubai). Over the weekend, the db goes down, put it in no archive log and when it tries to bring up the db, about 2 or 3 instances fail to come up with
    Fri Nov 23 22:12:32 2007
    Errors in file d:\oracle\product\10.2.0\admin\ajcprd\bdump\ajcprd4_reco_3324.trc:
    ORA-07452: specified resource manager plan does not exist in the data dictionary
    Fri Nov 23 22:12:34 2007
    Instance terminated by USER, pid = 5520
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    Import also fails to continue even though the node(and instance) on which the script executes is up and running.
    We have not set resource manager plan.
    Any help or assistance would be appriciated...
    Thanks

    Address this issue to Oracle Support.
    Looks like some of old bugs comes to light again.
    See Note:1787295.8 or Note:178987.1 for details.
    Best Regards,
    Alex

  • Query running in one env and failing in other due to ORA-01779

    Hello All,
    I am running a query in one environment and it runs fine and when I try to run into other environment then it gives me a
    ORA-01779: cannot modify a column which maps to a non key-preserved table
    I am not sure where I am doing wrong. What can be the possible reasons for that?
    Thanks
    Lee

    Did you look up the error in the Error Messages documentation ?
    01779, 00000, "cannot modify a column which maps to a non key-preserved table"
    // *Cause: An attempt was made to insert or update columns of a join view which
    //         map to a non-key-preserved table.
    // *Action: Modify the underlying base tables directly.Apparently, your "query" is a DML statement that is attempting to update a view that is a join of two tables.
    Hemant K Chitale

  • SQL LOADER and ORA-01861: Please ignore,,my mistake...its duplicate

    Hi,
    I've to load data through control_file(.ctl) into oracle table through sqlldr. Oracle 11g, win xp.
    as soon as I use - sqlldr dss/dss control=orders.ctl I get error or nothing.
    Text file that is generated after loading fails has the following error.
    Record 1: Rejected - Error on table ORDERS, column O_ORDERDATE.
    ORA-01861: literal does not match format string
    I have checked the format of data to be loaded into Orders table is like this : *1996-01-02.*
    I checked the format of data in my database by querying sysdate from dual i.e. 10-JAN-10
    I thought that changing its format might solve my problem so i tried this:
    SQL> alter session set nls_date_format='YYYY-MM-DD';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    2010-01-10but still i'm getting the same error. I've to load millions of data. how I can solve this issue.
    Please suggest.
    Thanks alot.
    Best Regads,
    Kam
    Edited by: kam555 on Jan 10, 2010 11:41 PM

    Please refrain from [posting duplicates|http://forums.oracle.com/forums/thread.jspa?threadID=1010735&tstart=0] and mark this post with IGNORE in the subject.

  • 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

  • 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

  • Oracle Grid root.sh is failing onFirstNode configuration failed at /u01/app/grid/11.2.0.4/crs/instal due to ora.oc4j start timeout

    We have a 4 node Rac, oracle root.sh is failing on the First Node. when I looked at the logs I found the oc4j is timeout to start on Node1 whereas it is able to start on all other nodes with in 2 mins. this is causing to fail root.sh. Can you please help me what is the issue.
    Oracle Rac Node 1 oc4j failed on Node1 due to timeout able to start on other node.
     oracle:]/u01/app/grid/11.2.0.4/bin > ./crsctl start res ora.oc4j -n node1
    CRS-2672: Attempting to start 'ora.oc4j' node1
    CRS-2674: Start of 'ora.oc4j' on 'node1' failed
    CRS-2679: Attempting to clean 'ora.oc4j' on node1
    CRS-2681: Clean of 'ora.oc4j' on 'node1' succeeded
    CRS-4000: Command Start failed, or completed with errors.  [oracle:]/u01/app/grid/11.2.0.4/bin > ./crsctl start res ora.oc4j -n node2
    CRS-2672: Attempting to start 'ora.oc4j' on 'node2'
    CRS-2676: Start of 'ora.oc4j' on 'node2' succeeded

    Please follow Metalink Note 1050908.1.
    This might help
    Cheers
    FJFranken

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

  • 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

  • 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

  • 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

  • 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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Data objects in a Unicode program are not convertible?what does this mean?

    hello,everyone, when I execute a smartform directly in the transaction smartforms.,the result can be seen just no data. when I execute program to transfer two internal tables from interface with data to the smartforms,and I use tcode st22, the error

  • BPC Error in Validation "0RATE_TYPE does not exist in source"

    Hi Experts, We are on BPC 7.5 Netweaver version SP7. I am loading FX RATES to BPC from BI DSO using Data Manager. I am getting an error while doing validation for One of the InfoObject in DSO stating "0RATE_TYPE is not a valide command or 0RATE_TYPE

  • HT201317 I have icloud and have 5000 photos on my phone can i delete them on my iphone

    Please help I am so confused I have purchased a new iphone 5s and paid £70 for the storage. I have 5000 pictures and have icloud so can I delete them from my device? Where will i find them if i do as they are of my little girl?

  • Apple IIe files to G3

    I have wd processing files in AppleWorks V 1.3 USA that I have managed to transfer to my G3 which has OS 9.2.2. The file icons appear on the desktop, but ClarisWorks 5.0 does not open them. This ClarisWorks does not include AppleWorks as an option fo

  • Plan of Cutover for ESS/MSS

    Dear. In this moment We are coming to the date go live. Anyone have an document of Cutover for ESS/MSS, that can share with me. carmen.guerrero.ruiz at g m a i l  . c o m Regards Carmen.