SQL query concat - numeric or value error

I am getting numeric or value error when concatenating sql script..
Here is the sample, I have in the stored proc.. firstpart:_ works fine if I comment the secondpart:_. (I modified the query because I am posting in the public forums)
V_SAMPLEQUERY VARCHAR2(2000);
firstpart:_
V_SAMPLEQUERY := '      
SELECT
AB.ABCDID AS ABCDID,
CD.MEMBERID AS MEMBERID,
CD.FNAME AS FNAME,
CD.LNAME AS LNAME,
CD.ACCOUNT AS ACCOUNT,
EF.ZIP AS ZIP,
AB.INSERTTIME AS INSERTTIME,
AB.INSERTBY AS INSERTBY,
ES.NAME AS STATUS,
MYFUNCTION(E.ABCDID) AS AMOUNT,
PA.NAME AS SOUSENAME,
R.CODE AS BUDGETCODE,
WX.ACCOUNTID as ACCOUNTID,
AB.SOMETYPE AS SOMETYPE,
AB.ACCTREP,
ED.TYPE AS TYPE,
AB.NOTES AS NOTES,
GH.AREACODE || '''' || GH.PHONE_NUMBER AS PHONENUMBER,
ED.REQUESTEDDATE,
ED.BOOKED,
ED.CALLERINFO
FROM PEOPLES AB,
LOCATIONS CD,
LOCATIONTYPES EF,
ACCOUNTS GH,
ACCOUNTdetails IJ,
ACCOUNTstatus KL,
ACCOUNTMEMBERDETAILS MN,
MEMBERS OP,
BUDGET QR,
BCODES ST,
ACCOUNTSYSTEM UV,
INFOCALL WX,
PHONE_NUMBERS YZ
WHERE AT.NAME = ''SAVINGS''
andCD.MEMBERID = PH.MEMBERID
andCD.MEMBERID =EF.MEMBERID
and AT.ADDRESSTYPEID =EF.ADDRESSTYPEID
andCD.MEMBERID =AB.MEMBERID
andAB.STATUS = ES.STATUS(+)
andAB.ABCDID = ED.ABCDID
andAB.ABCDID = EP.ABCDID(+)
and EP.MEBER_ID = PA.MEBER_ID(+)
andAB.BID = R.BID(+)
andAB.SAMPLEID = PR.SAMPLEID(+)
andAB.ABCDID = BSG.ABCDID(+)
andAB.INFOCALLID = C.INFOCALLID(+)
and YZ.SOMETYPEID = ''10000''
ANDAB.INSERTTIME > SYSDATE - 35
ANDAB.INSERTTIME < ''
AND WX.NAME IN (''ABCD'',
''EFGH'',
''IJKL'',
''MNOP'',
''QRST'',
''UVWX'')
AND MN.NAME = ''FINISHED'' '
secondpart:_ ***ERROR PART***
V_SAMPLEQUERY := V_SAMPLEQUERY || ' ORDER BY AB.USER'; -- Here I am getting error saving ORA-06502 - numeric or value error

Hi,
Wheneve you have a problem, prlease post a complete test script that people can run to re-create the problem and test their ideas. Include CREATE TABLE and INSERT statements for any tables used, abnd the results you want it to produce.
SeshuGiri wrote:
I am getting numeric or value error when concatenating sql script.. Are you really getting the error when you concatenate, or when you try to execute the resulting string?
Here is the sample, I have in the stored proc.. firstpart:_ works fine if I comment the secondpart:_. (I modified the query because I am posting in the public forums)
V_SAMPLEQUERY VARCHAR2(2000);Is that big enough? It looks like the string is right around 1000 characters; depending on your character set, that could be more than 2000 bytes. VARCHAR2s in PL/SQL can hold up to 32767 bytes.
firstpart:_
V_SAMPLEQUERY := '      
SELECT
AB.ABCDID AS ABCDID,
CD.MEMBERID AS MEMBERID,
CD.FNAME AS FNAME,
CD.LNAME AS LNAME,
CD.ACCOUNT AS ACCOUNT,
EF.ZIP AS ZIP,
AB.INSERTTIME AS INSERTTIME,
AB.INSERTBY AS INSERTBY,
ES.NAME AS STATUS,
MYFUNCTION(E.ABCDID) AS AMOUNT,
PA.NAME AS SOUSENAME,
R.CODE AS BUDGETCODE,
WX.ACCOUNTID as ACCOUNTID,
AB.SOMETYPE AS SOMETYPE,
AB.ACCTREP,
ED.TYPE AS TYPE,
AB.NOTES AS NOTES,
GH.AREACODE || '''' || GH.PHONE_NUMBER AS PHONENUMBER,
ED.REQUESTEDDATE,
ED.BOOKED,
ED.CALLERINFO
FROM PEOPLES AB,
LOCATIONS CD,
LOCATIONTYPES EF,
ACCOUNTS GH,
ACCOUNTdetails IJ,
ACCOUNTstatus KL,
ACCOUNTMEMBERDETAILS MN,
MEMBERS OP,
BUDGET QR,
BCODES ST,
ACCOUNTSYSTEM UV,
INFOCALL WX,
PHONE_NUMBERS YZ
WHERE AT.NAME = ''SAVINGS''
andCD.MEMBERID = PH.MEMBERID
andCD.MEMBERID =EF.MEMBERID
and AT.ADDRESSTYPEID =EF.ADDRESSTYPEID
andCD.MEMBERID =AB.MEMBERIDYou need some whitespace after the keyword "and", in the line above and also several places below.
andAB.STATUS = ES.STATUS(+)
andAB.ABCDID = ED.ABCDID
andAB.ABCDID = EP.ABCDID(+)
and EP.MEBER_ID = PA.MEBER_ID(+)
andAB.BID = R.BID(+)
andAB.SAMPLEID = PR.SAMPLEID(+)
andAB.ABCDID = BSG.ABCDID(+)
andAB.INFOCALLID = C.INFOCALLID(+)
and YZ.SOMETYPEID = ''10000''
ANDAB.INSERTTIME > SYSDATE - 35
ANDAB.INSERTTIME < '' Did something get cut off here?
AND WX.NAME IN (''ABCD'',
''EFGH'',
''IJKL'',
''MNOP'',
''QRST'',
''UVWX'')
AND MN.NAME = ''FINISHED'' 'It looks like you're constructing a string for EXECUTE IMMEDIATE, but why not just use a static query?
secondpart:_ ***ERROR PART***
V_SAMPLEQUERY := V_SAMPLEQUERY || ' ORDER BY AB.USER'; -- Here I am getting error saving ORA-06502 - numeric or value error
USER is the name of a built-in function, which means it's not a good name for your own column. Try user_name instead.

Similar Messages

  • SQL Report query ORA-06502: PL/SQL: numeric or value error: character strin

    Hello,
    I have saved below query in the sql scripts, which executes good under SQL Developer,
    select     "RVV"."RLNUM" as "RLNUM",
         "GVREB"."RLNUM" as "RLNUM",
         "TVV"."RLNUM" as "RLNUM_1",
         "Regulation"."CODE" as "CODE",
         "Regulation"."NAAM" as "NAAM",
         "GVREB"."BRONCODE" as "BRONCODE",
         sum(RVV.RVV_MODULATIE) as "RVV_MODULATIE",
         sum(RVV.RVV_EXTRA_MODUL) as "RVV_EXTRA_MODUL",
         sum(GVREB.PMB) as "PMB",
         sum(GVREB.VVM) as "VVM",
         sum(GVREB.VVEM) as "VVEM",
         "GVREB"."STATUS" as "STATUS",
         sum(TVV.VVM) as "VVM",
         sum(TVV.VVEM) as "VVEM",
         "Regulation"."version" as "version",
         "TVV"."Appyear" as "Appyear"
    from     "GVREB" "GVREB",
         "RVV" "RVV",
         "TVV" "TVV",
         "Regulation" "Regulation"
    where      "RVV"."RLNUM" = :P17_Relationnum
    and     "GVREB"."RLNUM" = "RVV"."RLNUM"
    and     "TVV"."RLNUM" = "GVREB"."RLNUM"
    and     "GVREB"."CODE" = "TVV"."RegulationSCODE"
    and     "Regulation"."CODE" = "GVREB"."CODE"
    and     "GVREB"."STATUS" = 'VWT'
    and     "TVV"."Appyear" = 2009
    group by RVV.RLNUM, GVREB.RLNUM, TVV.RLNUM, Regulation.CODE, Regulation.NAAM, GVREB.BRONCODE, GVREB.STATUS, Regulation.version, TVV.Appyear
    order by Regulation.version ASC
    however when tried to put in the region -> query builder it gives below error,
    italics ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Return to application.+italics+
    Kindly suggest me work around this error.
    Cheers,
    G1R15|-|
    Edited by: G on Jul 11, 2010 10:03 PM

    Hi,
    I was able to resolve the issue. I changed it to = To_Number while assigning.
    and for other issue, earlier I choose "Select List" for drop down. I changed this to "Select list with Submit". for the issue of "depending on this values in the report should get change"
    Thanks for your support,
    Girish

  • PL/SQL function body returning SQL query - ORA-06502: PL/SQL: numeric or value error

    I'm attempting to dynamically generate a rather large SQL query via the "PL/SQL function body returning SQL query" report region option.  The SQL query generated will possibly be over 32K.  When I execute my page, I sometimes receive the "ORA-06502: PL/SQL: numeric or value error" which points to a larger than 32K query that was generated.  I've seen other posts in the forum related to this dynamic SQL size limitation issue, but they are older (pre-2010) and point to the 32K limit of the DNS (EXECUTE IMMEDIATE) and DBMS_SQL.  I found this post (dynamic sql enhancements in 11g) which discusses 11g no longer having the 32K size limitation for generating dynamic SQL.  Our environment is on 11gR2 and using ApEx 4.2.1.  I do not know which dynamic SQL method -- DNS or DBMS_SQL -- ApEx 4.2.1 is using.  Can someone clarify for me which dynamic SQL method ApEx uses to implement the "PL/SQL function body returning SQL query" option?
    As a test, I created a page on apex.oracle.com with a report region with the following source:
    declare
      l_stub varchar2(25) := 'select * from sys.dual ';
      l_sql  clob := l_stub || 'union all ';
      br     number(3) := 33;
    begin
      while length ( l_sql ) < 34000 loop
        l_sql := l_sql || l_stub || 'union all ';
      end loop;
      l_sql := l_sql || l_stub;
      for i in 1 .. ceil ( length ( l_sql ) / br ) loop
        dbms_output.put_line ( dbms_lob.substr ( l_sql, br, ( ( i - 1 ) * br ) + 1 ) );
      end loop;
      return l_sql;
    end;
    The dbms_output section is there to be able to run this code in SQL*Plus and confirm the size of the SQL is indeed larger than 32K.  When running this in SQL*Plus, the procedure is successful and produces a proper SQL statement which can be executed.  When I put this into the report region on apex.oracle.com, I get the ORA-06502 error.
    I can certainly implement a work-around for my issue by creating a 'Before Header' process on the page which populates an ApEx collection with the data I am returning and then the report can simply select from the collection, but according to documentation, the above 32K limitation should be resolved in 11g.  Thoughts?
    Shane.

    What setting do you use in your report properties - especially in Type and in Region Source?
    If you have Type="SQL Query", then you should have a SELECT statement in the Region Source. Something like: SELECT .... FROM ... WHERE
    According to the ERR-1101 error message, you have probably set Type to "SQL Query (PL/SQL function body returning SQL query)". In this situation APEX expects you to write a body of a PL/SQL function, that will generate the text of a SQL query that APEX should run. So it can be something like:
    declare
    mycond varchar2(4000);
    begin
    if :P1_REPORT_SEARCH is not null THEN
    mycond:='WHERE LAST_NAME like :P1_REPORT_SEARCH ||''%''';
    end if;
    return 'select EMPLOYEE_ID, FIRST_NAME, LAST_NAME from EMPLOYEES ' ||mycond;
    end;
    And for escaping - are you interested in escaping the LIKE wildcards, or the quotes?
    For escaping the wildcards in LIKE function so that when the user enters % you will find a record with % and not all functions, look into the SQL Reference:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions007.htm
    (You would than need to change the code of your function accordingly).
    If you are interested in escaping the quotes, try to avoid concatenating the values entered by the user into the SQL. If you can, use bind variables instead - as I have in my example above. If you start concatenating the values into the text of SQL, you are open to SQLInjection - user can enter anything, even things that will break your SQL. If you really need to allow users to choose the operator, I would probably give them a separate combo for operators and a textfield for values, than you could check if the operator is one of the allowed ones and create the condition accordingly - and than still use bind variable for inserting the filtering value into the query.

  • Ora-06502 pl/sql numeric or value error in Report Query in oracle apex

    Hello all,
    I need your help...
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I am using bi publisher to generate PDF reports in oracle apex.
    We were using APEX 4.0 and migrated to 4.2 just a week ago.
    Now we have apex 4.2.
    When I try to Create report query,
    Shared Components >> Report Queries then create.
    and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
    I have also applied a patch "16760897".
    This issue is because of number of columns in a query is more then 26.
    If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
    My before migration report queries working perfectly even now, but not new queries.
    This issue is also in apex.oracle.com.
    You can see
    Not working  - http://apex.oracle.com/pls/apex/f?p=619:4
    Working - http://apex.oracle.com/pls/apex/f?p=619:2:
    Please give a solution.
    Thanks you.

    check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
    Oracle Application Express Installation Requirements for 4.0

  • SEM_MATCH query failed: ORA-06502: PL/SQL: numeric or value error: characte

    I use sqlplus to run a query statement with the SEM_MATCH function, and got the following error:
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 176
    ORA-06512: at line 1
    Could it be a bug in the MDSYS.RDF_MATCH_IMPLE_T? I find the MDSYS.RDF_MATCH_IMPL_T in Oracle SQL Developer, but the code is not readable.
    Thanks.

    It is not likely to be a bug, but an issue of how SEM_MATCH is used. It would be best to contact Oracle Support with your sample SEM_MATCH query that causes the error.
    Melli

  • Report error:ORA-06502: PL/SQL: numeric or value error: character string bu

    We face the above error in HTMLDB (APEX) application Ver 3.1.0. This occurs when we try to display more number of rows/records in drop-down list (LOV in tabular forms). We are able to display 200 records in LOV. When the list of records exceeds 230, we face the below error
    report error:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the values listed in LOV are from tables (one of the columns in table)
    Could anyone give us a solution?

    Hi
    As you are using a tabular form, you could actually do the following:
    1 - In the tabular form column's attributes, set the following:
    Display as: Select List (query based on LOV)
    Display extra values: Yes
    List of values definition: SELECT null d, null r FROM DUAL
    2 - Add a new page item and set it to generate your select list
    3 - Create an HTML region with no template and use the following for its source:
    &lt;script type="text/javascript"&gt;
    function loadList(c, l)
    var s = document.getElementsByName(c);
    var lItem = document.getElementById(l);
    var lLength = lItem.options.length;
    var k;
    var j;
    var x = lItem.innerHTML;
    var v;
    var o;
    var z;
    for (k = 0; k &lt; s.length; k++)
    z = s[k];
    v = z.value;
    z.options.length = 0;
    for (j = 0; j &lt; lLength; j++)
    o = new Option()
    o.value = lItem[j].value;
    o.text = lItem[j].text;
    z.options[j] = o;
    z.value = v;
    if (z.selectedIndex == -1)
    z.selectedIndex = 0;
    loadList("f05", "P1_MGR");
    &lt;/script&gt;
    (Change "f05" and "P1_MGR" as appropriate to your column and your new page item respectively)
    Now, when you load the page, the select list contains a null entry plus the entry already on the database. The javascript kicks in automatically, loops through every entry in the "f05" column, copies the existing value, replaces the select list with the new page item version and sets its value to the copied value.
    Your new page item could be in a DIV tag that has a style of "display:none" to hide it from view.
    Andy

  • 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

  • Package Returning Error ORA-06502: PL/SQL: numeric or value error

    Hi,
    I create a package to export to spread sheet .xls, The package work for simple query if i pass the query to package.
    There is no error in package please create the package and do the following as mentioned below
    create or replace
    PACKAGE export_pkg_spread_sheet
    AS
    procedure download_excel(vsql in clob );
    PROCEDURE excel_header(p_header in out nocopy clob);
    procedure excel_content(p_content in out nocopy clob,
    vsql in clob );
    procedure excel_footer(p_footer in out nocopy clob);
    procedure get_usable_sql (p_sql_in IN clob,
    p_sql_out OUT clob);
    END export_pkg_spread_sheet;
    create or replace
    PACKAGE body export_pkg_spread_sheet
    AS
    PROCEDURE excel_header (p_header IN OUT nocopy CLOB)
    AS
    BEGIN
    p_header := '<html><body>';
    END;
    procedure download_excel( vsql in clob )
    as
    p_header clob;
    p_footer clob;
    p_content clob;
    begin
    owa_util.mime_header( 'application/octet', FALSE );
    htp.p('Content-Disposition: attachment; filename="report.xls"');
    owa_util.http_header_close;
    excel_header( p_header);
    excel_content(p_content,vsql);
    excel_footer(p_footer);
    dbms_output.put_line(p_header ||p_content|| p_footer);
    HTP.PRN( p_header ||p_content|| p_footer);
    htmldb_application.g_unrecoverable_error := true;
    end;
    procedure excel_content(p_content in out nocopy clob,
    vsql in clob)
    as
    p_sql_stmt clob;
    cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
    cols DBMS_SQL.DESC_TAB;
    ncols PLS_INTEGER;
    TYPE varColumn     IS TABLE OF varchar2(32000);
    vtab varColumn;
    v_column_count     NUMBER     DEFAULT 0;
    v_status      INTEGER;
    BEGIN
    htp.prn('am here');
    /* SELECT region_source into p_sql_stmt
    FROM apex_application_page_regions
    WHERE region_id = p_region_id AND
    page_id = p_page_id AND
    application_id = p_app_id; */
    get_usable_sql (vsql,p_sql_stmt);
    p_content := p_sql_stmt;
    -- Parse the query.
    DBMS_SQL.PARSE(cur, p_sql_stmt , DBMS_SQL.NATIVE);
    -- Retrieve column information
    DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
    -- Display each of the column names
    p_content := '<table> <tr>';
    FOR colind IN 1 .. ncols
    LOOP
    p_content := p_content || '<td>' || cols(colind).col_name || '</td>';
    END LOOP;
    p_content := p_content || '</tr>';
    vtab := varColumn(null);
    for i in 1..ncols
    loop
    vtab.extend;
    DBMS_SQL.DEFINE_COLUMN (cur, i, vtab(i), 2000);
    --dbms_output.put_line(vtab(i));
    end loop;
    v_status := DBMS_SQL.EXECUTE (cur);
    LOOP
    p_content := p_content || '<tr>';
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (cur) <= 0);
    FOR i IN 1 ..ncols
    loop
    DBMS_SQL.COLUMN_VALUE (cur, i, vtab(i));
    -- p_content := p_content || '<td>' || 'xyz' || '</td>';
    p_content := p_content || '<td>' || vtab(i) || '</td>';
    END LOOP;
    p_content := p_content || '</tr>' ;
    END LOOP;
    p_content := p_content || '<table>' ;
    DBMS_SQL.CLOSE_CURSOR (cur);
    exception
    when others then
         p_content := '<td>Exception Error in printing data</td><table>' ;
    DBMS_SQL.CLOSE_CURSOR (cur);
    end;
    procedure excel_footer( p_footer in out nocopy clob)
    as
    begin
    p_footer := '</body></html>';
    end;
    PROCEDURE get_usable_sql (p_sql_in IN clob, p_sql_out OUT clob)
    IS
    v_sql clob;
    v_names DBMS_SQL.varchar2_table;
    v_pos NUMBER;
    v_length NUMBER;
    v_exit NUMBER;
    BEGIN
    v_sql := p_sql_in;
    v_names := wwv_flow_utilities.get_binds (v_sql);
    FOR i IN 1 .. v_names.COUNT
    LOOP
    <<do_it_again>>
    v_pos := INSTR (LOWER (v_sql), LOWER (v_names (i)));
    v_length := LENGTH (LOWER (v_names (i)));
    v_sql :=
    SUBSTR (v_sql, 1, v_pos - 1)
    || v_names (i)
    || SUBSTR (v_sql, v_pos + v_length);
    v_sql :=
    REPLACE (v_sql,
    UPPER (v_names (i)),
    '(SELECT v('''
    || LTRIM (v_names (i), ':')
    || ''') FROM DUAL)'
    IF INSTR (LOWER (v_sql), LOWER (v_names (i))) > 0
    THEN
    GOTO do_it_again;
    END IF;
    END LOOP;
    p_sql_out := v_sql;
    END;
    END export_pkg_spread_sheet;
    After creating the package pass the parameter to package like this
    begin
    export_pkg_spread_sheet.download_excel('select * from emp');
    end;
    Package will allow to download the spread shreet. If i try to pass the a complex query to package it is returning error as mentioned below
    ORA-06502: PL/SQL: numeric or value error
    In the above package there is a procedure called procedure excel_content which actuall prints the data in the spread sheet this is where the error is coming from there is a variable called vsql have declared it as clob to hold large string but still i am getting the same error when trying to pass a big string.
    Please check the error and let me know.
    Thanks
    Sudhir

    Hi Praveen,
    This is the query i am using to pass
    Declare
    qry clob;
    Begin
    qry := ' 'SELECT
    AR.REGION_CODE,
    AR.DISTRICT_CODE,
    AR.TERRITORY_CODE,
    CASE
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NULL AND AR.TERRITORY_NAME IS NULL THEN
    AR.REGION_NAME
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NULL THEN
    AR.DISTRICT_NAME
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NOT NULL THEN
    AR.TERRITORY_NAME
    END TERR_NAME,
    AR.EMPLOYEE_ID,
    AR.LAST_NAME,
    AR.FIRST_NAME,
    AR.GENDER,
    AR.DATE_OF_HIRE,
    AR.PROJECT_EMPLOYEE_TITLE_ID,
    AR.COMPANY_ID,
    AR.CUSTOMER_EMAIL,
    AR.BUSINESS_EMAIL,
    AR.CUSTOMER_VOICEMAIL,
    AR.CUSTOMER_VOICEMAIL_EXT,
    AR.QUINTILES_VOICEMAIL,
    AR.QUINTILES_VOICEMAIL_EXT , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ZipCode" FROM AR_V_ROSTER AR
    LEFT JOIN AR_V_ADDRESS_HISTORY AAH
    ON
    (AR.PROJECT_ID = AAH.PROJECT_ID AND
    AR.EMPLOYEE_ID = AAH.EMPLOYEE_ID)
    WHERE
    UPPER(AR.USER_EMPLOYEE_ID) = ''Q766730'' AND
    AR.PROJECT_ID = 81 ';
    export_pkg_spread_sheet.download_excel(qry);
    End;
    Praveen you can pass your DB table query to check the error. I am trying to pass as mentioned above.
    Please let me know if my question is not clear.
    Thanks
    Sudhir

  • REP-1401: 'afterpform': Fatal PL/SQL error occured; numeric or value error

    Hi ppl
    I have some trigger in AFTER PARAMETER FORM:
    BEGIN
    IF not(:P_1 is null) THEN
         whercl:=whercl || ' ID >='||:P_1||' ';
         flag:=true;
    END IF;
    IF not(:P_2 is null) THEN
         IF flag THEN
              whercl:=whercl||' AND';
         END IF;
         whercl:=whercl || ' ID <='||:P_2||' ';
         flag:=true;
    END IF;
    IF flag THEN
         whercl:=' WHERE' ||whercl;
    END IF;
    :MYCLAUSE:=whercl;
    RETURN (result);
    END;
    It's ok.
    But when I add to this function this one:
    IF not(:P_3 is null) THEN
         IF flag THEN
              whercl:=whercl||' AND';
         END IF;
         whercl:=whercl || ' DTDOC >= to_date('''||:P_3||''',''DD-MM-YYYY'') ';
         flag:=true;
    END IF;
    and launch report - recieve such error message:
    REP-1401: 'afterpform': Fatal PL/SQL error occured.
    ORA-06502: PL/SQL: numeric or value error
    What could it be?
    My query is like
    SELECT ABC, EDG, ID, DTDOC FROM XXX &MYCLAUSE
    Regards
    Max

    Hi
    U got to check some of the points here
    1. Check the length of the Wherec1 .
    2. Check P1 or P2 is not a number Datatype Parameters .
    3. Check P3 too and also possibly try to use same date formats on both sides.
    Check also in which IF condition this error is coming up
    using srw.message
    I think this should help u to fix it
    Sri
    Hi ppl
    I have some trigger in AFTER PARAMETER FORM:
    BEGIN
    IF not(:P_1 is null) THEN
         whercl:=whercl || ' ID >='||:P_1||' ';
         flag:=true;
    END IF;
    IF not(:P_2 is null) THEN
         IF flag THEN
              whercl:=whercl||' AND';
         END IF;
         whercl:=whercl || ' ID <='||:P_2||' ';
         flag:=true;
    END IF;
    IF flag THEN
         whercl:=' WHERE' ||whercl;
    END IF;
    :MYCLAUSE:=whercl;
    RETURN (result);
    END;
    It's ok.
    But when I add to this function this one:
    IF not(:P_3 is null) THEN
         IF flag THEN
              whercl:=whercl||' AND';
         END IF;
         whercl:=whercl || ' DTDOC >= to_date('''||:P_3||''',''DD-MM-YYYY'') ';
         flag:=true;
    END IF;
    and launch report - recieve such error message:
    REP-1401: 'afterpform': Fatal PL/SQL error occured.
    ORA-06502: PL/SQL: numeric or value error
    What could it be?
    My query is like
    SELECT ABC, EDG, ID, DTDOC FROM XXX &MYCLAUSE
    Regards
    Max

  • Pl/Sql numeric or value error

    Hi All,
    Does any one know if there is a bug in Oracle 8 related to date variable?
    This is the second time I am seeing very peculiar problem with date package variable as well as local variable.
    1) Few weeks back, I encountered problem with Date package variable, which is giving pl/sql numeric or value error,if you leave the session idle for few hours. When you connect back, the query runs just fine without any problem. To fix this I had to remove the date package variable.
    2)And now I am seeing that my job which calls the above package failing after running for long hours. It fails due to a local date variable with Pl/sql numeric or value error. Now, I am going to remove this variable also.
    Anyone has thoughts on this?
    Thanx for any inputs.

    Hi,
    I have solved by adding the following statement.
    DBMS_LOB.CREATETEMPORARY(theClob,cache=>false);
    Thanks,
    Rammu

  • ORA-06502:PL/SQL:numeric or value error. Dynamic SQL the only answer??

    ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    I have an HTMLDB report that errors with the above message. The query is over 7000 characters long so I'm guessing this is the cause. If I retrieve the query from a query table, replace the variables in the LONG query using PL/SQL and execute using dynamic SQL, are the HTMLDB reporting features the same as if I was using a simple SQL query? Is there a better way? I will need to 'drill-down' from this report so how do I create the links? The only HTMLDB PL/SQL package I can find mentioned in the User's Guide is HTMLDB_PLSQL_JOB.
    Cheers, Paul

    Hello All,
    I have the same problem.
    For me it started when i got about 500 rows in the table
    on which the LOV is based.
    With a lot of trying with substr I managed to find the size of the string which it still accepted, which was 51 characters.
    So I thought it was some glitch in the APEX insides, and since I had no time to resolve it further, I went on working.
    But I have to resolve it now, because the following mysterious behaviour is occurring:
    Every few records added to the base table, the problem occurs again, and I can resolve it by cutting down the string
    with one character.
    I have now reached 39 characters !?
    I am afraid that I will end up with 1 character or even null.
    If I switch to Popup list based on LOV there's no problem, and the complete strings are shown.
    The maximum length of the string in my basetable is 252, but the data in it now reaches 55 at most.
    Any idea welcome!
    I did already recreate the master-detail form from scratch, but there the same behaviour.
    greetings,
    Richard Kloostra

  • ORA-06502: PL/SQL: numeric or value error by procedure

    Hi Experts,
    I have created the below package(Oracle 10.2):
    create or replace
    package UPCStreamDifferences AS
    TYPE NodeDetails IS REF CURSOR;
    query_str VARCHAR2(3000);
    newCounter number(10);
    oldCounter number(10);
    cfgname VARCHAR2(100);
    cfgversionmajor NUMBER(10);
    cfgversionminor NUMBER(10);
    cfgversiondefect NUMBER(10);
    cfgversionpatch VARCHAR2(10);
    appname VARCHAR2(100);
    appversionmajor NUMBER(10);
    appversionminor NUMBER(10);
    appversiondefect NUMBER(10);
    appversionpatch VARCHAR2(10);
    libname VARCHAR2(100);
    libversionmajor NUMBER(10);
    libversionminor NUMBER(10);
    libversiondefect NUMBER(10);
    libversionpatch VARCHAR2(10);
    StreamId NUMBER(10);
    LINE CLOB;
    tline CLOB;
    OLDLINE CLOB;
    NodeName varchar(200);
    NodeParameter varchar(200);
    NodeParameterValue varchar(500);
    StreamParameter varchar(200);
    StreamParameterValue varchar(500);
    LinkName varchar(200);
    LinkCopyNumber Number(10);
    StorageName VARCHAR2(100);
    Procedure ParameterValues(StreamName IN VARCHAR2,oldVersion IN NUMBER,newVersion IN NUMBER);
    END UPCStreamDifferences;
    create or replace
    package body UPCStreamDifferences AS
    procedure ParameterValues (StreamName IN VARCHAR2,
                                                oldVersion IN NUMBER,
                                                newVersion IN NUMBER) IS
    diffParam NodeDetails;
    BEGIN
    line := '';
    tline := '';
    execute immediate 'select streamId from el_streams where Name = :1' into StreamId using StreamName;
    query_str := 'WITH old_stream as (select  el_nodes.name, parameter, value  from el_node_params
                          left join el_nodes on
                            el_nodes.nodeversionid = el_node_params.nodeversionid
                            left join el_stream_versions on
                              el_nodes.streamversionid = el_stream_versions.streamversionid
                              where
                                   el_stream_versions.streamid ='|| streamID ||' and el_stream_versions.streamversion =' || oldVersion ||'),
          new_stream as (select  el_nodes.name, parameter, value from el_node_params
                        left join el_nodes on
                          el_nodes.nodeversionid = el_node_params.nodeversionid
                          left join el_stream_versions on
                            el_nodes.streamversionid = el_stream_versions.streamversionid
                            where
                                 el_stream_versions.streamid = '|| streamID ||'and el_stream_versions.streamversion = ' || newVersion ||')
                  select name AS NodeName,
                         count(src1) AS oldCounter,
                         count(src2) AS newCounter,
                         parameter as NodeParameter, Value as NodeParameterValue from ( select name, parameter, value, 1 AS src1, TO_NUMBER(NULL) AS src2 from old_stream
                                                                UNION ALL
                                                                select  name, parameter, value, TO_NUMBER(NULL) AS src1, 2 AS src2 from new_stream)
                                                          group by name, parameter, value
                  Having count(src1) <> count(src2)';
    OPEN diffParam FOR query_str;
    LOOP
        FETCH diffParam INTO NodeName,oldCounter,NewCounter,NodeParameter,NodeParameterValue;
        if  diffParam%FOUND then
              if newcounter >= 1 then
              line := line||NodeName||';F;'|| 'NEW!' ||Nodeparameter||'|'||NodeParametervalue||':';
              end if;
              if oldcounter >= 1 then
               tline := tline||NodeName||';F;'|| 'OLD!' ||Nodeparameter||'|'||NodeParametervalue||':';
              end if;
        else
            exit;
        END iF;
    END LOOP;
    dbms_output.put_line(line);
    dbms_output.put_line(tline);
    close diffParam;
    END ParameterValues;
    This is throwing errors for some cases not all.
    set serveroutput on;
    execute upcstreamdifferences.ParameterValues('UPC_CH_HIQ',167,168);
    Error starting at line 2 in command:
    execute upcstreamdifferences.ParameterValues('UPC_CH_HIQ',167,168)
    Error report:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "ELINK.UPCSTREAMDIFFERENCES", line 285
    ORA-06512: at line 1
    06502. 00000 -  "PL/SQL: numeric or value error%s"
    *Cause:
    *Action:CH_HIQ_BACKUP;F;NEW!BlockSize|:CH_HIQ_BACKUP;F;NEW!CompressionMethod|gzip:CH_HIQ_BACKUP;F;NEW!PrivateKey|:CH_HIQ_BACKUP;F;NEW!PublicKey|:CH_HIQ_TAIFUN_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_KENAN_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_OTF01A_COLLECTOR;F;NEW!OnlyCollectFilesOlderThan|:CH_HIQ_BACKUP;F;NEW!BehaviourOnError|Abort:CH_HIQ_BACKUP;F;NEW!FlagFileSuffix|:CH_HIQ_BACKUP;F;NEW!InputLinkDirectories|Yes:CH_HIQ_BACKUP;F;NEW!Port|:CH_HIQ_BACKUP;F;NEW!RemoteSuffix|:CH_HIQ_BACKUP;F;NEW!Ruleset|backup.pm:CH_HIQ_FRAUD_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_DWH_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_HU_TOOL_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_BACKUP;F;NEW!RemotePrefix|:CH_HIQ_BACKUP;F;NEW!SourceIdDirectories|no:CH_HIQ_BACKUP;F;NEW!TransferProtocol|Local:CH_HIQ_BACKUP;F;NEW!TransferType|:CH_HIQ_R14_DECODER;F;NEW!RejectInvalid|1:CH_HIQ_HU_TOOL_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_ICONX_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_BACKUP;F;NEW!InputLinksToSubDirectories|FILE_VALIDATED=RAW/&SOURCEID:CH_HIQ_BACKUP;F;NEW!TargetDirectory|/backup/BACKUP_EL603/UPCCH_HIQ/:CH_HIQ_BACKUP;F;NEW!Username|:CH_HIQ_R10_DECODER;F;NEW!RejectInvalid|1:CH_HIQ_VSSOTF_COLLECTOR;F;NEW!OnlyCollectFilesOlderThan|:CH_HIQ_AUDIT_REJECTED_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_DWH_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_BACKUP;F;NEW!Cipher|:CH_HIQ_BACKUP;F;NEW!ConnectionRetryInterval|:CH_HIQ_BACKUP;F;NEW!MaximumReconnectionInterval|:CH_HIQ_TAIFUN_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_GLB01A_COLLECTOR;F;NEW!OnlyCollectFilesOlderThan|:CH_HIQ_VSSBRN_COLLECTOR;F;NEW!OnlyCollectFilesOlderThan|:CH_HIQ_BACKUP;F;NEW!DestinationHost|:CH_HIQ_BACKUP;F;NEW!Password|:CH_HIQ_BACKUP;F;NEW!TransferMode|:CH_HIQ_BACKUP;F;NEW!TransferRetryCount|:CH_HIQ_R10_DECODER;F;NEW!EscapeWithBackslash|0:CH_HIQ_FRAUD_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_BACKUP;F;NEW!ExternalCommand|:CH_HIQ_BACKUP;F;NEW!Kex|:CH_HIQ_BACKUP;F;NEW!MaxDays|0:CH_HIQ_BACKUP;F;NEW!MaxFiles|0:CH_HIQ_BACKUP;F;NEW!OriginalFilenameMask|:CH_HIQ_BACKUP;F;NEW!RemoteOS|:CH_HIQ_BACKUP;F;NEW!TempSuffix|:CH_HIQ_AUDIT_REJECTED_ENCODER;F;NEW!OutputDescriptionFileName|telephony.xml:CH_HIQ_PRIMECARRIER_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_R14_DECODER;F;NEW!EscapeWithBackslash|0:CH_HIQ_R14_DECODER;F;NEW!PercentOfRejectedRecordsAllowed|:CH_HIQ_AUDIT_REJECTED_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_ICONX_DISTRIBUTOR;F;NEW!Subdirectory|:CH_HIQ_BACKUP;F;NEW!Compression|:CH_HIQ_BACKUP;F;NEW!ConnectionEstablishmentTimeout|:CH_HIQ_BACKUP;F;NEW!ConnectionRetryCount|:CH_HIQ_BACKUP;F;NEW!DailyDirectories|no:CH_HIQ_BACKUP;F;NEW!MaximumSustainedNetworkDowntime|:CH_HIQ_BACKUP;F;NEW!TempDirectory|:CH_HIQ_BACKUP;F;NEW!TransferRetryInterval|:CH_HIQ_PRIMECARRIER_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_HIQ_R10_DECODER;F;NEW!PercentOfRejectedRecordsAllowed|:CH_HIQ_KENAN_DISTRIBUTOR;F;NEW!Subdirectory|:Another case:
    set serveroutput on;
    execute upcstreamdifferences.ParameterValues('UPC_CH_PPV',47,56);
    anonymous block completed
    CH_PPV_PRODIS_COLLECTOR;F;NEW!SourceDirectory|${EventLinkUserHome}/delivery/${StreamName}/INPUT/PRODIS:CH_PPV_CAS_COLLECTOR;F;NEW!RecordLimit|10000:CH_PPV_BACKUP;F;NEW!ConnectionRetryInterval|:CH_PPV_BACKUP;F;NEW!DestinationHost|:CH_PPV_BACKUP;F;NEW!InputLinkDirectories|Yes:CH_PPV_BACKUP;F;NEW!Password|:CH_PPV_BACKUP;F;NEW!TransferMode|:CH_PPV_RDC;F;NEW!SeparationValue1|:CH_PPV_DWH_DISTRIBUTOR;F;NEW!PrivateKey|${EventLinkUserHome}/.ssh/id_rsa:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!Password|:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!TempDirectory|${EventLinkUserHome}/delivery/${StreamName}/OUTPUT/FRAUD/tmp:CH_PPV_PRODIS_FDC;F;NEW!SequenceChecking|0:CH_PPV_PRODIS_DECODER;F;NEW!PercentOfRejectedRecordsAllowed|:CH_PPV_DWH_ENCODER;F;NEW!CreateEmptyOutputFileOnSeparation|0:CH_PPV_DECODER;F;NEW!EscapeWithBackslash|0:CH_PPV_DECODER;F;NEW!InvalidLink|INVALID:CH_PPV_CAS_COLLECTOR;F;NEW!CasHeartbeatInterval|5m:CH_PPV_CAS_COLLECTOR;F;NEW!MaxAgeOfFile|30m:CH_PPV_AUDIT_DISTRIBUTOR;F;NEW!BehaviourOnError|Abort:CH_PPV_BACKUP;F;NEW!ConnectionEstablishmentTimeout|:CH_PPV_BACKUP;F;NEW!ConnectionRetryCount|:CH_PPV_BACKUP;F;NEW!InputLinksToSubDirectories|CAS_COLLECTOR=RAW/&SOURCEID,COLLECTED=RAW/&SOURCEID:CH_PPV_BACKUP;F;NEW!Kex|:CH_PPV_BACKUP;F;NEW!MaxDays|0:CH_PPV_BACKUP;F;NEW!RemotePrefix|:CH_PPV_BACKUP;F;NEW!TempDirectory|:CH_PPV_RDC;F;NEW!DuplicateCounter|P_0_1_1:CH_PPV_RDC;F;NEW!InputCounter|:CH_PPV_RDC;F;NEW!OutputDurationCounter|:CH_PPV_RDC;F;NEW!SeparationValue4|:CH_PPV_DWH_DISTRIBUTOR;F;NEW!CompressionMethod|compress:CH_PPV_DWH_DISTRIBUTOR;F;NEW!PublicKey|${EventLinkUserHome}/.ssh/id_rsa.pub:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!Username|${EventLinkUser}:CH_PPV_PRODIS_FDC;F;NEW!TRS.DataStorage|${StreamName}:CH_PPV_KENAN_ENCODER;F;NEW!MaxAgeOfFile|:CH_PPV_KENAN_ENCODER;F;NEW!OutputFileNameCreationMask|PV1.&SEQ(7).&CREATIONTIME(%Y%m%d%H%M%S).&SOURCEID.00.&MIN(EL_PURCHASE_DATETIME)-&MAX(EL_PURCHASE_DATETIME):CH_PPV_DWH_ENCODER;F;NEW!OutputDescriptionFileName|output_description.xml:CH_PPV_DECODER;F;NEW!PercentOfRejectedRecordsAllowed|:CH_PPV_DECODER;F;NEW!TrailerIdentifier|:CH_PPV_VALIDATOR;F;NEW!Timezone|${Timezone}:CH_PPV_CAS_COLLECTOR;F;NEW!CommitInterval|10s:CH_PPV_BACKUP;F;NEW!BehaviourOnError|Abort:CH_PPV_BACKUP;F;NEW!ExternalCommand|:CH_PPV_BACKUP;F;NEW!SourceIdDirectories|no:CH_PPV_BACKUP;F;NEW!TargetDirectory|/backup/BACKUP_EL603/${StreamName}:CH_PPV_BACKUP;F;NEW!TransferProtocol|Local:CH_PPV_RDC;F;NEW!SeparationCondition|:CH_PPV_RDC;F;NEW!SeparationValue5|:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!PrivateKey|${EventLinkUserHome}/.ssh/id_rsa:CH_PPV_LOCAL_COLLECTOR;F;NEW!OnlyCollectFilesOlderThan|:CH_PPV_VALIDATOR;F;NEW!InputCounter|I_0_2_1:CH_PPV_PRODIS_COLLECTOR;F;NEW!Username|${EventLinkUser}:CH_PPV_CAS_COLLECTOR;F;NEW!TransactionIdFile|${EventLinkUserHome}/delivery/${StreamName}/WORKING/id_file.txt:CH_PPV_PRODIS_RDC;F;NEW!DuplicateCheckEnabled|No:CH_PPV_PRODIS_RDC;F;NEW!RestartInterval|1d:CH_PPV_PRODIS_RDC;F;NEW!TRS.DataStorage|${StreamName}:CH_PPV_AUDIT_DISTRIBUTOR;F;NEW!TargetDirectory|${EventLinkUserHome}/delivery/UPC_PE_Rejected_Loader_stream/INPUT/${Affiliate}_PPV:CH_PPV_AUDIT_DISTRIBUTOR;F;NEW!TempDirectory|${EventLinkUserHome}/delivery/UPC_PE_Rejected_Loader_stream/INPUT/${Affiliate}_PPV/temp:CH_PPV_BACKUP;F;NEW!BlockSize|:CH_PPV_BACKUP;F;NEW!Compression|:CH_PPV_BACKUP;F;NEW!FlagFileSuffix|:CH_PPV_BACKUP;F;NEW!OriginalFilenameMask|:CH_PPV_RDC;F;NEW!Keys|I_UA, I_IMS_PRODUCT_ID:CH_PPV_RDC;F;NEW!TRS.DataStorage|${StreamName}:CH_PPV_DWH_DISTRIBUTOR;F;NEW!Username|${EventLinkUser}:CH_PPV_KENAN_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!PublicKey|${EventLinkUserHome}/.ssh/id_rsa.pub:CH_PPV_DWH_ENCODER;F;NEW!CreateEmptyOutputFileOnFlush|0:CH_PPV_CAS_COLLECTOR;F;NEW!OutputFileNameCreationMask|${Affiliate}CAS_&CREATIONTIME(%Y%m%d%H%M%S):CH_PPV_CAS_COLLECTOR;F;NEW!RestartInterval|1d:CH_PPV_AUDIT_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_PPV_BACKUP;F;NEW!MaximumReconnectionInterval|:CH_PPV_BACKUP;F;NEW!Port|:CH_PPV_BACKUP;F;NEW!TransferRetryInterval|:CH_PPV_RDC;F;NEW!DurationField|:CH_PPV_KENAN_DISTRIBUTOR;F;NEW!Subdirectory|:CH_PPV_KENAN_DISTRIBUTOR;F;NEW!TargetDirectory|${EventLinkUserHome}/delivery/${StreamName}/OUTPUT/KENAN:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|:CH_PPV_LOCAL_COLLECTOR;F;NEW!BehaviourOnError|Abort:CH_PPV_KENAN_ENCODER;F;NEW!CreateEmptyOutputFileOnSeparation|0:CH_PPV_KENAN_ENCODER;F;NEW!OutputDescriptionFileName|dpv_old.xml:CH_PPV_KENAN_ENCODER;F;NEW!RecordLimit|:CH_PPV_DECODER;F;NEW!CSVFieldsContainDelimiters|0:CH_PPV_DECODER;F;NEW!DiscardEmptyFiles|0:CH_PPV_DECODER;F;NEW!OutputLink|DECODED:CH_PPV_DECODER;F;NEW!RecordIdentifier|:CH_PPV_CAS_COLLECTOR;F;NEW!NoDataTimeout|12h:CH_PPV_BACKUP;F;NEW!Cipher|:CH_PPV_BACKUP;F;NEW!MaximumSustainedNetworkDowntime|:CH_PPV_BACKUP;F;NEW!RemoteOS|:CH_PPV_BACKUP;F;NEW!Ruleset|backup.pm:CH_PPV_RDC;F;NEW!AuditFields|AUD_UA=I_UA, AUD_STU_NUMBER=I_STU_NUMBER, AUD_IMS_PRODUCT_ID=I_IMS_PRODUCT_ID:CH_PPV_RDC;F;NEW!SeparationValue2|:CH_PPV_RDC;F;NEW!SeparationValue3|:CH_PPV_DWH_DISTRIBUTOR;F;NEW!OutputFileNameExtractionMask|CDR\.(.+):CH_PPV_DWH_DISTRIBUTOR;F;NEW!TargetDirectory|${EventLinkUserHome}/delivery/${StreamName}/OUTPUT/DWH:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!TargetDirectory|${EventLinkUserHome}/delivery/${StreamName}/OUTPUT/FRAUD:CH_PPV_HORIZON_BLN;F;NEW!KenanCounter|K_0_1_2:CH_PPV_DWH_ENCODER;F;NEW!MaxAgeOfFile|:CH_PPV_DECODER;F;NEW!AuditFiltered|1:CH_PPV_DECODER;F;NEW!HeaderIdentifier|:CH_PPV_AUDIT_ENCODER;F;NEW!OutputDescriptionFileName|vod.xml:CH_PPV_CAS_COLLECTOR;F;NEW!BindTimeout|10s:CH_PPV_PRODIS_RDC;F;NEW!OutputCounter|B_0_1_2:CH_PPV_AUDIT_DISTRIBUTOR;F;NEW!Subdirectory|:CH_PPV_BACKUP;F;NEW!PrivateKey|:CH_PPV_BACKUP;F;NEW!PublicKey|:CH_PPV_BACKUP;F;NEW!Username|:CH_PPV_RDC;F;NEW!DuplicateCheckEnabled|No:CH_PPV_RDC;F;NEW!DuplicateDurationCounter|:CH_PPV_RDC;F;NEW!OutputCounter|:CH_PPV_RDC;F;NEW!RestartInterval|1d:CH_PPV_DWH_DISTRIBUTOR;F;NEW!Subdirectory|UPC${Affiliate}_$1:CH_PPV_KENAN_DISTRIBUTOR;F;NEW!Username|${EventLinkUser}:CH_PPV_KENAN_DWH_BLN;F;NEW!ReprocessLimit|100d:CH_PPV_LOCAL_COLLECTOR;F;NEW!SourceDirectory|${EventLinkUserHome}/delivery/${StreamName}/INPUT/:CH_PPV_KENAN_ENCODER;F;NEW!CreateEmptyOutputFileOnFlush|0:CH_PPV_KENAN_ENCODER;F;NEW!SeparateSequenceNumbersInOutput|0:CH_PPV_DWH_ENCODER;F;NEW!CreateEmptyOutputFiles|0:CH_PPV_PRODIS_COLLECTOR;F;NEW!DeleteSource|No:CH_PPV_PRODIS_COLLECTOR;F;NEW!RemotePrefix|old_:CH_PPV_CAS_COLLECTOR;F;NEW!CloseFilesAtSchedule|0:CH_PPV_BACKUP;F;NEW!CompressionMethod|gzip:CH_PPV_BACKUP;F;NEW!DailyDirectories|no:CH_PPV_BACKUP;F;NEW!MaxFiles|0:CH_PPV_BACKUP;F;NEW!RemoteSuffix|:CH_PPV_BACKUP;F;NEW!TempSuffix|:CH_PPV_BACKUP;F;NEW!TransferRetryCount|:CH_PPV_BACKUP;F;NEW!TransferType|:CH_PPV_RDC;F;NEW!InputDurationCounter|:CH_PPV_DWH_DISTRIBUTOR;F;NEW!Password|:CH_PPV_FRAUD_DISTRIBUTOR;F;NEW!Subdirectory|:CH_PPV_HORIZON_BLN;F;NEW!OracleDatabaseName|${EventLinkDatabase}:CH_PPV_KENAN_ENCODER;F;NEW!CreateEmptyOutputFiles|0:CH_PPV_KENAN_ENCODER;F;NEW!DataRecordType|PV1:CH_PPV_DECODER;F;NEW!DiscardOnRejection|0:CH_PPV_DECODER;F;NEW!InputDescription|cas.desc:CH_PPV_DECODER;F;NEW!RejectInvalid|0:CH_PPV_DECODER;F;NEW!SendInvalid|1:CH_PPV_VALIDATOR;F;NEW!RejectedCounter|P_0_1_1:CH_PPV_VALIDATOR;F;NEW!RestartInterval|1d:
    CH_PPV_OUTPUT_BACKUP;F;OLD!Compression|:CH_PPV_OUTPUT_BACKUP;F;OLD!Port|:CH_PPV_OUTPUT_BACKUP;F;OLD!TempDirectory|:CH_PPV_OUTPUT_BACKUP;F;OLD!TransferRetryCount|:CH_PPV_OUTPUT_BACKUP;F;OLD!TransferType|:CH_PPV_AUDIT_ENCODER;F;OLD!OutputDescriptionFileName|audit_file_description.xml:CH_PPV_RDC;F;OLD!TRS.DataStorage|UPCCH_PPV:CH_PPV_DWH_DISTRIBUTOR;F;OLD!Username|u1elkpe:CH_PPV_KENAN_ENCODER;F;OLD!CreateEmptyOutputFileOnSeparation|:CH_PPV_KENAN_ENCODER;F;OLD!CreateEmptyOutputFiles|:CH_PPV_KENAN_ENCODER;F;OLD!OutputFileNameCreationMask|PV1.&SEQ(7).&CREATIONTIME(%Y%m%d%H%M%S).&SOURCEID.00.&MIN(EL_PURCHASE_LOCALTIME)-&MAX(EL_PURCHASE_LOCALTIME2):CH_PPV_KENAN_DWH_BLN;F;OLD!AuditOutType|${AuditOutType}:CH_PPV_RAW_BACKUP;F;OLD!ConnectionRetryInterval|:CH_PPV_RAW_BACKUP;F;OLD!TempSuffix|:CH_PPV_PRODIS_FDC;F;OLD!TRS.DataStorage|UPCCH_PPV:CH_PPV_HORIZON_BLN;F;OLD!OracleDatabaseName|U1ELKPE:CH_PPV_OUTPUT_BACKUP;F;OLD!BehaviourOnError|Restart:CH_PPV_OUTPUT_BACKUP;F;OLD!Kex|:CH_PPV_OUTPUT_BACKUP;F;OLD!TargetDirectory|/backup/BACKUP_EL603/UPCCH_PPV:CH_PPV_PRODIS_RDC;F;OLD!NodeName|CH_PPV_PRODIS_RDC:CH_PPV_AUDIT_DISTRIBUTOR;F;OLD!TempDirectory|${EventLinkUserHome}/delivery/UPC_PE_Rejected_Loader_stream/INPUT/CH_PPV/temp:CH_PPV_RDC;F;OLD!StreamName|${StreamName}:CH_PPV_DWH_DISTRIBUTOR;F;OLD!PrivateKey|:CH_PPV_KENAN_ENCODER;F;OLD!CreateEmptyOutputFileOnFlush|:CH_PPV_RAW_BACKUP;F;OLD!BehaviourOnError|Restart:CH_PPV_RAW_BACKUP;F;OLD!FlagFileSuffix|:CH_PPV_RAW_BACKUP;F;OLD!OriginalFilenameMask|:CH_PPV_RAW_BACKUP;F;OLD!PrivateKey|:CH_PPV_RAW_BACKUP;F;OLD!RemoteOS|:CH_PPV_RAW_BACKUP;F;OLD!TargetDirectory|/backup/BACKUP_EL603/UPCCH_PPV/RAW:CH_PPV_DECODER;F;OLD!DiscardFailureThreshold|15:CH_PPV_VALIDATOR;F;OLD!AuditOutType|${AuditOutType}:CH_PPV_OUTPUT_BACKUP;F;OLD!BlockSize|:CH_PPV_OUTPUT_BACKUP;F;OLD!ConnectionRetryInterval|:CH_PPV_OUTPUT_BACKUP;F;OLD!FlagFileSuffix|:CH_PPV_OUTPUT_BACKUP;F;OLD!MaxDays|30:CH_PPV_OUTPUT_BACKUP;F;OLD!MaxFiles|0:CH_PPV_OUTPUT_BACKUP;F;OLD!MaximumSustainedNetworkDowntime|:CH_PPV_OUTPUT_BACKUP;F;OLD!Password|:CH_PPV_OUTPUT_BACKUP;F;OLD!RemoteOS|:CH_PPV_OUTPUT_BACKUP;F;OLD!TransferMode|:CH_PPV_PRODIS_RDC;F;OLD!TRS.DataStorage|UPCCH_PPV:CH_PPV_DWH_ENCODER;F;OLD!CreateEmptyOutputFileOnSeparation|:CH_PPV_DWH_ENCODER;F;OLD!MaxAgeOfFile|1M:CH_PPV_RDC;F;OLD!DuplicateCheckEnabled|Yes:CH_PPV_DWH_DISTRIBUTOR;F;OLD!TargetDirectory|${EventLinkUserHome}/delivery/UPCCH_PPV/OUTPUT/DWH:CH_PPV_RAW_BACKUP;F;OLD!BlockSize|:CH_PPV_RAW_BACKUP;F;OLD!DailyDirectories|no:CH_PPV_RAW_BACKUP;F;OLD!InputLinkDirectories|No:CH_PPV_RAW_BACKUP;F;OLD!RemoteSuffix|.&CREATIONTIME(%Y%m%d%H%M%S):CH_PPV_RAW_BACKUP;F;OLD!TransferRetryInterval|:CH_PPV_PRODIS_COLLECTOR;F;OLD!RemotePrefix|:CH_PPV_LOCAL_COLLECTOR;F;OLD!SourceDirectory|${EventLinkUserHome}/delivery/UPCCH_PPV/INPUT/:CH_PPV_PRODIS_COMMON_BLN;F;OLD!StreamName|${StreamName}:CH_PPV_HORIZON_BLN;F;OLD!AuditOutType|${AuditOutType}:CH_PPV_OUTPUT_BACKUP;F;OLD!InputLinkDirectories|Yes:CH_PPV_DWH_ENCODER;F;OLD!CreateEmptyOutputFileOnFlush|:CH_PPV_DWH_ENCODER;F;OLD!CreateEmptyOutputFiles|:CH_PPV_KENAN_ENCODER;F;OLD!SeparateSequenceNumbersInOutput|1:CH_PPV_KENAN_DISTRIBUTOR;F;OLD!TargetDirectory|${EventLinkUserHome}/delivery/UPCCH_PPV/OUTPUT/KENAN:CH_PPV_FRAUD_DISTRIBUTOR;F;OLD!TargetDirectory|${EventLinkUserHome}/delivery/UPCCH_PPV/OUTPUT/FRAUD:CH_PPV_FRAUD_DISTRIBUTOR;F;OLD!Username|u1elkpe:CH_PPV_KENAN_DWH_BLN;F;OLD!StreamName|${StreamName}:CH_PPV_RAW_BACKUP;F;OLD!ConnectionEstablishmentTimeout|:CH_PPV_RAW_BACKUP;F;OLD!Port|:CH_PPV_RAW_BACKUP;F;OLD!Ruleset|backup.pm:CH_PPV_CAS_COLLECTOR;F;OLD!BindTimeout|10:CH_PPV_CAS_COLLECTOR;F;OLD!CasHeartbeatInterval|300:CH_PPV_OUTPUT_BACKUP;F;OLD!DailyDirectories|no:CH_PPV_OUTPUT_BACKUP;F;OLD!RemotePrefix|:CH_PPV_OUTPUT_BACKUP;F;OLD!SourceIdDirectories|no:CH_PPV_OUTPUT_BACKUP;F;OLD!Username|:CH_PPV_PRODIS_RDC;F;OLD!DuplicateCheckEnabled|Yes:CH_PPV_DWH_ENCODER;F;OLD!OutputDescriptionFileName|brio_description.xml:CH_PPV_DWH_DISTRIBUTOR;F;OLD!PublicKey|:CH_PPV_KENAN_ENCODER;F;OLD!MaxAgeOfFile|86400:CH_PPV_KENAN_ENCODER;F;OLD!OutputDescriptionFileName|kenan_description.xml:CH_PPV_FRAUD_DISTRIBUTOR;F;OLD!PrivateKey|:CH_PPV_RAW_BACKUP;F;OLD!CompressionMethod|gzip:CH_PPV_RAW_BACKUP;F;OLD!ConnectionRetryCount|:CH_PPV_RAW_BACKUP;F;OLD!RemotePrefix|:CH_PPV_RAW_BACKUP;F;OLD!TransferMode|:CH_PPV_RAW_BACKUP;F;OLD!Username|:CH_PPV_CAS_COLLECTOR;F;OLD!CommitInterval|10:CH_PPV_CAS_COLLECTOR;F;OLD!OutputFileNameCreationMask|CHCAS_&CREATIONTIME(%Y%m%d%H%M%S):CH_PPV_HORIZON_BLN;F;OLD!StreamName|${StreamName}:CH_PPV_DECODER;F;OLD!SendDiscardedFilesToLink|:CH_PPV_OUTPUT_BACKUP;F;OLD!CompressionMethod|gzip:CH_PPV_OUTPUT_BACKUP;F;OLD!ConnectionEstablishmentTimeout|:CH_PPV_OUTPUT_BACKUP;F;OLD!ConnectionRetryCount|:CH_PPV_OUTPUT_BACKUP;F;OLD!DestinationHost|:CH_PPV_OUTPUT_BACKUP;F;OLD!MaximumReconnectionInterval|:CH_PPV_OUTPUT_BACKUP;F;OLD!OriginalFilenameMask|:CH_PPV_OUTPUT_BACKUP;F;OLD!TransferProtocol|Local:CH_PPV_OUTPUT_BACKUP;F;OLD!TransferRetryInterval|:CH_PPV_PRODIS_RDC;F;OLD!OutputCounter|B_0_2_1:CH_PPV_AUDIT_DISTRIBUTOR;F;OLD!TargetDirectory|${EventLinkUserHome}/delivery/UPC_PE_Rejected_Loader_stream/INPUT/CH_PPV:CH_PPV_DWH_DISTRIBUTOR;F;OLD!CompressionMethod|no compression:CH_PPV_FRAUD_DISTRIBUTOR;F;OLD!TempDirectory|${EventLinkUserHome}/delivery/UPCCH_PPV/OUTPUT/FRAUD/tmp:CH_PPV_RAW_BACKUP;F;OLD!Cipher|:CH_PPV_RAW_BACKUP;F;OLD!Compression|:CH_PPV_RAW_BACKUP;F;OLD!MaximumReconnectionInterval|:CH_PPV_RAW_BACKUP;F;OLD!MaximumSustainedNetworkDowntime|:CH_PPV_RAW_BACKUP;F;OLD!TransferType|:CH_PPV_PRODIS_COLLECTOR;F;OLD!DeleteSource|Yes:CH_PPV_LOCAL_COLLECTOR;F;OLD!BehaviourOnError|Restart:CH_PPV_HORIZON_BLN;F;OLD!KenanCounter|K_0_2_1:CH_PPV_VALIDATOR;F;OLD!StreamName|${StreamName}:CH_PPV_OUTPUT_BACKUP;F;OLD!Cipher|:CH_PPV_OUTPUT_BACKUP;F;OLD!ExternalCommand|:CH_PPV_OUTPUT_BACKUP;F;OLD!PrivateKey|:CH_PPV_OUTPUT_BACKUP;F;OLD!RemoteSuffix|:CH_PPV_AUDIT_DISTRIBUTOR;F;OLD!BehaviourOnError|Restart:CH_PPV_RDC;F;OLD!Keys|I_UA, I_PURCHASE_DATE, I_PURCHASE_TIME, I_IMS_PRODUCT_ID:CH_PPV_KENAN_ENCODER;F;OLD!RecordLimit|100:CH_PPV_KENAN_DISTRIBUTOR;F;OLD!Username|u1elkpe:CH_PPV_FRAUD_DISTRIBUTOR;F;OLD!Password|u1elkpe:CH_PPV_KENAN_DWH_BLN;F;OLD!202_DEFAULT_TIME|000000:CH_PPV_RAW_BACKUP;F;OLD!DestinationHost|:CH_PPV_RAW_BACKUP;F;OLD!ExternalCommand|:CH_PPV_RAW_BACKUP;F;OLD!Kex|:CH_PPV_RAW_BACKUP;F;OLD!Password|:CH_PPV_RAW_BACKUP;F;OLD!PublicKey|:CH_PPV_RAW_BACKUP;F;OLD!SourceIdDirectories|yes:CH_PPV_RAW_BACKUP;F;OLD!TempDirectory|:CH_PPV_RAW_BACKUP;F;OLD!TransferProtocol|Local:CH_PPV_PRODIS_FDC;F;OLD!SequenceChecking|1:CH_PPV_OUTPUT_BACKUP;F;OLD!PublicKey|:CH_PPV_OUTPUT_BACKUP;F;OLD!Ruleset|backup.pm:CH_PPV_OUTPUT_BACKUP;F;OLD!TempSuffix|:CH_PPV_PRODIS_RDC;F;OLD!StreamName|${StreamName}:CH_PPV_DWH_DISTRIBUTOR;F;OLD!Password|u1elkpe:CH_PPV_FRAUD_DISTRIBUTOR;F;OLD!PublicKey|:CH_PPV_KENAN_DWH_BLN;F;OLD!LsAdmin|${EventLinkUserHome}/EventLink/lookup_server3/bin/ls_admin:CH_PPV_KENAN_DWH_BLN;F;OLD!ReprocessLimit|100:CH_PPV_RAW_BACKUP;F;OLD!MaxDays|30:CH_PPV_RAW_BACKUP;F;OLD!MaxFiles|0:CH_PPV_RAW_BACKUP;F;OLD!TransferRetryCount|:CH_PPV_PRODIS_COLLECTOR;F;OLD!SourceDirectory|${EventLinkUserHome}/delivery/UPCCH_PPV/INPUT/PRODIS:CH_PPV_PRODIS_COLLECTOR;F;OLD!Username|u1elkpe:CH_PPV_CAS_COLLECTOR;F;OLD!TransactionIdFile|${EventLinkUserHome}/delivery/UPCCH_PPV/WORKING/id_file.txt:CH_PPV_PRODIS_COMMON_BLN;F;OLD!AuditOutType|${AuditOutType}:CH_PPV_DECODER;F;OLD!NetworkElementID|CAS:CH_PPV_DECODER;F;OLD!UseRecordSequenceNumbers|:I do not understand why this throws unexpected errors. Can you please help in resolving the problem.
    Edited by: BluShadow on 09-Oct-2012 09:37
    added {noformat}{noformat} tags for readability.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Hi,
    Returned rows from the query are as follows;
    "NODENAME"     "OLDCOUNTER"     "NEWCOUNTER"     "NODEPARAMETER"     "NODEPARAMETERVALUE"
    "CH_HIQ_ICONX_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_ICONX_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_DWH_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_RAW_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_KENAN_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_BACKUP"     0     1     "BlockSize"     ""
    "CH_HIQ_BACKUP"     0     1     "CompressionMethod"     "gzip"
    "CH_HIQ_BACKUP"     0     1     "PrivateKey"     ""
    "CH_HIQ_BACKUP"     0     1     "PublicKey"     ""
    "CH_HIQ_TAIFUN_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_KENAN_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_ICONX_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_RAW_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/FRAUD"
    "CH_HIQ_AUDIT_REJECTED_ENCODER"     1     0     "OutputDescriptionFileName"     "rejected_to_audit_description.xml"
    "CH_HIQ_KENAN_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_KENAN_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_KENAN_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_OTF01A_COLLECTOR"     0     1     "OnlyCollectFilesOlderThan"     ""
    "CH_HIQ_BACKUP"     0     1     "BehaviourOnError"     "Abort"
    "CH_HIQ_BACKUP"     0     1     "FlagFileSuffix"     ""
    "CH_HIQ_BACKUP"     0     1     "InputLinkDirectories"     "Yes"
    "CH_HIQ_BACKUP"     0     1     "Port"     ""
    "CH_HIQ_BACKUP"     0     1     "RemoteSuffix"     ""
    "CH_HIQ_BACKUP"     0     1     "Ruleset"     "backup.pm"
    "CH_HIQ_FRAUD_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/ICONX"
    "CH_HIQ_DWH_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_VALIDATION"     1     0     "MigrationCutOffDate"     "20100924000000"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_RAW_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_KENAN_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_KENAN_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_KENAN_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_DWH_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_HU_TOOL_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_BACKUP"     0     1     "RemotePrefix"     ""
    "CH_HIQ_BACKUP"     0     1     "SourceIdDirectories"     "no"
    "CH_HIQ_BACKUP"     0     1     "TransferProtocol"     "Local"
    "CH_HIQ_BACKUP"     0     1     "TransferType"     ""
    "CH_HIQ_R14_DECODER"     0     1     "RejectInvalid"     "1"
    "CH_HIQ_ICONX_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_ICONX_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_ICONX_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_ICONX_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_ICONX_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_DWH_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_RAW_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_HU_TOOL_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_ICONX_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_BACKUP"     0     1     "InputLinksToSubDirectories"     "FILE_VALIDATED=RAW/&SOURCEID"
    "CH_HIQ_BACKUP"     0     1     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/"
    "CH_HIQ_BACKUP"     0     1     "Username"     ""
    "CH_HIQ_R10_DECODER"     0     1     "RejectInvalid"     "1"
    "CH_HIQ_VSSOTF_COLLECTOR"     0     1     "OnlyCollectFilesOlderThan"     ""
    "CH_HIQ_AUDIT_REJECTED_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_DWH_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/TAIFUN"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_RAW_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_RAW_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_RAW_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "SourceIdDirectories"     "yes"
    "CH_HIQ_RAW_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_LOOKUPS"     1     0     "LsAdmin"     "${EventLinkUserHome}/EventLink/lookup_server3/bin/ls_admin"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_KENAN_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/KENAN"
    "CH_HIQ_KENAN_BACKUP"     1     0     "TransferRetryInterval"     ""
    "CH_HIQ_DWH_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_BACKUP"     0     1     "Cipher"     ""
    "CH_HIQ_BACKUP"     0     1     "ConnectionRetryInterval"     ""
    "CH_HIQ_BACKUP"     0     1     "MaximumReconnectionInterval"     ""
    "CH_HIQ_TAIFUN_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_GLB01A_COLLECTOR"     0     1     "OnlyCollectFilesOlderThan"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_ICONX_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_ICONX_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_DWH_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/AUDIT_REJECTED"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "MaxDays"     "0"
    "CH_HIQ_RAW_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/RAW"
    "CH_HIQ_RAW_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "OriginalFilenameMask"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_VSSBRN_COLLECTOR"     0     1     "OnlyCollectFilesOlderThan"     ""
    "CH_HIQ_BACKUP"     0     1     "DestinationHost"     ""
    "CH_HIQ_BACKUP"     0     1     "Password"     ""
    "CH_HIQ_BACKUP"     0     1     "TransferMode"     ""
    "CH_HIQ_BACKUP"     0     1     "TransferRetryCount"     ""
    "CH_HIQ_R10_DECODER"     0     1     "EscapeWithBackslash"     "0"
    "CH_HIQ_FRAUD_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_DWH_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "PrivateKey"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_DWH_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "DailyDirectories"     "no"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_RAW_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "PublicKey"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "TransferType"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "BlockSize"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Ruleset"     "backup.pm"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TransferRetryCount"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "Username"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "Password"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_KENAN_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_BACKUP"     0     1     "ExternalCommand"     ""
    "CH_HIQ_BACKUP"     0     1     "Kex"     ""
    "CH_HIQ_BACKUP"     0     1     "MaxDays"     "0"
    "CH_HIQ_BACKUP"     0     1     "MaxFiles"     "0"
    "CH_HIQ_BACKUP"     0     1     "OriginalFilenameMask"     ""
    "CH_HIQ_BACKUP"     0     1     "RemoteOS"     ""
    "CH_HIQ_BACKUP"     0     1     "TempSuffix"     ""
    "CH_HIQ_AUDIT_REJECTED_ENCODER"     0     1     "OutputDescriptionFileName"     "telephony.xml"
    "CH_HIQ_PRIMECARRIER_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_R14_DECODER"     0     1     "EscapeWithBackslash"     "0"
    "CH_HIQ_R14_DECODER"     0     1     "PercentOfRejectedRecordsAllowed"     ""
    "CH_HIQ_AUDIT_REJECTED_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "FlagFileSuffix"     ""
    "CH_HIQ_ICONX_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_DWH_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_DWH_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/DWH"
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Cipher"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Kex"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "MaximumReconnectionInterval"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_AUDIT_REJECTED_BACKUP"     1     0     "RemoteOS"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "CompressionMethod"     "gzip"
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "ExternalCommand"     ""
    "CH_HIQ_TAIFUN_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "BehaviourOnError"     "Abort"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Compression"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "ConnectionRetryCount"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "ConnectionRetryInterval"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "DestinationHost"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "RemotePrefix"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "SourceIdDirectories"     "no"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TargetDirectory"     "/backup/BACKUP_EL603/UPCCH_HIQ/PRIMECARRIER"
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TempDirectory"     ""
    "CH_HIQ_PRIMECARRIER_BACKUP"     1     0     "TransferMode"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "Port"     ""
    "CH_HIQ_RAW_BACKUP"     1     0     "RemoteSuffix"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "MaxFiles"     "0"
    "CH_HIQ_FRAUD_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TempSuffix"     ""
    "CH_HIQ_FRAUD_BACKUP"     1     0     "TransferProtocol"     "Local"
    "CH_HIQ_KENAN_BACKUP"     1     0     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_ICONX_DISTRIBUTOR"     0     1     "Subdirectory"     ""
    "CH_HIQ_BACKUP"     0     1     "Compression"     ""
    "CH_HIQ_BACKUP"     0     1     "ConnectionEstablishmentTimeout"     ""
    "CH_HIQ_BACKUP"     0     1     "ConnectionRetryCount"     ""
    "CH_HIQ_BACKUP"     0     1     "DailyDirectories"     "no"
    "CH_HIQ_BACKUP"     0     1     "MaximumSustainedNetworkDowntime"     ""
    "CH_HIQ_BACKUP"     0     1     "TempDirectory"     ""
    "CH_HIQ_BACKUP"     0     1     "TransferRetryInterval"     ""
    "CH_HIQ_PRIMECARRIER_DISTRIBUTOR"     0     1     "OutputFileNameExtractionMask"     ""
    "CH_HIQ_R10_DECODER"     0     1     "PercentOfRejectedRecordsAllowed"     ""
    "CH_HIQ_KENAN_DISTRIBUTOR"     0     1     "Subdirectory"     ""

  • Urgent - ORA-06502 numeric or value error in Complex SQL Join

    I am having trouble with a tricky bit of code.
    I have a complex join query which uses reference cursors.
    type search_cursor is ref cursor;
    c_result search_cursor;
    cursor c_result1 is
    select chemicals.*,buildings.building_name,msds.msds,chemical_ras.ra from chemicals,msds,chemical_ras,buildings;
    cv_result c_result1%rowtype;
    pv_query := 'select chemicals.*,buildings.building_name,msds.msds,chemical_ras.ra from
    chem_location_join
    right join room_permissions on chem_location_join.room_id = room_permissions.room_id
    inner join chemicals on chemicals.chemical_id = chem_location_join.chem_id
    inner join cupboards on cupboards.cupboard_id=chem_location_join.cupboard_id
    inner join rooms on rooms.room_id=chem_location_join.room_id
    inner join buildings on buildings.building_id=chem_location_join.building_id
    inner join csr on chemicals.chemical_id=csr.chemical_id
    left join msds on msds.csr_id = csr.csr_id
    left join chemical_ras on csr.csr_id= chemical_ras.csr_id
    where research_group_id = '||pv_research_group_id||' and upper(' || p_search_field || ') LIKE upper(''%' || p_search_entry || '%'') order by chemicals.chemical_name';
    Basically,
    When the italics are left out, the query runs perfectly. However, when it is put in, it returns the ORA-06502 numeric or value error.
    I have run the query in SQL using values in the where clause and it works perfectly. When i replace buildings with other similar elements, i.e. cupboard, room the query returns a similar error.
    Sorry if this seems hard to understand, if you need more clarification please reply.
    Many Thanks,
    Simon
    Message was edited by:
    SimonHollingsworth

    no but that shouldn't matter because all that cursor is doing is setting the variable cv_result equal to the same %rowtype, the where clause shouldn't be relevant. in any case I don't have a where clause when the italic bit is left out and it still works fine

  • ORA-06502: PL/SQL: numeric or value error: character to number conversion

    Hello,
    I am new to Oracle Apex so I decided to read and do the tutorials that are on the apex.oracle.com site.
    Now I am at the tutorial 6: How to Work with Check Boxes of the Advanced Tutorials.
    At a certain point you have to add a new radio button.
    At the Item Source Value you have to add SELECT 'Y' FROM DUAL WHERE :P2_LIST_PRICE*0.75=:P2_MIN_PRICE.
    But when I try to create the item, I keep getting the following error:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Error creating item.
    Does anybody know what could be the problem.
    Thanks in advance.

    CREATE OR REPLACE PROCEDURE xxbb_query (
    p_branch_code XXBOB_HRMS_APPRAISALS_DATA.Branch_code%TYPE,
    p_PERIOD_NAME XXBOB_HRMS_APPRAISALS_DATA.PERIOD_NAME%TYPE
    IS
    emp_refcur SYS_REFCURSOR;
    v_deposits XXBOB_HRMS_APPRAISALS_DATA.deposits%TYPE :=0;
    v_branch_code XXBOB_HRMS_APPRAISALS_DATA.branch_code%TYPE:=0;
    p_query_string VARCHAR2(500);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Hello' || ' ' || '...');
    p_query_string := 'SELECT Avg(deposits) Dep,branch_code  FROM XXBOB_HRMS_APPRAISALS_DATA WHERE ' ||
    *' Branch_code = :branch_code '||*
    *' AND PERIOD_NAME = SubStr( :PERIOD_NAME ,1,4))||(SubStr( :PERIOD_NAME ,InStr( :PERIOD_NAME ,'-',1,1)+3,5)) ' ||*
    *' group BY SubStr(PERIOD_NAME,5),BRANCH_CODE ';*
    DBMS_OUTPUT.PUT_LINE('Hi' || ' ' || '...');
    OPEN emp_refcur
    FOR p_query_string USING p_branch_code,v_p_PERIOD_NAME,v_p_PERIOD_NAME,v_p_PERIOD_NAME;
    -- DBMS_OUTPUT.PUT_LINE('----- -------');
    Here I m passing a string variable to pass the select statement for the ref cursor.
    There seems some problem in the substr conversion in the statement.
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    But when i run as a independent staement passing real values in the place of placeholders
    i get the result right.
    The *:PERIOD_NAME* format is *'Jan-2009-10'* .
    And I need to pass the *:PERIOD_NAME* to the query as *'Jan-09-10'*
    Pls suggest.
    Edited by: user7391361 on Jul 23, 2009 8:28 AM

  • LOV - PL/SQL: numeric or value error: character string buffer too small

    I have a field set to 'text field with autocomplete' and now that the data that is used for the LOV has increased dramatically it returns the following error 'ORA-06502: PL/SQL: numeric or value error: character string buffer too small'. Through trial and error I determined that if I restricted the number of rows returned using rownum < nnn then it would work. I then determined that I could use the trim and substring functions and remove the rownum restriction and it would work. Below is the LOV query. I have seen a couple of other posts similar to my problem and one of them asked if there was a way to increase the buffer size, but it was never answered. Is there a way, such as a parameter setting, that I could increase the buffer size for LOVs?
    select distinct substr(trim(item_requested),1,50) d
    from consolidated_components
    order by 1
    Thank you.

    Hi Scott
    Thanks very much for jumping in here.
    No, I didn't use the wizard to create the page. It was a manual operation but to tell you the truth the page has been changed so many times as I was working on different functionality and appearance that anything could have happened. I ended up having to manually create row processing processes and delete other processes, creating and hiding buttons, changing the way I'm passing item values, etc. I realize regardless of what I do as a developer the software should be able to handle all changes through it's interface but I've been in this business long enough to be realistic.
    I also could have done something blatantly stupid as I continue to learn this product. For those of us not yet totally comfortable with all the web development technology, Javascript, AJAX, etc., but are asked to develop applications that work best using those technologies sometimes we make elementary blunders.
    Thanks very much for your help. It is indeed appreciated.
    -gary

Maybe you are looking for

  • Connecting to an xbox 360

    I've been driving myself crazy this afternoon, trying to get my xbox 360 to connect to the internet via my Airport Express. I know it can be done, at least with an Extreme (in b/g only mode), because I used to have it hooked up to my old roommates se

  • Firefox 3.6.10 doesn't recognise that bbc iplayer is installed yet opera does

    I tried repeatedly to install BBC iplayer on linux ubuntu 10.04 using FF but it always failed. Then I installed it thru opera and it works fine thru opera. However on FF when I try to download a program it sends me to the install page where it either

  • Preorder not downloading

    Received notice that I can now download my preordered book.  It won't download  can't buy the book either--only the sample.

  • Failure to play/recognise Flash Player

    hi, ok, my flash player is not playing. For example on sites such as youtube.com when trying to play content I get a message appear in place of the video window that say: "Hello, you either have JavaScript turned off or an old version of Macromedia's

  • 5.1 Universal and JVC-HD100

    Does the 5.1 crossgrade from final cut studio 5.0.4 fix the problems with capture using the JVC HD-100? I hear at NAB that they were demonstrating the 24p capture with the HD-100 and that it was a 5.1 version. Is this the same version or an update to