ORA-06502: PL/SQL: numeric or value error ORA-06512: at "SYS.OWA_UTIL"
Was working on tutorial from the:
Oracle Database Express Edition 2 Day Plus Application Express Developer Guide
Working on the section 4: How to Control Form Layout.
Ran into a problem trying to compile the Create HT-EMP Table script.
keep getting this error for this particular segment creating the bu_ht_emp trigger:
pp. 4-2 and 4-3
CREATE OR REPLACE TRIGGER bi_ht_emp
BEFORE INSERT ON ht_emp
FOR EACH ROW
BEGIN
SELECT ht_emp_seq.nextval
INTO :new.emp_id
FROM DUAL;
:new.rec_create_date := SYSDATE;
END;
ORA-06502: PL/SQL: numeric or value error ORA-06512: at "SYS.OWA_UTIL", line 354....etc
I've check the syntax for the entire script and it all checks out. Does anyone have a clue why this is failing?
If I'm looking at the same DDL, not seeing where it would throw an owa_util error, are you running it in the apex script editor?
Just plain sqlplus doesn't like the empty line stuck in with the list of check constraints on the emp_dept column, after fixing that up (and dropping the sequence that got created on the first pass) the DDL and insert runs fine-
Similar Messages
-
ORA-06502: PL/SQL: numeric or value error ORA-06512: at "package.proc
Hi,
I'm getting the following error , when calling a procedure. Any input appreciated please
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "package.procedure ", line 513
ORA-06512: at line 26
v_counter NUMBER;
v_counter := 0; -- line number 513
FOR i in p_rec_attr.FIRST..p_rec_attr.LAST
LOOP
--IF instr(p_rec_attr(i),'=')<>0 THEN
IF v_counter = 0 THEN
soap_request := soap_request||'<doc:attributes>
<!--Zero or more repetitions:-->
<doc:CategoryAttributeVO>
<!--Optional:-->
<doc:name>'||substr(p_rec_attr(i),1,instr(p_rec_attr(i),'=')-1)||'</doc:name>
<!--Optional:-->
<doc:value>'||substr(p_rec_attr(i),instr(p_rec_attr(i),'=')+1)||'</doc:value>
</doc:CategoryAttributeVO>';
v_counter := v_counter + 1;
ELSE
IF i=p_rec_attr.last THEN
v_category_name := p_rec_attr(i);
soap_request := soap_request||'
</doc:attributes>
<!--Optional:-->
<doc:name>'||v_category_name||'</doc:name>';
v_counter := 0;
ELSE
soap_request := soap_request||'
<!--Zero or more repetitions:-->
<doc:CategoryAttributeVO>
<!--Optional:-->
<doc:name>'||substr(p_rec_attr(i),1,instr(p_rec_attr(i),'=')-1)||'</doc:name>
<!--Optional:-->
<doc:value>'||substr(p_rec_attr(i),instr(p_rec_attr(i),'=')+1)||'</doc:value>
</doc:CategoryAttributeVO>';
v_counter := v_counter + 1;
END IF;
END IF;
--ELSE
--END IF;
END LOOP;
ThanksHi
I tried this which is :
create or replace
procedure test is
v_counter NUMBER;
begin
v_counter := 0; -- line number 513
FOR i in 1..10
LOOP
--IF instr(p_rec_attr(i),'=')0 THEN
IF v_counter = 0 THEN
v_counter := v_counter + 1;
ELSE
IF i=9 THEN
v_counter := 0;
ELSE
v_counter := v_counter + 1;
END IF;
END IF;
END LOOP;
end;
Which does ot throw any error...I think it is being generated from somewhere else -
ORA-06502 PL/SQL: numeric or value error ORA-06512 when calling a procedure
Hi,
I have been using ODP.net for a while now and have been calling lots of procedures without issue, however today I put together one to insert key, value parameters into a simple table and it is failing on me Intermittently with the ORA-06502... I have checked the code and I do not see any problems and am thoroughly frustrated... When I call the procedure directly it all works perfectly so the problem is not in the db!
Please can you help? Code follows:
Table defined as:
CREATE TABLE REPORT_REQUEST_PARAMETERS
( REQUEST_ID NUMBER,
PARAM_NAME VARCHAR2(50 BYTE),
PARAM_VALUE VARCHAR2(255 BYTE)
Stored procedure defined as:
create or replace PROCEDURE SP_WRITE_REQUEST_PARAMS
( in_request_id number, in_param_name char, in_param_value char )
AS
BEGIN
INSERT INTO REPORT_REQUEST_PARAMETERS ( REQUEST_ID, PARAM_NAME, PARAM_VALUE )
VALUES
( in_request_id, in_param_name, in_param_value );
END SP_WRITE_REQUEST_PARAMS;
Finally the ODP.net code which calls this looks like:
using (OracleConnection connection = new OracleConnection(...blah...))
using (OracleCommand command = connection.CreateCommand())
command.CommandType = CommandType.StoredProcedure;
command.CommandText = "SP_WRITE_REQUEST_PARAMS";
OracleParameter p1 = new OracleParameter("in_request_id", OracleDbType.Int32);
OracleParameter p2 = new OracleParameter("in_param_name", OracleDbType.Char);
OracleParameter p3 = new OracleParameter("in_param_value", OracleDbType.Char);
p1.Direction = ParameterDirection.Input;
p1.Value = requestId;
p2.Direction = ParameterDirection.Input;
p2.Size = paramName.Length;
p2.Value = paramName;
p3.Direction = ParameterDirection.Input;
p3.Size = paramValue.Length;
p3.Value = paramValue;
command.Parameters.Add(p1);
command.Parameters.Add(p2);
command.Parameters.Add(p3);
connection.Open();
command.ExecuteNonQuery();
connection.Close();
}What version of database? If it's 9206 this is a known database problem, and should be resolved by patching the database to 9208. I don't have the bug number handy though.
Simply because it succeeded in sqlplus doesnt mean it's not a database problem, as the problem was intermittent and succeeded from odp sometimes too.
Thanks
Greg -
Hi,
I have a variable l_body in my pl/sql code with varchar2(32767).
it displays max. 44 lines, more than 44 lines it gives buffer size error.
if I use clob data type then it gives value or numeric erro on more than 44 lines.
code is below
regards
l_clob CLOB;
l_body varchar2(32767);
BEGIN
Dbms_lob.CreateTemporary(l_clob,TRUE);
l_body := null;
l_body := '<Html>';
l_body := l_body||'<Body>';
-- l_body := l_body||'<Font Face="Verdana, Arial, Helvetica" Color="#000000">';
-- l_body := l_body||'<BR> <BR> <BR>' || l_str || '<Br>';
l_body := l_body||'<BR> ' || 'Please note that Receipt Number <B> '|| Trans_Id || ' with amount: ' || trim(to_char(total_amount,'999G999G999G999D99')) ||'</B> has been sent to you for approval. Detail is given below:' || '<Br> <BR> ';
l_body := l_body||'</Table><Br><Br>';
l_body := l_body||'<Table Border=1">';
-- l_body := l_body||'<Tr Bgcolor=rgb(0,154,61)>';
l_body := l_body||'<Tr Bgcolor=rgb(162,202,230)>';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Date';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Vendor Name';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>PO Number';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Release Number';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Line';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Item Description';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Quantity';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Unit';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>PO Unit Price';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Currency';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Amount';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Code Combination';
l_body := l_body||'</Tr>';
FOR x IN C LOOP
l_body := l_body||'<Tr>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.transaction_date||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.vendor_name||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.po_number||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.release_num||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.line_num||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.item_description||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=right>'||x.quantity||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.unit_of_measure||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=right>'||x.po_unit_price||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.currency_code||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=right>'||x.amount||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.cc||'</Td>';
l_body := l_body||'</Tr>';
END LOOP;
l_body := l_body||'</Table><Br><Br>';
l_body := l_body||'</Body>'||CHR(10);
l_body := l_body||'</Html>'||CHR(10);
dbms_lob.writeappend(l_clob,LENGTH(l_body),l_body);
RETURN L_Clob;
END Format_Notification_Msg;The maximum size allowed for l_body is 32767 which as varchar2(32767)
Even though CLOB does not have size limit, as you are storing the actual data in 'l_body', it throws the error when the 'l_body' increases 32767 characters.
Call the dbms_lob.writeappend() API in the for loop and nullify l_body after the API call, so that the 'l_body' will not go beyond the specified limit. -
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 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" "" -
Hi,
I am tring to configure upstream replication. I have done reqired configurations of creating stream admin, db link at both source and target. Gettiing following error when i execute folli\owing script.
Script:
========================================================
BEGIN
DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS(
schema_names => 'TEST1',
source_database => 'BASE51.REGRESS.RDBMS.DEV.US.ORACLE.COM',
source_directory_object => 'STREAMS_DIR',
destination_database => 'ORCL.LOCALDOMAIN',
destination_directory_object => 'STREAMS_DIR',
include_ddl => TRUE
END;
Error:
==============================================
BEGIN
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2963
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 6338
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7524
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2624
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2685
ORA-06512: at line 2
I am unable to find the root cause for above error.
Following are entires created for additional information:
> select script_id,status from DBA_RECOVERABLE_SCRIPT ;
Script ID Status
B4BED3FE81B255EEE040007F01003A84 GENERATING
select * from dba_recoverable_script_errors;no rows selected
select * from DBA_RECOVERABLE_SCRIPT_BLOCKS;no rows selected
Let me know if you need any more info which could helpAny help would be appreciated. Experts please guide me.
-
Problem with error ORA-06502: PL/SQL: numeric or value error string
Hi,
I am running a loop to just spool output data using 'dbms_output.put_line' and I keep getting this error after a few records. I resorted it and it happen at a different interval. Could it have to do with the length of the item I am trying to spool? Thanks.
ORA-06502: PL/SQL: numeric or value error stringSD wrote:
Hi,
I am running a loop to just spool output data using 'dbms_output.put_line' and I keep getting this error after a few records. I resorted it and it happen at a different interval. Could it have to do with the length of the item I am trying to spool? Thanks.
ORA-06502: PL/SQL: numeric or value error stringyes, it is a data dependent error.
Handle: SD
Status Level: Newbie
Registered: Nov 21, 2001
Total Posts: 289
Total Questions: 189 (183 unresolved)
why do you waste time here when you rarely get your questions answered? -
ORA-06502: PL/SQL: numeric or value error: character string buffer too smal
Hi Guys I am getting error ORA-06502: PL/SQL: numeric or value error: character string buffer too small as it said i thought it would be issue with length of feild but i tried to change is nothihg work i am posing code here if any one can please help me on this
PROCEDURE REPORT
p_rpt_from_dt in varchar2,
p_rpt_to_dt in varchar2,
p_apvr_id in tc_wkr.tc_row_id%type default NULL,
p_rpt_type in varchar2 default NULL,
p_backto_pg in varchar2 default NULL
IS
v_rpt_from_dt date := var_to_date(p_rpt_from_dt);
v_rpt_to_dt date := var_to_date(p_rpt_to_dt);
v_time_str varchar2(15);
cursor period_cur
cp_from_dt date,
cp_to_dt date
is
select beg_dt, end_dt
from jmcs_wk_tprd
where beg_dt <= cp_to_dt -- report end date
and end_dt >= cp_from_dt -- report start date
BEGIN
if sys_security('tcsys', 'tc_reports') != 'GRANTED' then
apps_main.access_denied;
return;
end if;
if lg_debug_fl then
v_time_str := to_char(lg_sysdate, 'hh:mi:ss a.m.');
else
v_time_str := tc_time(lg_sysdate);
end if;
/* get the time card time periods applicable to the report */
lga_tc_strt_dt := lga_null_date;
for recs in period_cur(v_rpt_from_dt, v_rpt_to_dt) loop
lga_tc_strt_dt(lga_tc_strt_dt.count+1) := recs.beg_dt;
lga_tc_end_dt(lga_tc_end_dt.count+1) := recs.end_dt;
end loop;
--if p_apvr_id is NULL then
if p_rpt_type != 'D' then
tc_reporting.reports_header
1,
'Time Card Status Report',
'for '||dd_mon_yyyy(v_rpt_from_dt)||' through '||dd_mon_yyyy(v_rpt_to_dt)||'<BR>'||
'Report Date: '||dd_mon_yyyy(lg_sysdate)||' Time: '||v_time_str,
NULL,
NULL,
NULL,
'javascript:window.close()', /* Backto */
'alert(''Reminder! Click on logo when you are ready to return to previous page'')'
end if;
if p_apvr_id is NULL then
sub_STATUS_BD_ALPHA (v_rpt_from_dt, v_rpt_to_dt, TRUE, p_rpt_type, p_apvr_id);
else
htp.p('<!-- Selected Approver ('||p_apvr_id||') -->');
sub_STATUS_BD_APVR (v_rpt_from_dt, v_rpt_to_dt, p_rpt_type, p_apvr_id);
end if;
htp.p('</body></html>');
EXCEPTION
WHEN OTHERS THEN
error_proc(SQLERRM, SQLCODE, owa_util.get_cgi_env('PATH_INFO'));
htp.p('Error Code is :'||SQLERRM);
END REPORT;
This package in trun call other procedure like below
PROCEDURE sub_STATUS_BD_ALPHA
p_rpt_from_dt in date,
p_rpt_to_dt in date,
p_display_hdr in boolean,
p_rpt_type in varchar2 default 'B',
p_apvr_id in tc_wkr.tc_row_id%type default NULL,
p_tcs_user_id in tc_wkr.tc_row_id%type default NULL
IS
v_time_str varchar2(15);
v_apvr_id tc_wkr.tc_row_id%type := 0;
v_a_user_id tc_wkr.tc_row_id%type; -- approver tcs_user_id
v_cnt integer := 0;
v_people_cnt integer := 0;
v_stat_cd varchar2(2000);
v_display_fl boolean := FALSE;
/*===========================================================================*/
cursor people_cur
cp_from_dt in date,
cp_to_dt in date
is
select
d_full_nm_lfm as name,
tc_row_id as tcs_user_id,
tcw_typ as pay_typ,
tcw_id as pay_id,
sys_strt_date as sys_strt_dt,
sys_end_dt
from tc_wkr
where sys_strt_date <= cp_to_dt
and nvl(sys_end_dt, cp_to_dt) >= cp_from_dt
order by upper(d_full_nm_lfm);
/* find the current or the most recent (if no current) approver */
cursor apvr_cur
cp_tcs_user_id in tc_wkr.tc_row_id%type
is
select
a.f_tc_apvr_id as fk_tcs_apvr_id,
w.d_full_nm_lfm as apvr_name,
w.tcw_typ as apvr_pay_typ,
w.tcw_id as apvr_pay_id,
a.strt_dt,
a.end_dt
from tc_wkr w, tc_ap_asmt a
where a.f_tc_wkr_id = cp_tcs_user_id
and w.tc_row_id = a.f_tc_apvr_id
order by a.strt_dt desc;
/* list of existing time cards UNION required time cards */
cursor tc_cur
cp_tcs_user_id in tc_wkr.tc_row_id%type, /* who's time cards */
cp_from_dt in date, /* report period from date */
cp_to_dt in date /* report period to date */
is
select
stat_cd,
strt_dt,
end_dt
from tc
where strt_dt <= cp_to_dt
and end_dt >= cp_from_dt
and fk_tc_wkrtcw_id = cp_tcs_user_id
UNION
select
'Required' as stat_cd,
beg_dt as strt_dt,
end_dt
from jmcs_wk_tprd
where beg_dt <= cp_to_dt
and end_dt >= cp_from_dt
and beg_dt not in (
select strt_dt
from tc
where strt_dt <= cp_to_dt
and end_dt >= cp_from_dt
and fk_tc_wkrtcw_id = cp_tcs_user_id
order by strt_dt;
BEGIN
if lg_debug_fl then
v_time_str := to_char(lg_sysdate, 'hh:mi:ss a.m.');
else
v_time_str := tc_time(lg_sysdate);
end if;
if p_apvr_id > 0 then
lga_report_out := lga_report_out_null;
v_apvr_id := p_apvr_id;
lga_apvr := lga_apvr_null;
select
d_full_nm_lfm,
tc_row_id,
tcw_id,
tcw_typ
into
lga_apvr(1).apvr_name,
lga_apvr(1).apvr_tcs_id,
lga_apvr(1).apvr_pay_id,
lga_apvr(1).apvr_pay_typ
from tc_wkr
where tc_row_id = v_apvr_id;
if lga_apvr(1).apvr_pay_typ != 'S' then
select decode(bend_empl_fl, 'Y', 'E', 'W')
into lga_apvr(1).apvr_pay_typ
from empl
where empl_id = lga_apvr(1).apvr_pay_id;
end if;
end if;
if p_display_hdr then
if lga_tc_strt_dt.count > 6 then /* more than 6 time periods (1 month) */
lga_width(1) := to_char(.15 * lg_page_width_standard);
lga_width(2) := to_char(.08 * lg_page_width_standard);
for i in 1..lga_tc_strt_dt.count loop
lga_width(lga_width.count+1) := to_char(.09 * lg_page_width_standard);
end loop;
lg_page_width_standard := to_number(lga_width(1)) + to_number(lga_width(2));
if nvl(p_apvr_id, 0) = 0 then
lg_page_width_standard := lg_page_width_standard * 2;
end if;
htp.p('<!-- page width = '||lg_page_width_standard||'-->');
for i in 3..lga_width.count loop
lg_page_width_standard := lg_page_width_standard + to_number(lga_width(i));
htp.p('<!-- page width = '||lg_page_width_standard||'-->');
end loop;
lg_page_width := to_char(lg_page_width_standard);
else
lga_width(1) := '15%';
lga_width(2) := '8%';
lga_width(3) := '9%';
lga_width(4) := '9%';
lga_width(5) := '9%';
lga_width(6) := '9%';
lga_width(7) := '9%';
lga_width(8) := '9%';
end if;
sub_DETAIL_PAGE_HD(p_apvr_id);
end if;
/* cursor loop */
for p in people_cur(p_rpt_from_dt, p_rpt_to_dt) loop
/* is/was this person assigned to the selected approver for the report period */
v_display_fl := FALSE;
if nvl(p_tcs_user_id, 0) > 0 then
if p_tcs_user_id = p.tcs_user_id then
htp.p('<br>Selected User');
v_display_fl := TRUE;
end if;
elsif nvl(p_apvr_id, 0) = 0 then
if nvl(p_apvr_id, 0) = 0 then
v_display_fl := TRUE;
elsif p_apvr_id > 0 or p_apvr_id = -1 then
v_display_fl := fct_ASSIGNED_APVR(p.tcs_user_id, p_apvr_id, p_rpt_from_dt, p_rpt_to_dt);
end if;
if v_display_fl then
v_people_cnt := v_people_cnt + 1;
lg_tcs_owner_info.USER_ID := p.tcs_user_id;
lg_tcs_owner_info.PAY_ID := p.pay_id;
lg_tcs_owner_info.PAY_TYPE := p.pay_typ;
lg_tcs_owner_info.SYS_STRT_DT := p.sys_strt_dt;
lg_tcs_owner_info.TERM_DT := p.sys_end_dt;
if p.pay_typ = 'S' then
begin
select wrk_hire_dt
into lg_tcs_owner_info.hire_dt
from subcntr
where sub_id = p.pay_id;
exception
when no_data_found then
tc_debug.html_message('subcntr.pay_id('||p.pay_id||')');
end;
else
select
wrk_hire_dt,
decode(bend_empl_fl, 'Y', 'E', 'W')
into
lg_tcs_owner_info.hire_dt,
lg_tcs_owner_info.pay_type
from empl
where empl_id = lg_tcs_owner_info.PAY_ID;
end if;
if lga_report_out.count = 0 then
lga_report_out(lga_report_out.count+1) := '<table border="1" cellpadding="3" width="'||lg_page_width||'">';
end if;
if mod(v_people_cnt,2) = 1 then
lga_report_out(lga_report_out.count+1) := ('<tr bgcolor="'||lg_odd_bgcolor||'">');
else
lga_report_out(lga_report_out.count+1) := ('<tr bgcolor="'||lg_even_bgcolor||'">');
end if;
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>'||p.name||'</font></td >');
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>'||p.pay_typ||'-'||lpad(p.pay_id,4,'0')||'</font></td >');
if nvl(p_apvr_id, 0) > 0 then /* Single Approver */
/* need approver ID for time card "status" */
lga_apvr := lga_apvr_null; /* clear the approver id array */
lga_apvr(1).apvr_tcs_id := p_apvr_id;
elsif nvl(p_apvr_id, 0) = 0 then /* ALL Approvers */
lga_apvr := lga_apvr_null; /* clear the approver id array */
v_cnt := 0;
for ap in apvr_cur (p.tcs_user_id) loop
if v_cnt = 0 then
/* most recent approver may not be the applicable approver */
v_cnt := 1;
lga_apvr(v_cnt).apvr_name := ap.apvr_name; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_tcs_id := ap.fk_tcs_apvr_id; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_pay_id := ap.apvr_pay_id; -- identify multiple approvers for the "status"
v_apvr_id := ap.fk_tcs_apvr_id;
if ap.apvr_pay_typ = 'S' then
lga_apvr(v_cnt).apvr_pay_typ := ap.apvr_pay_typ; -- identify multiple approvers for the "status"
else
select decode(bend_empl_fl, 'Y', 'E', 'W')
into lga_apvr(1).apvr_pay_typ
from empl
where empl_id = lga_apvr(1).apvr_pay_id;
end if;
end if;
if ap.strt_dt <= p_rpt_to_dt and nvl(ap.end_dt, p_rpt_to_dt) >= p_rpt_from_dt then
/* approver record */
lg_tcs_owner_info.APVR_ID := ap.fk_tcs_apvr_id;
lg_tcs_owner_info.APVR_STRT_DT := ap.strt_dt;
lg_tcs_owner_info.APVR_END_DT := ap.end_dt;
don't enter same approver name multiple times
when same approver has been assigned more than once
Example: approver1, approver_2, approver_1 (change back to approver 1)
for i in 1..lga_apvr.count loop
v_apvr_id := ap.fk_tcs_apvr_id;
if lga_apvr(i).apvr_tcs_id = ap.fk_tcs_apvr_id then
/* don't add again */
v_apvr_id := NULL;
exit;
end if;
end loop;
if v_apvr_id is not NULL then
v_cnt := v_cnt + 1;
lga_apvr(v_cnt).apvr_name := ap.apvr_name; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_tcs_id := ap.fk_tcs_apvr_id; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_pay_id := ap.apvr_pay_id; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_pay_typ := ap.apvr_pay_typ; -- identify multiple approvers for the "status"
end if;
end if;
end loop;
/* list approver pay IDs */
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>');
if lga_apvr.count = 0 then
lga_report_out(lga_report_out.count+1) := 'Approver Unassigned';
else
for i in 1..lga_apvr.count loop
if i > 1 then
lga_report_out(lga_report_out.count+1) := '<br>';
end if;
lga_report_out(lga_report_out.count+1) := (lga_apvr(i).apvr_name);
end loop;
end if;
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>');
if lga_apvr.count = 0 then
lga_report_out(lga_report_out.count+1) := 'N/A';
else
for i in 1..lga_apvr.count loop
if i > 1 then
lga_report_out(lga_report_out.count+1) := '<br>';
end if;
lga_report_out(lga_report_out.count+1) := (lga_apvr(i).apvr_pay_typ)||'-'||lpad(lga_apvr(i).apvr_pay_id,4,'0');
end loop;
end if;
lga_report_out(lga_report_out.count+1) := ('</font></td >');
end if;
for t in tc_cur(p.tcs_user_id, p_rpt_from_dt, p_rpt_to_dt) loop
htp.p('<! '||t.strt_dt||', '||t.end_dt||', '||t.stat_cd||' -->');
--lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>');
--lga_report_out(lga_report_out.count+1) := (t.stat_cd);
--lga_report_out(lga_report_out.count+1) := ('</font></td >');
/* has the selected approver has completed processing */
if p_apvr_id > 0
and v_apvr_id = p_apvr_id
and v_a_user_id != p_apvr_id
then
exit;
end if;
for ap in apvr_cur (p.tcs_user_id) loop
if apvr_cur%rowcount = 1 then
/* most recent approver assigned */
lg_tcs_owner_info.apvr_id := ap.fk_tcs_apvr_id;
end if;
if ap.strt_dt <= t.end_dt and nvl(ap.end_dt, t.end_dt) >= t.strt_dt then
/* approver assigned during time card period */
lg_tcs_owner_info.apvr_id := ap.fk_tcs_apvr_id;
exit;
end if;
end loop;
lg_tc_status.strt_dt := t.strt_dt;
lg_tc_status.end_dt := t.end_dt;
lg_tc_status.stat_cd := t.stat_cd;
v_stat_cd := fct_TC_STATUS(nvl(p_apvr_id, 0));
lga_report_out(lga_report_out.count+1) := ('<td align="center" valign="top" bgcolor="'||lg_tc_status.bg_color||'">');
lga_report_out(lga_report_out.count+1) := ('<font size=-2 color='||lg_tc_status.font_color||'>');
lga_report_out(lga_report_out.count+1) := v_stat_cd;
lga_report_out(lga_report_out.count+1) := ('</font></td >');
end loop;
lga_report_out(lga_report_out.count+1) := '</tr>';
end if; /* v_display_fl */
end loop;
if p_rpt_type in ('B', 'S') then
lg_page_cnt := lg_page_cnt + 1;
sub_DISPLAY_STATUS_SUMMARY;
end if;
if lga_report_out.count > 0 then
lga_report_out(lga_report_out.count+1) := '</table>';
end if;
if lga_report_out.count > 0 then
if p_rpt_type = 'B' or p_apvr_id > 0 then
if p_display_hdr then
if lg_page_cnt > 0 then
if p_apvr_id > 0 then /* selected individual approver */
htp.p('</table>');
end if;
htp.p('<br style="page-break-after:always">');
htp.p('<!-- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& -->');
htp.p('<!-- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& -->');
end if;
lg_page_cnt := lg_page_cnt + 1;
tc_reporting.reports_header
1,
'Time Card Status Report',
'for '||dd_mon_yyyy(p_rpt_from_dt)||' through '||dd_mon_yyyy(p_rpt_to_dt)||'<BR>'||
'Report Date: '||dd_mon_yyyy(lg_sysdate)||' Time: '||v_time_str,
NULL,
NULL,
NULL,
NULL, -- p_backto_pg, /* Backto */
'focus()',
lg_page_cnt
end if;
end if;
if p_rpt_type in ('B', 'D') then
for i in 1..lga_report_out.count loop
htp.p(lga_report_out(i));
end loop;
end if;
end if;
END sub_STATUS_BD_ALPHA;
Some veriable
type report_tc_rec is record
tc_owner_name tc_wkr.d_full_nm_lfm%type,
o_user_id tc_wkr.tc_row_id%type,
o_pay_id varchar2(10),
o_sys_strt_dt date,
o_sys_end_dt date,
tc_apvr_name tc_wkr.d_full_nm_lfm%type,
a_pay_id varchar2(10),
a_user_id tc_wkr.tc_row_id%type,
tc_strt_dt date,
tc_end_dt date,
tc_stat_cd varchar2(50),
ap_strt_dt date,
ap_end_dt date
/* time card owner information */
TYPE tcs_owner_info_rec IS RECORD
USER_ID tc_wkr.tc_row_id%type,
PAY_ID tc_wkr.tcw_id%type,
PAY_TYPE tc_wkr.tcw_typ%type,
HIRE_DT date,
SYS_STRT_DT date,
TERM_DT date,
APVR_ID tc_wkr.tc_row_id%type,
APVR_STRT_DT date,
APVR_END_DT date
/* status code determines report cell font and background colors */
TYPE tc_status_rec IS RECORD
STRT_DT date,
END_DT date,
STAT_CD tc.stat_cd%type,
FONT_COLOR varchar2(16),
BG_COLOR varchar2(16)
/* count of all time card status for report summary */
TYPE tc_status_summary_rec IS RECORD
APPROVED_CNT integer := 0,
REJECTED_CNT integer := 0,
SUBMITTED_CNT integer := 0,
POSTED_CNT integer := 0,
VERIFIED_CNT integer := 0,
OPEN_CNT integer := 0,
NEW_CNT integer := 0,
REQUIRED_CNT integer := 0,
TOTAL_CNT integer := 0
/* determine multiple approvers for individual for selected report period */
TYPE apvr_rec IS RECORD
apvr_name tc_wkr.d_full_nm_lfm%type,
apvr_tcs_id tc_wkr.tc_row_id%type,
apvr_pay_id tc_wkr.tcw_id%type,
apvr_pay_typ tc_wkr.tcw_typ%type
TYPE apvr_id_array_table IS TABLE OF apvr_rec
index by binary_integer;
type output_array is table of varchar2(1000)
index by binary_integer;
type date_array is table of date
index by binary_integer;
type status_array is table of varchar2(1000)
index by binary_integer;
type apvr_array is table of number(8)
index by binary_integer;
lga_report_out output_array; /* array of HTML code to be output to browser */
lga_report_out_null output_array; /* null array of HTML code */
lga_tc_status status_array;
lga_null_status status_array;
lga_tc_strt_dt date_array;
lga_tc_end_dt date_array;
lga_tc_disp date_array; /* start dates of displayed TC for selected user */
lga_null_date date_array; /* null array used to clear other date arrays */
/* LOCAL GLOBAL VARIABLES */
lg_tcs_owner_info tcs_owner_info_rec; /* time card owner information */
lg_tc_status tc_status_rec; /* time card status information */
lg_tc_status_summary tc_status_summary_rec; /* time card count by status */
lg_tc_rec report_tc_rec; /* time card */
lga_apvr apvr_id_array_table; /* array of approver Names and Payroll IDs */
lga_apvr_null apvr_id_array_table; /* clear the lga_apvr array for each user */
lg_sysdate date := sysdate;
lg_debug_fl boolean := FALSE;
lg_debug_owner_id tc_wkr.tc_row_id%type := 9905;
lg_debug_apvr_id tc_wkr.tc_row_id%type := 1000;
The chnages i have done its in bold
Please Advice
Thanks
Edited by: Purvik on Aug 25, 2009 11:59 AMThere is not a chance in the world, especially not knowing column definitions that I, and I suspect most anyone else, is going to wade through this much unformated code looking for an error you couldn't bother to copy in full.
Either tell us, specifically, the line on which the error is occurring or, better yet, start whacking stuff out of your code until you find the offending definition. That is certainly what I would do. Commenting out sections is a marvelous way to quickly find an issue.
Before you post again please read the FAQ. It will explain to you how to properly post and use the tags. -
I have a form which uses a customer form/report, drop downs etc..
the debug shows it running this statement
...Execute Statement: begin begin SELECT distinct initcap(RTRIM (LTRIM (e.surname, ' *0123456789-/:.?,'), ' *0123456789-/:.?,') || ', ' || RTRIM (LTRIM (e.first_name, ' *0123456789-/:.?,'), ' *0123456789-/:.?,' )) empname, e.ID bulk collect into wwv_flow_utilities.g_display,wwv_flow_utilities.g_value FROM dms.dms_employees@dmsprd e, dms.dms_employee_contracts@dmsprd ec WHERE e.ID = ec.emp_id and e.surname like '%%' AND :p75_date BETWEEN ec.start_date AND NVL (ec.end_date, :p75_date) AND e.brh_id = 3654 ORDER BY 1; end; end;
Then says
"report error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small"
Any Ideas?
Thanks
DeanDenes Kubicek wrote:
A select list is limited in size. I am not sure what the limit is but that is definitelly the case.The maximum size for the HTML generated for a select list is 32K.
86 options sounds on the low side to be hitting that limit, but there are other concerns to this as well. Scrolling through hundreds/thousands of options in a select list is a pain for users, and huge select lists produce bloated pages that impact load times and network bandwidth. That list of around 200 countries you find on many sites is about the sensible maximum length for a select list.
You should use popups.Indeed. -
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 PMI 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. -
We face the above error in HTMLDB (APEX) application Ver 3.1.0. This occurs when we try to display more number of rows/records in drop-down list (LOV in tabular forms). We are able to display 200 records in LOV. When the list of records exceeds 230, we face the below error
report error:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
the values listed in LOV are from tables (one of the columns in table)
Could anyone give us a solution?Hi
As you are using a tabular form, you could actually do the following:
1 - In the tabular form column's attributes, set the following:
Display as: Select List (query based on LOV)
Display extra values: Yes
List of values definition: SELECT null d, null r FROM DUAL
2 - Add a new page item and set it to generate your select list
3 - Create an HTML region with no template and use the following for its source:
<script type="text/javascript">
function loadList(c, l)
var s = document.getElementsByName(c);
var lItem = document.getElementById(l);
var lLength = lItem.options.length;
var k;
var j;
var x = lItem.innerHTML;
var v;
var o;
var z;
for (k = 0; k < s.length; k++)
z = s[k];
v = z.value;
z.options.length = 0;
for (j = 0; j < lLength; j++)
o = new Option()
o.value = lItem[j].value;
o.text = lItem[j].text;
z.options[j] = o;
z.value = v;
if (z.selectedIndex == -1)
z.selectedIndex = 0;
loadList("f05", "P1_MGR");
</script>
(Change "f05" and "P1_MGR" as appropriate to your column and your new page item respectively)
Now, when you load the page, the select list contains a null entry plus the entry already on the database. The javascript kicks in automatically, loops through every entry in the "f05" column, copies the existing value, replaces the select list with the new page item version and sets its value to the copied value.
Your new page item could be in a DIV tag that has a style of "display:none" to hide it from view.
Andy -
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 ÇATALKAYANo, 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 -
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,
SachinHi,
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 -
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 PMHi,
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
Maybe you are looking for
-
Map Loader 3 doesn't see Internet connection
Hi, I have installed Map Loader 3 on my XP Pro sp3 workstation that is connected to the Internet via a Workgroup Server running MS SBS 2003 Premium. Whenever I start the Map Loader application it quits immediately with the error message "Connection t
-
Can I use video encoded as h.264 within a Flash 9 swf that's using ActionScript 2, or does it require ActionScript 3?
-
Management tool to Tracking port by IP address
Is there a tool to easy find out the corresponsing port in a group of switches by IP address?
-
Send for Signature could not send error
Recently got a plan for Send for Signature, and it was working fine doing a few tests until yesterday. Now, whenever I try to upload a file to create a send for signature document within Adobe Acrobat, I get an error saying "Could not Send. An error
-
suddenly the podcast icon is missing from my itunes and my podcasts have vanished from my itunes. i still have them on my hard drive and when i play them they play through itunes. i tried downloading the latest itunes and all that, now when i went to