Ora 12801 with rep 1401

dear all
how are you ???
i am just need some help cuz i have an application when the genarate report an error accuorred says :
Rep -1401: ' report_name' fatal PL/SQL error accurred
Ora - 12801 : error signaled in parallel query server
Notcied that both of those erroe desplayed in the same masg
so if anybody can help me
Thank you

Anyway thank you for your help but i actually i dosent solve this problem till now but lets say that we we have only one error which is error
****ORA - 12801 : error signaled in parallel query server ****
How can i solve it in the database???
Thank you very much

Similar Messages

  • Ora-12801 with ora - 00600 urgent

    Hi dear
    I just migrate my dataabse from oracle 8.1.7.4 to oracle 10g release 2
    i m getting the error
    ORA-12801: error signaled in parallel query server P000
    ORA-00600: internal error code, arguments: [xtycsr3], [], [], [], [], [], [], []
    when i save the new record it's work fine but when i save the record the modify mode it give the above error
    i m using form 6i
    O/s win 2000 server
    Kindly suggest the solution urgently i m on production database
    Regards
    Tarun Mittal

    Symptoms:
    Internal Error may occur (ORA-600)
    ORA-600 [xtycsr3]
    Related To:
    Parallel Query (PQO)
    Description
    Select with GROUP BY may result in ORA-600[xtycsr3]
    on a parallel slave process, if select list contains
    a PLSQL function call on aggregation operators.
    Eg:
    SELECT 1, b.x, xty_func( max(1),SUM(100))
    FROM xty b
    GROUP BY 1, b.x;
    The full bug text (if published) can be seen at Bug 2459355
    This link will not work for UNPUBLISHED bugs.

  • Ora-06503/rep-1401 with my second report

    hello :D
    im making my second report (new to reports, self studying)
    i encountered REP-1401-'cf_itemtypeformula': Fatal PL/SQL error occured.
    then i tried to trace the error by putting srw.message() in parts of the code to try to figure out the problem
    here is cf_itemtype currently
    function CF_itemtypeFormula return Char is
    itype char(60);
    begin
         srw.message(1000,'item type is'||:p_itemtype);
         --return ' ';
    if :p_itemtype = '%-ALL' then
         itype:=' ';
         srw.message(1005,'itype code is'||itype);
         return itype;
    else
         srw.message(1003,'item type is'||:p_itemtype); --it prints this one
         itype:='AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ';
         --itype:=' ';
         srw.message(1005,'itype code is'||itype); --and never reaches this line i think.
         return itype;
    end if;
    exception
         when value_error then
              srw.message(1007,'value error');
    end;
    i think the error is because of this line
    'AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' '
    because when i comment it out and uncomment itype:=' '; the srw.message(1005,'itype code is'||itype); works
    thanks

    Hi,
    You just need to increase the length of itype.
    Or even better option is to return the value directly without assigning to a local variable.
    return ('AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ');Your over all function without the SRW messages will be like, you don't even need Exception handler:
    function CF_itemtypeFormula return Char is
    begin
    if :p_itemtype = '%-ALL' then
      return (' ');
    else
      retrun ('AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ');
    end if;
    end;Also I have doubt about your if statement, I dont understand what you are trying to do by this.
    > if :p_itemtype = '%-ALL' then
    May be you just need to check if :p_itemtype is null
    so may be your above IF clause will be like
    > if :p_itemtype IS NULL then
    Edited by: Arif Khadas on Apr 21, 2010 10:37 AM

  • REP-1401: 'cf_10formula': Fatal PL/SQL error occurred. ORA-06502: PL/SQL: numeric or value error

    Hi Team,
    I am running one conc programme.
    After running I am getting below  error. I checked the issue on metalink  and other, seems that it is an size related issue. I have increased the size of formula columns and placeholdder too.
    But still getting issue.
    My requirement is to get comma seperated values using SQL query itself. Neither i wanted to create layout of the report , since it is a XML publisher report and nor  I am including it on RTF template.
    I want the CF_10 formula column to be populated with comma seperated values.
    MSG-00187: From Date 01-Sep-2014
    REP-1401: 'cf_10formula': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    And Here is my code for CF_10
    function CF_10Formula return Number is
    begin
       SELECT NVL(TO_CHAR(sum(Amount),'99,99,99,999'),0) into :CP_5 --NVL(ROUND(sum(Amount)),0) into :CP_5
    --  xxhw_Coll_cat(category)     "Intercat  Catg"
    FROM hhxw_Region_col_v
    WHERE Category IN ('Intercompany - CATV')
    AND trunc(gl_date) BETWEEN TO_DATE(:P_FROM_DATE, 'DD/MM/RRRR') AND TO_DATE(:P_TO_DATE, 'DD/MM/RRRR');
    RETURN ROUND(:CP_5);
    end;
    Anyone please suggest me.
    Regards,
    Sachin

    Hi,
    1)Why are you selecting the value into a report item? Select into a local variable and return that
    RETURN :CP_5 --> This one!!
    2)And you should avoid applying functions to DB columns in where clauses wherever possible, so oracle can use indexes on them if applicable:
    AND gl_date >= To_date(:P_FROM_DATE, 'DD/MM/RRRR')
    AND gl_date < To_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
    I think you are taking 2 column in the Layout CF_10 and CP_5 right? if so, then use below Query.
    FUNCTION cf_10formula
      RETURN NUMBER
    IS
      v_amount NUMBER:null;
    IS
    BEGIN
      BEGIN
        SELECT nvl(round(SUM(amount)), 0)
        INTO   v_amount --> Retruns the value for CF_10 column
        FROM   hhxw_region_col_v
        WHERE  category IN ( 'Intercompany - CATV' )
        AND    gl_date >= to_date(:P_FROM_DATE, 'DD/MM/RRRR')
        AND    gl_date < to_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
        :CP_5 := nvl(trunc(v_amount),0); --> Retruns the value for CP_5 column
      EXCEPTION
      WHEN OTHERS THEN
        v_amount := 0;
        srw.message(1003,'Error in Getting  :' ||p_from_date);
      END;
    END;
    And
    If you've got a number function returning into a number field then all you should need to do to make the comma appear is to change the number format mask in field.
    From 40000 to 40,000

  • REP-1401 Fatal PL/SQL error occur ORA-06502 numeric or value error

    Hi,
    I am getting following error in reports 6i
    REP-1401 Fatal PL/SQL error occur ORA-06502 numeric or value error.
    I have added a formula column based on other formula column
    function CF_1FORMULA0005 return varchar2 is
    CF_CREDIT varchar2(38);
    begin
    :CF_CREDIT:= :D_CARRY_F_CR+:D_HD_SUM_REP_CR;
    RETURN (:CF_CREDIT);
    end;
    Oracle Standard formula coulmn:
    function D_CARRY_F_DRFormula return VARCHAR2 is
    l_dr VARCHAR2(38);
    l_dr_disp VARCHAR2(38);
    begin
    SRW.REFERENCE(:C_FUNC_CURRENCY);
    SRW.REFERENCE(:C_CARRY_F_DR);
    if (:C_CARRY_F_DR = 0) THEN
    ax_globe_package.g_dr_cf := TRUE;
    --l_dr:= '0.00';
    l_dr_disp := '0.00';
    l_dr := ax_currency_pkg.display_char(:C_FUNC_CURRENCY,l_dr_disp,38);
    else
    -- return(ax_currency_pkg.display_char(:C_FUNC_CURRENCY,:C_CARRY_F_DR,ax_page_pkg.f_maxlength));
    -- Bug2239881. Setting the carried forward totals.
    IF (:P_GLOBAL_ATTR_CAT = 'JE.GR.GLXSTBKS.BOOKS' AND ax_globe_package.g_dr_cf = FALSE) THEN
    ax_globe_package.g_dr_cf := TRUE;
    ax_globe_package.g_dr_total := :C_CARRY_F_DR;
    END IF;
    srw.message(999,'G_DR_TOTAL = ' || ax_globe_package.g_dr_total );
    l_dr := ax_currency_pkg.display_char(:C_FUNC_CURRENCY,to_char(ax_globe_package.g_dr_total),38);
    /*select to_number(l_dr, '999G999G999G999G990D00')
    into l_dr_disp
    from dual;
    end if;
    srw.message(999,'l_dr = ' || l_dr );
    return l_dr;
    --return ltrim(to_char(l_dr_disp,'999G999G999G999G990D00','nls_numeric_characters=,.'));
    end;
    both formula column return types are character.Please help me ASAP.
    Thanks,
    sriharsha.

    Hi,
    First of all: when you should use concatenation operator (||) instead of plus sign when working with strings. So, instead of
    :CF_CREDIT:= :D_CARRY_F_CR+:D_HD_SUM_REP_CR; you should use
    :CF_CREDIT:= :D_CARRY_F_CR||:D_HD_SUM_REP_CR; If :D_CARRY_F_CR and :D_HD_SUM_REP_CR are both numbers then consider to use to_char function before you assign value to :CF_CREDIT.
    I wonder, why your CF's returns varchar's if they operates on numbers?
    regards
    kikolus
    Edited by: kikolus on 2012-11-30 08:03

  • REP-1401 and ORA-12571

    Dear All,
    Oracle fusion middleware version (pfrd) : 11.1.1.4
    OS : Windows 2008 X 64, 2 CPU and 8 GB RAM
    When we run a huge report we are encountering REP-1401 and intermittently with accompaning error ORA-12571, but when the same report ran for one month report it is working fine.
    REP-1401: A fatal PL/SQL error occurred in program unit cf_anct_docsformula.
    Since the report is running fine for 1 month period, we concluded that this issue is not a report error or formula columns used and narrowed it to some configuration or ORACLE bug.
    We have increased the JVM heap and tired but we couldnt able to get the report. Also we tried searching in oracle support but no hits.
    Please let me know if any one had encountered this issue.
    Regards,
    Anand.

    Error – ORA-12571 is related to TNS:packet writer failure  and error occurred during a data send.                                                                                                                                   
    For further investigation, you need to turn on tracing to collect the logs.

  • REP-1401:'cf_1formula': Fatal PL/SQL error occured, ORA-01403: no data fou

    hi,
    my report is giving error REP-1401:'cf_1formula': Fatal PL/SQL error occured,
    ORA-01403: no data found
    There are two table emp1 and emp2 created from employees table from HR schema
    I have deleted some records from table emp2 where department id is 110
    main query is
    select employee_id, first_name, department_id from emp1
    now i created a foumula column
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    return(dept);
    end;
    the above error is given when report is run. i tried
    exception
    when_no_data_found then
    dept:=000
    but problem is not solved
    i want to disply any number in this foumula column if the record is not found

    M. Khurram Khurshid wrote:
    exception
    when_no_data_found then
    dept:=000try this code in formula
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    if dept is not null then
    return(dept);
    else
    return 0;
    end if;
    end; Hope this will help you...
    If someone response is helpful or correct please, mark is accordingly.

  • REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal.

    Hi,
    I am running the report Journals - General (132 char)- file name GLRGNJ.rdf from
    Oracle Report Builder 6.0.8.11.3.
    I have commented all the (srw.user_exit) in the Before Report trigger but i still
    get the message:
    REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal,
    successful completion.
    Can anyone suggest a solution please?
    Thanks,
    Faris

    Dear sir, i am created one formula column in Reports6i and the following error has come. Could u please find out a solution. Thanks in advance.
    my function is below
    function CF_Branch_NameFormula return Char is
    lc_branch_name varchar2(100);
    begin
    SELECT rtrim(substr(FVT.DESCRIPTION
    ,instr(FVT.DESCRIPTION,'-',1)+1
    ,100)) INTO lc_branch_name
    FROM FND_FLEX_VALUES FFV, FND_FLEX_VALUES_TL FVT
    WHERE FFV.flex_value_Set_id = 1007956
    AND FFV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID
    AND FFV.FLEX_VALUE = FVT.FLEX_VALUE_MEANING
    AND FVT.DESCRIPTION <> 'xxx'
    and rownum<=1
    AND SUBSTR(FVT.FLEX_VALUE_MEANING,3,2) = :P_BRANCH;
    return (lc_branch_name);
    end;

  • REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found

    Hi guys,
    I am getting error 'REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found ' when run the report
    and i m also use formula column in my report.
    can any body help me why it's coming.
    following code is used in formula column plz check and verify:
    function CF_3Formula return Char is
    T1 VARCHAR2(100);
    begin
    SELECT
         VAT_REG_NO INTO T1
    FROM
         JA_IN_HR_ORGANIZATION_UNITS JIHOU,
         HR_LOCATIONS HL--,
         --MTL_TXN_REQUEST_HEADERS MTLH
    WHERE
    JIHOU.ORGANIZATION_ID=HL.INVENTORY_ORGANIZATION_ID AND
    JIHOU.LOCATION_ID=HL.LOCATION_ID AND
    --Jihou.ORGANIZATION_ID = Mtlh.Organization_Id AND
    -- Hl.INVENTORY_ORGANIZATION_ID =Mtlh.Organization_Id AND
    -- MTLH.ATTRIBUTE10=SUBSTR(HL.LOCATION_CODE,1,3) AND
    SUBSTR(HL.LOCATION_CODE,1,3)= :TO_ORG1 ;
    RETURN (T1);
    end;
    plz help me out.

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

  • REP-1401: 'no_daysformula':Fatal PL/SQL error occured. ora-06503: PL/SQL : Functio returned without value. REP-0619: You cannot run without a layout.

    Hi everyone.
    Can anyone tell me what is wrong in this code below?
    Code:
    function NO_DAYSFormula return Number is
    begin
      IF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
      AND :P_TO_DT<:MATURITY_DATE
      AND :ACCT_OPN_DT>:P_FR_DT
      THEN RETURN (:P_TO_DT-:ACCT_OPN_DT+1);
      ELSIF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
      AND :P_TO_DT<:MATURITY_DATE
      AND :ACCT_OPN_DT<:P_FR_DT
      THEN RETURN (:P_FR_DT-:P_TO_DT+1);
      ELSIF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
       AND :P_TO_DT>:MATURITY_DATE
       AND :ACCT_OPN_DT<:P_FR_DT
      THEN RETURN (:P_FR_DT-:MATURITY_DATE+1);
      END IF;
    END;
    It gets compiled successfully but when i run the report, i get 2 errors.
    Error 1:
    REP-1401: 'no_daysformula':Fatal PL/SQL error occurred.
    ora-06503: PL/SQL : Function returned without value.
    Error 2:
    REP-0619: You cannot run without a layout.
    Should i use only 1 return statement?
    Can i use as many return statements as i want?
    What is the exact mistake? Please let me know.
    Thank You.

    Let me clear you the first thing...
    If you get any fatal errors while running the report (e.g., function returned without value,no value etc.,) the report will show
    REP-0619: You cannot run without a layout.
    So you just correct the function 'no_daysformula' .
    First of all you run the report without that formula column.
    If it works fine then , Check the return value of your formula column (Your formula column properties --> Return value --> value (It will be DATE as i think so).
    As function will always return a single value, Check your formula 'no_daysformula' returns the same.
    declare a return variable say for example..
    DECLARE
    V_DATE DATE;
    BEGIN
    --YOUR CODE---
    RETURN V_DATE := (RETURN VALUE)
    END;
    Last but not least ... use Else condition to return (NULL or any value ) in your code and check..
    If any Problem persists let me know
    Regards,
    Soofi.

  • Rep-1401, Ora 06502

    Hi,
    In report 6i it is showing following error occured for particular supplier_ no(say 58).The report is working fine for all the other supplier_no giving in the parameter form.
    The error is " Rep-1401 cf4_formula fatal PL/Sql error occurred ORA-6502 PL/SQL numeric or Value error"
    May I know the reason for this problem? Please reply.
    The above mentioned function is to get the Balance amount in words(Arabic). Function giving below.
    --------------Function-------------------
    function CF_4Formula return CHAR is
    v_amount_text varchar2(800):='';
    x number;
    begin
    if :Fin_Bal < 0 then
         x:=-1*:Fin_Bal;
    else
         x:=:Fin_Bal;
    end if;
         v_amount_text:=
                   TAFKET_PACK.TAFKET('ÑíÇá',
              'åááÉ',
              100,
              x);
    if :Fin_Bal < 0 then
    return('ÝÞØ'||' '||v_amount_text|| ' '|| 'áÇÛíÑ (ãÏíä) ');
    else
         return('ÝÞØ'||' '||v_amount_text|| ' '|| ' áÇÛíÑ (ÏÇÆä) ' );
    end if;
    end;
    function Fin_BalFormula return Number is
    x number(13,2);
    begin
    x := supplier_opn_bal(:supps_no,:end_date+1);
         return(x);
    end;
    CREATE OR REPLACE function supplier_opn_bal(c_no number,t_date date)
    return number
    as
    x number :=0;
    begin
    for i in (select * from ap_vendor_statement_view
    where vendor_number = c_no
    and invoice_date < t_date
    ) loop
    x := x+i.credit-i.debit;
    end loop;
    return x;
    end;
    ----------------------------------------------------------------------

    This usually indicates that a variable or field is declared too small. Chech the length of the item into which the result of the formula is returned.
    function CF_4Formula return CHARAlso, change this to
    function CF_4Formula return VARCHAR2

  • Apply process is aborting with:ORA-12801: error signaled in parallel query

    hi,
    We created a queue of a specific type, capture and apply process on the queue. Then we started the queue capture and the apply process. The problem is that the apply process is getting enabled and with in moments going into aborted state. wea re getting the follwoing error:
    ORA-12801: error signaled in parallel query server P000
    ORA-00600: internal error code, arguments: [kwqiceval:anyconv], [], [], [], [], [], [], []
    Any idea what could have gone wrong?
    scripts:
    exec dbms_aqadm.create_queue_table(queue_table=>'qt_anc',queue_payload_type=>'type_anc',multiple_consumers=> true, compatible => '9.0');
    exec dbms_aqadm.create_queue (queue_name => 'q_anc',queue_table=>'qt_anc');
    EXEC DBMS_AQADM.START_QUEUE (queue_name => 'q_anc');
    DECLARE
    emp_rule_name_dml VARCHAR2(300);
    emp_rule_name_ddl VARCHAR2(300);
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'ops.t_anc',
    streams_type => 'capture',
    streams_name => 'capture_anc',
    queue_name => 'strmadmin.q_anc',
    include_dml => true,
    include_ddl => false,
    source_database => null,
    dml_rule_name => emp_rule_name_dml,
    ddl_rule_name => emp_rule_name_ddl);
    DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION(
    rule_name => emp_rule_name_dml,
    destination_queue_name => 'strmadmin.q_anc');
    END;
    DECLARE
    emp_rule_name_dml VARCHAR2(300);
    emp_rule_name_ddl VARCHAR2(300);
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'ops.t_anc',
    streams_type => 'apply',
    streams_name => 'apply_anc',
    queue_name => 'strmadmin.q_anc',
    include_dml => true,
    include_ddl => false,
    source_database => null,
    dml_rule_name => emp_rule_name_dml,
    ddl_rule_name => emp_rule_name_ddl);
    DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION(
    rule_name => emp_rule_name_dml,
    destination_queue_name => 'strmadmin.q_anc');
    END;
    BEGIN
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'apply_anc');
    END;
    BEGIN
    DBMS_CAPTURE_ADM.START_CAPTURE(
    capture_name => 'capture_anc');
    END;
    /

    Hello
    The above configuration is never supported. The implicit capture expects the queue payload to be SYS.ANYDATA and same with implicit apply also.
    However you can use Streams Messaging capability to achieve this. You need to wrap the messages with SYS.ANYDATA for this to work. The implicit capture uses a persistent logminer session to generate LCRs and it then wraps it with SYS.ANYDATA and enqueues into the capture queue, it then propagated to apply queue. You can generate LCRs and wrap it with SYS.ANYDATA and then enqueue into the capture queue then apply can recognise the messages.
    Here is an example on creating LCRs (tested in 10g):
    CREATE TABLE lcr_test (col1 NUMBER);
    DECLARE
         l_lcr SYS.LCR$_ROW_RECORD;
    BEGIN
         l_lcr :=
    SYS.LCR$_ROW_RECORD.CONSTRUCT
         source_database_name=>SYS_CONTEXT('USERENV','DB_NAME'),
         command_type=>'INSERT',
         object_owner=>USER,
         object_name=>'LCR_TEST'
         l_lcr.ADD_COLUMN('new','col1',SYS.AnyData.ConvertNumber(99));
         l_lcr.EXECUTE(TRUE);
         COMMIT;
    END;
    SELECT * FROM lcr_test;
    Converting to SYS.ANYDATA:
    DECLARE
         l_lcr SYS.LCR$_ROW_RECORD;
         l_anydata SYS.ANYDATA;
    BEGIN
         l_lcr :=
    SYS.LCR$_ROW_RECORD.CONSTRUCT
         source_database_name=>SYS_CONTEXT('USERENV','DB_NAME'),
         command_type=>'INSERT',
         object_owner=>USER,
         object_name=>'LCR_TEST'
         l_lcr.ADD_COLUMN('new','col1',SYS.AnyData.ConvertNumber(99));
         l_anydata:=SYS.ANYDATA.ConvertObject(l_lcr);
         ENQ_PROC(l_anydata);
         COMMIT;
    END;
    Thanks,
    Rijesh

  • Data Load is erroring out with ORA-12801 ORA-01031

    Hello,
    I am having Oracle 11.1.0.7 on AIX and we are loading data through Informatica.
    There are 7 tables in the database that are big and we enabled parallelism with the degree of 2.
    When we run the informatica session for loading data the session is failing with the error -
    Severity     Timestamp     Node     Thread     Message Code     Message
    ERROR     5/10/2011 4:33:09 PM     node01_wpg1pedw001     POST-SESS     TM_6159     An error occurred executing the stored procedure.
    TM_6159 [4294965496] [
    ORA-12801: error signaled in parallel query server P000
    ORA-01031: insufficient privileges
    ORA-06512: at "POL_ODS.DELETE_LATEST_POLICY_1", line 4
    ORA-06512: at line 2
    Database driver error...
    Function Name : ExecuteSP
    Oracle Fatal Error
    Database driver error...
    Function Name : ExecuteSP
    Oracle Fatal Error]Trace file is giving me this output -
    =====================
    PARSING IN CURSOR #3 len=152 dep=1 uid=73 oct=7 lid=73 tim=2806650507771 hv=2692072913 ad='700000b32b206c0' sqlid='835qyt2h7bjfj'
    DELETE FROM LIENHOLDER WHERE LIEN_POLICY_12_SEGMENT_ID IN (SELECT POL_SEG_12_ID FROM POLICY12SEGMENT WHERE POLICY_ID IN (SELECT POLICY_ID FROM DEL_POL))
    END OF STMT
    PARSE #3:c=20000,e=31779,p=0,cr=181,cu=3,mis=1,r=0,dep=1,og=1,plh=449661848,tim=2806650507771
    kxfpgsg
            Error 12801 encountered
    EXEC #3:c=10000,e=111135,p=0,cr=28,cu=0,mis=0,r=0,dep=1,og=1,plh=449661848,tim=2806650618906
    ERROR #3:err=12801 tim=2806650618906
    STAT #3 id=1 cnt=0 pid=0 pos=1 obj=0 op='DELETE  LIENHOLDER (cr=0 pr=0 pw=0 time=0 us)'
    STAT #3 id=2 cnt=0 pid=1 pos=1 obj=0 op='PX COORDINATOR  (cr=0 pr=0 pw=0 time=0 us)'
    STAT #3 id=3 cnt=0 pid=2 pos=1 obj=0 op='PX SEND QC (RANDOM) :TQ10002 (cr=0 pr=0 pw=0 time=0 us cost=95123 size=6011574 card=117874)'
    STAT #3 id=4 cnt=0 pid=3 pos=1 obj=0 op='HASH JOIN RIGHT SEMI (cr=0 pr=0 pw=0 time=0 us cost=95123 size=6011574 card=117874)'
    STAT #3 id=5 cnt=0 pid=4 pos=1 obj=0 op='PX RECEIVE  (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1472328 card=113256)'
    STAT #3 id=6 cnt=0 pid=5 pos=1 obj=0 op='PX SEND BROADCAST :TQ10001 (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1472328 card=113256)'
    STAT #3 id=7 cnt=0 pid=6 pos=1 obj=0 op='VIEW  VW_NSO_1 (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1472328 card=113256)'
    STAT #3 id=8 cnt=0 pid=7 pos=1 obj=0 op='HASH JOIN  (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1925352 card=113256)'
    STAT #3 id=9 cnt=0 pid=8 pos=1 obj=0 op='BUFFER SORT (cr=0 pr=0 pw=0 time=0 us)'
    STAT #3 id=10 cnt=0 pid=9 pos=1 obj=0 op='PX RECEIVE  (cr=0 pr=0 pw=0 time=0 us cost=27 size=314700 card=62940)'
    STAT #3 id=11 cnt=0 pid=10 pos=1 obj=0 op='PX SEND BROADCAST :TQ10000 (cr=0 pr=0 pw=0 time=0 us cost=27 size=314700 card=62940)'
    STAT #3 id=12 cnt=0 pid=11 pos=1 obj=55756 op='TABLE ACCESS FULL DEL_POL (cr=0 pr=0 pw=0 time=0 us cost=27 size=314700 card=62940)'
    STAT #3 id=13 cnt=0 pid=8 pos=2 obj=0 op='PX BLOCK ITERATOR (cr=0 pr=0 pw=0 time=0 us cost=88594 size=160428864 card=13369072)'
    STAT #3 id=14 cnt=0 pid=13 pos=1 obj=70801 op='TABLE ACCESS FULL POLICY12SEGMENT (cr=0 pr=0 pw=0 time=0 us cost=88594 size=160428864 card=13369072)'
    STAT #3 id=15 cnt=0 pid=4 pos=2 obj=0 op='PX BLOCK ITERATOR (cr=0 pr=0 pw=0 time=0 us cost=6434 size=265286208 card=6981216)'
    STAT #3 id=16 cnt=0 pid=15 pos=1 obj=70798 op='TABLE ACCESS FULL LIENHOLDER (cr=0 pr=0 pw=0 time=0 us cost=6434 size=265286208 card=6981216)'
    CLOSE #3:c=0,e=0,dep=1,type=0,tim=2806650618906
    EXEC #2:c=30000,e=142914,p=0,cr=209,cu=3,mis=0,r=0,dep=0,og=1,plh=0,tim=2806650618906
    ERROR #2:err=12801 tim=2806650618906
    =====================The Table LIENHOLDER is not set for parallelism and is not amount 7 of those tables. But even when we enabled parallelism with degree of 2 on LIENHOLDER, it is still thowing out this error message.
    I have granted DBA role to POL_ODS who owns this procedure POL_ODS.DELETE_LATEST_POLICY_1.
    Waiting for your inputs and hope to hear from the Oracle & Informatica experts soon.
    Thanks!

    Thanks for your reply Karluk & hoek.
    Just to let you know, we are encountering this problem when I enable parallelism on the 7 tables.
    TABLE_NAME                     DEGREE
    POLICY30SEGMENT                         2
    POLICY03SEGMENT                         2
    POLICY                                  2
    POLICY12SEGMENT                         2
    POLICY35SEGMENT                         2
    POLICY45SEGMENT                         2
    VEHICLECOVERAGE                         2Proc DELETE_LATEST_POLICY_1 is owned by POL_ODS and this job is run by POL_ODS itself. This PROC does delete. Yes, LEINHOLDER is owned by POL_ODS only so there is no need to grant DELETE on this table to it's own schema.
    As stated in my the trace file, the DELETE statement that it was running was -
    DELETE FROM LIENHOLDER WHERE LIEN_POLICY_12_SEGMENT_ID IN (SELECT POL_SEG_12_ID FROM POLICY12SEGMENT WHERE POLICY_ID IN (SELECT POLICY_ID FROM DEL_POL))In this POLICY12SEGMENT is enabled for parallelism but not LIENHOLDER or DEL_POL.
    If I don't have parallelism on these 7 tables then the PROC runs fine and it does the delete as expected.
    Hope I am clear this time.
    Thanks for your time Guys!
    Edited by: user608897 on May 10, 2011 6:32 PM

  • Help - SQL with err ORA-12801 or rewrite SQL recommendation

    When trying delete statement below am getting the error , can you please recommend alternate ways of do this DML .. am sure change in memory allocation is not required just the way current DML is constructed is not correct\ inefficient , am getting the same error even when the trying to select for same DML conditions below and it works fine in tables with less data.
    DELETE
    FROM temp_test t1
    WHERE t1.reltid = 240
    AND EXISTS
    (SELECT x.combid
    ,x.csbid
    FROM temp_both x
    WHERE x.combid = t1.combid
    AND x.csbid = t1.csbid
    GROUP BY x.combid
    ,x.csbid
    HAVING COUNT(*) > 1
    AND EXISTS
    (SELECT a.reltid, a.end_dt,b.reltid,b.end_dt
    from (SELECT combid,csbid,end_dt,reltid
    from temp_both where reltid = 239) a
    (SELECT combid,csbid,end_dt,reltid
    from temp_both where reltid = 240) b
    where a.end_dt >= b.end_dt
    and a.csbid = b.csbid
    and b.combid = t1.combid
    and a.csbid = t1.csbid
    and a.combid = t1.combid);
    ERROR at line 1:
    ORA-12801: error signaled in parallel query server P034
    ORA-04030: out of process memory when trying to allocate
    Can some explain the flow the above SQL is processing, recomened alternate ways of writing the same.

    Ask your DBA to look into this matter. It looks like the database server facing a resource crunch.
    If you are running a dedicated server mode, you might need to switch over to shared server mode. Again, the DBA has to look into this.

  • ORA-12801 error signalled in parallel query with ORA-00018 max # session

    Hello,
    I've just run dbca to create a new database. On completion I received the following:
    ORA-12801 error was signalled in parallel query server
    ORA-00018 maximum number of sessions exceeded
    ORA-06512 at sys_utl_recomp line 760
    ORA-06512 as sys_utl_recomp line 773
    ORA-06512 as sys_utl_recomp line 1
    The processes are set at 100, sessions is set at 115?
    Can you tell how to address this error and resolve the problem? I'm thinking that I should rerun sys_utl_recomp

    Hi,
    You didn't mention oracle version as well OS.
    might be you hit a bug.
    check the below link for reference
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:8051847734518941130::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,21564.1,1,1,1,helvetica
    Regards,
    Taj

Maybe you are looking for

  • Standard Report, for checking the PR approval status by a certain User

    Hello Experts,                       Is there any standard report in the SAP where we can find out for the given managers, if level 1 approver is Mr. X, then which all has been approved by Mr. X and and pending with subsequent approvers? Please help.

  • Boot camp with windows 7 downloaded online?

    I have a summer 2012 mac book pro running Mac OSX 10.7.4 (this is my first mac product, I bought it like a month ago so I know much). I am intersted in being able to boot Windows 7 though Apple Boot Camp. Windows 7 professional is avialable to me for

  • Very large string to internal text table

    Hi, I have a string that contains all the information read from a flat file and I want to put all that information in an internal table where each row is just 1024 char in order to contain a row of the original flat file. In the string I can recogniz

  • Abs does not create /var/abs/local?

    I'm not necessarily a newb at Linux, but I've only had Arch Linux installed for a short while. I really like Arch. and I have had no real issues getting everything set-up. However, I'd like to get into building packages, so I have read a lot of docum

  • EDI Invoice with multiple banks

    Hi all,        I have outbound EDI invoice 810 where there are several banks listed in the Idoc file. The bank info is listed in segment E1EDK28 in Idoc basic type  INVOIC02. I have 6 of the E1EDK28 segments and the first segment is not the correct b