Error Message - ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Trunc

This is driving me nuts!
I am getting this error from OWB during a mapping process.
I have checked the input data and it looks fine.
The run time audit browser just lists all of the steps but does not make it clear which one failed. Is it the last one which is shown (does not have HIDE as selection link.)
I also tried to determine which row was causing the problem and followed the instructions at http://www.nicholasgoodman.com/bt/blog/2005/07/, but no row_id was recorded in the views. In actual fact there wasn't very much audit info other than that the mapping ran and was complete (even though it failed).
In the error message section it has, in order
Map Step - blank
Rowkey - 35204435256
Severity - X
Error Message - ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Object Name - N/A
Object Column - *
From the PL/SQL error I thought it may be trying to insert into a data field that was too small, but all of the columns that are used are full of data of length shorter than all of the target tables.
I have even started running the cursors in the generated PLSQL but I don't get the error by doing this.
Thanks in advance for any tips at all.

Thanks for the response.
I managed to work it out and it had to do with the selection criteria of one of the filters.
For anyone else facing this error, check to see if any of the rows being inserted has the same key/identifier as some existing in the target table. If so add an extra condition to the where clause.
This worked for me.

Similar Messages

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

    HI All,
    I am facing the following issue and looking forward for help to find the cause.
    We are converting PDF documents in our repository to HTML using Oracle API
    ctx_doc.ifilter (v_datablob, v_dataclob);
    a highly simplified version of our code will be something like this..
    1) Create table to store the BLOB(Binary PDF documents)
    create table tbl_pdf_store(pdf_doc blob);
    2) Insert a row and store a PDF.
    3) Convert the PDF into HTML and store it in a CLOB object..
    DECLARE
    v_datablob BLOB;
    v_dataclob CLOB;
    BEGIN
    --Create temporary clob objects
    DBMS_LOB.createtemporary (v_dataclob, TRUE, DBMS_LOB.SESSION);
    DBMS_LOB.createtemporary (v_datablob, TRUE, DBMS_LOB.SESSION);
    --get the pdf to be converted from store table
    SELECT pdf_doc
    INTO v_datablob
    FROM tbl_pdf_store
    WHERE rownum < 1;
         --convert the BLOB to HTML and store it in CLOB
         ctx_doc.ifilter (v_datablob, v_dataclob);
    exception
         when others then
         dbms_output.put_line(sqlerrm||' - '||sqlcode);
    end;
    Now the issue I am facing is, the above code works fine for few documents and for few others I get this cryptic error message
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "CTXSYS.DRUE", line 180
    ORA-06512: at "CTXSYS.CTX_DOC", line 1142
    ORA-06502: PL/SQL: numeric or value error - -6502
    I cant reproduce the exact code here, but if anyone had faced the similar issue, then it would be great if they help me out.
    thanks,
    Prashant

    > Billy, its not just plain wrong its a sin :). "When
    others" should itself be avoided if possible(it just
    shows you don't know what error can occur). In the
    actual code, we are using separate package to handle
    and log errors. Here it was just for simplification I
    added that putline code.
    Phew.. You had me worried there... :-)
    > I ran my procedure in debug mode and it throws this
    exception when its executing the Oracle API
    ctx_doc.ifilter
    And there is very little you can do debugging that, as that source code is encoded (wrapped).
    Which means that unfortunately you have to treat that code as a black box and investigate the bug with respects to:
    a) the "environment" from which the call is made (ito of session settings, the sequence of calls made, etc)
    b) the data and parameters passed
    > this is not the case with all the PDFs..I was able to
    convert more than 11 thousand documents without any
    issues. I have this for only few hundred documents.
    This would seem to point to a bug in Oracle's CTX conversion/filter code. Maybe those PDFs are a newer version and is not correctly supported. Maybe they're an older version that is not supported.
    Which is why I said you need to isolate the error. Determine which PDFs are failing. Create a test harness (simplified code as you've posted) to perform a conversion (and nothing else).
    Determine which PDFs fail and which works. Look at the differences between PDFs. E.g. can those problem PDFs be opened with different Acrobat Reader version - or do some of them fail?
    > Another issue is I cannot view the content of the
    these documents to check if anything is different :(.
    You can with Acrobat Reader.. right?
    > so no sure how to go from here...is there a
    printstack method in Oracle 9i(similar to 10g I
    guess) which can give me more information as I am
    currently lost and not sure where to look.
    Dumping the stack will not be of much help. In fact, the error message sequence you pasted already show the call sequence. And as these are in Oracle PL/SQL code, there is nothing really you can do about it.
    My suggestion is to
    a) isolate the error
    b) consult the manual(s) to ensure that the Oracle PL/SQL s/w is used correctly
    c) determine if this is data related (e.g. different PDF versions for example)
    d) log a SR (Service Request) with Oracle Support
    The more you can do ito of (a) - (c), the better the chance for finding the root cause, and the quicker resolution when you have no choice but to do (d).

  • ORA-06502: PL/SQL: numeric or value error : Not able to run a script

    Hi All,
    I want to run a script like this:
    DECLARE
    I_so_status_dtl     RIB_SOStatusDtl_REC;
    BEGIN
    I_so_status_dtl := RIB_SOStatusDtl_REC('0'     --Cust Order No
                   ,'1000000014'     --Dest ID
                   ,'100010222'     --Item ID
                   ,1          --Order Line Number
                   ,1          --Unit Quantity
                   ,'R'          --Status
                   ,'RMS12DEV'     --User ID
                   ,'06-May-2001'     --Updated Date
    End;
    I am trying to run this script. Actually this script is supposed to generate an XML message, which I require. Here's the definition for the TYPE RIB_SOStatusDtl_REC:
    create or replace TYPE RIB_SOStatusDtl_REC UNDER RIB_OBJECT (
         cust_order_nbr     VARCHAR2(10),
         dest_id     VARCHAR2(10),
         item_id     VARCHAR2(25),
         order_line_nbr     NUMBER(3),
         unit_qty     NUMBER(12,4),
         status     VARCHAR2(2),
         user_id     VARCHAR2(10),
    updated_date DATE,
         overriding member procedure appendNodeValues( i_prefix in varchar2)
    ,constructor function RIB_SOStatusDtl_REC (rib_oid number, cust_order_nbr VARCHAR2, dest_id VARCHAR2, item_id VARCHAR2, order_line_nbr NUMBER, unit_qty NUMBER, status VARCHAR2) return self as result
    ,constructor function RIB_SOStatusDtl_REC (rib_oid number, cust_order_nbr VARCHAR2, dest_id VARCHAR2, item_id VARCHAR2, order_line_nbr NUMBER, unit_qty NUMBER, status VARCHAR2, user_id VARCHAR2) return self as result
    This TYPE has a body which actually generates an XML message.
    But whenever I am trying to run this, I am getting the following message:
    Error report:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 6
    06502. 00000 - "PL/SQL: numeric or value error%s"
    *Cause:   
    *Action:
    Therefore I am not able to run the following script. Here I am passing hard coded value within the TYPE, as I have run similar kind of scripts, which accepts this and creates an xml message. Can anyone help me what's the wrong with this script?
    Thanks & Regards,
    Debabrata

    Hi,
    Create one constructor same as with 8 parameters as you have constructor for only 7 and 8 9 parameters.
    Regards
    RK

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

  • TextArea : ORA-06502: PL/SQL: numeric or value error (WWV-16016)

    Was trying to use a TextArea in a form to submit some text to a procedure. Found that the text limit seems to be around 1700 bytes. If there is more text in the form I get the following error message:
    Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    The procedure that i recieveing the form is listed below:
    procedure test
    p_str in varchar2
    as
    begin
    htp.p(p_str);
    end;
    Was expecting to be able to submit up to 32k of text using the TextArea this way.
    Has anyone else run into this problem?
    Is this a bug? Workaround???????
    We really need to be able to submit at least 4k!

    As a workaround,
    1> you can create a table with varchar2(4000)
    2> build a form on it and insert the data in the table
    3> create a procedure to select the data from the table and publish it using htp.p(...)
    4> call this procedure using go/call from the OnSuccess section
    NOTE: you need to grant execute priv. on this procedure to <portal_schema>_PUBLIC db user                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • "ORA-06502: PL/SQL: numeric or value error" while loading CLOBS

    Hi,
    I am trying to display a string of characters(abt 250 kb), stored as a CLOB in oracle database on HTML DB page. I get the following error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Can anybody please help ? Is this a known bug in HTML DB ?
    Thanks,
    Aswath

    Hi Marc,
    I tried the following snippet of code
    declare s clob;
    begin
    select <value> into s from <table> where <conditions>
    htp.p(s);
    end;
    where value is stored as a 'CLOB' in <table>.
    It errors out with teh following message "ORA-06502: PL/SQL: numeric or value error "
    However if I select a shorter string/ number into s, it seems to work. You have any idea, why thie behavious happens
    Thanks,
    Aswath

  • 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

  • ORA-06502: PL/SQL: numeric or value error:  Only in APEX

    I have a routine that works well in SQL Plus and Toad.
    begin
    XXXXXX.process_message(1);
    end;
    Now when I call it via APEX on a submit of a button, it comes back with an error.
    "ORA-06502: PL/SQL: numeric or value error: character to number Error"
    Any pointers to what might because this only in APEX and not on toad.
    Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Prod
    PL/SQL Release 10.1.0.5.0 - Production
    CORE 10.1.0.5.0 Production
    TNS for Linux: Version 10.1.0.5.0 - Production
    NLSRTL Version 10.1.0.5.0 - Production
    ----------------

    I have updated my profile. I am a development lead at Dell.
    The procedure I am calling is calling create service request pub, update service request up.
    It is just a wrapper around the all these API's and invoking it from APEX on insert of certain values.
    The problem is , this wrapper API works fine with SQL Plus/ TOAD and not via APEX.
    I cannot replicate the error in APEX.oracle.com because it is calling custom ebiz code in our 11.5.10 instance.

  • ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bink

    I have a map which worked fine in 10.2.0.1. The same map in 11.2.0.2 is giving me the error:
    'ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bink.'
    I have one source and one target. This is a straight load, no transformations.
    While debugging the map I have noticed the culprit is one column in the source which is varchar2(30),
    I have the target column with the same varchar2(30), and I tried increasing the size of
    the target column but i keep getting the same error. While searching the forum someone suggested
    to change the configuration of code generation options and runtime parameters to set based.
    But strangely it gave me an error because the set based option is not availabe in the new 11.2.0.2.
    Should the set based option be available in this version. Please suggest on how i could resolve the
    error of 'ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bink.' Thank you.

    Hi there,
    Following is the description of the error, you are getting.
    ORA-06502:VALUE_ERROR
    An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when your program selects a column value into a character variable, if the value is longer than the declared length of the variable, PL/SQL aborts the assignment and raises VALUE_ERROR. In procedural statements, VALUE_ERROR is raised if the conversion of a character string into a number fails. (In SQL statements, INVALID_NUMBER is raised.)
    Hopefully this will help.

  • ORA-06502: PL/SQL: numeric or value error: raw variable length too long

    Hi All,
    Oracle 9.2.0.1.0 and Oracle 10g.
    I the following procedure:
    CREATE OR REPLACE TYPE Resource_TT AS TABLE OF RAW(16)
    CREATE OR REPLACE PROCEDURE GET_ROLEMAPPING_Temp
    RoleIds IN NVARCHAR2 DEFAULT NULL ,
    Application IN NVARCHAR2 DEFAULT NULL ,
    MappingExixts OUT NVARCHAR2
    AS
         v_Application NVARCHAR2(150) := Application;
         resource_list CONSTANT Resource_TT := Resource_TT(RoleIds);
         v_temp NUMBER(1, 0) := 0;
    BEGIN
         SELECT 1 INTO v_temp
    FROM DUAL
    WHERE EXISTS ( SELECT SecurityGroupId
    FROM SKESGResourceMapping
    WHERE APPLICATION = v_Application
    AND RoleId IN                
                                                      select column_value
                                                      from table(resource_list)
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    MappingExixts := 'NO';
    END;
    IF v_temp = 1 THEN
    MappingExixts := 'YES';
         END IF;
    END;
    while calling the procedure from sql*plus, the calling block is :
    variable MappingExixts nvarchar2(100);
    execute Get_RoleMapping_Temp('2f90e7969e0a9045aeb5b5ed7b3da9d6,363aef470e10094281e5040627e3b6f8', 'repo1', :MappingExixts);
    print MappingExixts;
    It is throwing an error saying:
    ORA-06502: PL/SQL: numeric or value error: raw variable length too long
    ORA-06512: at "ORACLE1.GET_ROLEMAPPING_TEMP", line 8
    Thanks for your valuable time and suggestions

    Hi Binoy,
    Thanks for your quick response, I increased its size to 200, but I am getting the following error
    ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error
    ORA-06512: at "ORACLE1.GET_ROLEMAPPING_TEMP", line 8

  • Erreur : ORA-06502: PL/SQL: numeric or value error: character string buffer too small

    Hi there...
    I'm sugin 9Iasv2 Portal.
    When i clik on the "approbations" tab in the parameters of a page, i always get this error :
    Erreur : ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Could you please help me ?
    regards
    Arnaud

    Please report this problem to Oracle Support.

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

    The oracle application express environment is created by installing the HTTP Server on the windows server and the application express 3.2.1 components on the 11.1.0.7 oracle database on UNIX. The installation is successfully and have not seen any issues during the installation. After completing all the steps, when tried to login and click the application builder or workspace components, I see the error message
    report error:ORA-06502: PL/SQL: numeric or value error: character to number.
    This error message is seen on most of the pages when trying to accessed and not able to understand the reasons behind it. Its a brand new environment setup and not even presented to developers to test it.
    Below error message is always seen when trying to access most of the components like application builder, schema comparison and some other tabs. Please advice
    report error:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Edited by: user589320 on Jun 9, 2011 5:17 PM

    I think its better you use APEX 4.x version ratherthan using old version.
    You will get more features and some bug fixes and also it's easy for you to get some help when you need.
    * If this answer is helpfull or correct then please mark it and grant the points.

  • Report error: ORA-06502: PL/SQL: numeric or value error: NULL index table k

    Hi everybody,
    I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
    When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
    But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
    Thank you for your interest?
    Gökhan ÇATALKAYA

    No, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    Scott

  • 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

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

Maybe you are looking for