Invalid function body condition: ORA-06502: PL/SQL: numeric or value error:
I'm trying to customize my link column on an interactive report to branch to another page in my application based on a pl/sql call. My condition type for the link column is pl/sql function body returning a boolean. I'm calling a packaged function that returns a boolean but receive the following error:
Invalid function body condition: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
This is my code:
return files_util.list_files('test','test');
I've tried running the same code in sqlplus and it works fine. Any help would be appreciated.
Thanks,
Rob
It turns out I had multiple issues. I thought the code I was running for the link column would be executed and let me branch to another page to view the results of my pl/sql code. It appears that the pl/sql code for the link column only controls whether the link is displayed or not. The reason for the ora-6502 was because a variable in my pl/sql function was not large enough to hold a value based on the userid signing onto the application. I'm using database authentication so I thought that the userid in apex would be my database userid which is only 4 characters. The userid actually used is apex_public_user which caused by ora-6502 error.
Similar Messages
-
I'm attempting to dynamically generate a rather large SQL query via the "PL/SQL function body returning SQL query" report region option. The SQL query generated will possibly be over 32K. When I execute my page, I sometimes receive the "ORA-06502: PL/SQL: numeric or value error" which points to a larger than 32K query that was generated. I've seen other posts in the forum related to this dynamic SQL size limitation issue, but they are older (pre-2010) and point to the 32K limit of the DNS (EXECUTE IMMEDIATE) and DBMS_SQL. I found this post (dynamic sql enhancements in 11g) which discusses 11g no longer having the 32K size limitation for generating dynamic SQL. Our environment is on 11gR2 and using ApEx 4.2.1. I do not know which dynamic SQL method -- DNS or DBMS_SQL -- ApEx 4.2.1 is using. Can someone clarify for me which dynamic SQL method ApEx uses to implement the "PL/SQL function body returning SQL query" option?
As a test, I created a page on apex.oracle.com with a report region with the following source:
declare
l_stub varchar2(25) := 'select * from sys.dual ';
l_sql clob := l_stub || 'union all ';
br number(3) := 33;
begin
while length ( l_sql ) < 34000 loop
l_sql := l_sql || l_stub || 'union all ';
end loop;
l_sql := l_sql || l_stub;
for i in 1 .. ceil ( length ( l_sql ) / br ) loop
dbms_output.put_line ( dbms_lob.substr ( l_sql, br, ( ( i - 1 ) * br ) + 1 ) );
end loop;
return l_sql;
end;
The dbms_output section is there to be able to run this code in SQL*Plus and confirm the size of the SQL is indeed larger than 32K. When running this in SQL*Plus, the procedure is successful and produces a proper SQL statement which can be executed. When I put this into the report region on apex.oracle.com, I get the ORA-06502 error.
I can certainly implement a work-around for my issue by creating a 'Before Header' process on the page which populates an ApEx collection with the data I am returning and then the report can simply select from the collection, but according to documentation, the above 32K limitation should be resolved in 11g. Thoughts?
Shane.What setting do you use in your report properties - especially in Type and in Region Source?
If you have Type="SQL Query", then you should have a SELECT statement in the Region Source. Something like: SELECT .... FROM ... WHERE
According to the ERR-1101 error message, you have probably set Type to "SQL Query (PL/SQL function body returning SQL query)". In this situation APEX expects you to write a body of a PL/SQL function, that will generate the text of a SQL query that APEX should run. So it can be something like:
declare
mycond varchar2(4000);
begin
if :P1_REPORT_SEARCH is not null THEN
mycond:='WHERE LAST_NAME like :P1_REPORT_SEARCH ||''%''';
end if;
return 'select EMPLOYEE_ID, FIRST_NAME, LAST_NAME from EMPLOYEES ' ||mycond;
end;
And for escaping - are you interested in escaping the LIKE wildcards, or the quotes?
For escaping the wildcards in LIKE function so that when the user enters % you will find a record with % and not all functions, look into the SQL Reference:
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions007.htm
(You would than need to change the code of your function accordingly).
If you are interested in escaping the quotes, try to avoid concatenating the values entered by the user into the SQL. If you can, use bind variables instead - as I have in my example above. If you start concatenating the values into the text of SQL, you are open to SQLInjection - user can enter anything, even things that will break your SQL. If you really need to allow users to choose the operator, I would probably give them a separate combo for operators and a textfield for values, than you could check if the operator is one of the allowed ones and create the condition accordingly - and than still use bind variable for inserting the filtering value into the query. -
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
I use the procedure to convert the documents if it is not already converted before using procedure as follows
PROCEDURE "STARDOC"."HTMLOUTPUT" (
"DOCID" IN NUMBER) IS
mklob clob;
doccount number;
errorcode number;
errormessage varchar2(200);
BEGIN -- executable part starts here
SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
--dbms_output.put_line(doccount);
if doccount=0 then
dbms_output.put_line('Document Not Found: Converting '||docid);
--If document is not found run document coversion routine
ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
COMMIT;
elsif doccount=1 then
--return;
dbms_output.put_line('Document Found');
--if document id found then return the document content
null;
else
--dbms_output.put_line('Error occured');
--need to deal with duplicate documents
null;
end if;
dbms_lob.freetemporary(mklob);
EXCEPTION
--rollback when an exception occurs
WHEN OTHERS THEN
errorcode:=SQLCODE;
errormessage:=SQLERRM;
dbms_output.put_line(sqlcode || ':' ||sqlerrm);
ROLLBACK;
LOGERROR(errorcode,errormessage);
END "HTMLOUTPUT";
i get the error when i convert large documents
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
what is wrong. please help!"ORA-06502: PL/SQL: numeric or value error: invalid
LOB locator specified: ORA-22275"
PROCEDURE "STARDOC"."HTMLOUTPUT" (
"DOCID" IN NUMBER) IS
mklob clob;
ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);I think You forget to initialize variable mklob.
You can do it, assigning the empty_clob(). -
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,
DebabrataHi,
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" "" -
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. -
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 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 -
ORA-06502 : PL/SQL: numeric or value error in Report formattrigger
Hi guys,
I have a Format Trigger code to not display any amount less than 1.00 at a group frame level and outside of the group frame is the Grand Total in my report but I am getting
" REP-1401: ' r_headerformattrigger ' : Fatal PL/SQL error occurred.
"ORA-06502 : PL/SQL: numeric or value error"
every time I try to run it.
function R_headerFormatTrigger return boolean is
begin
if :c_header_amount_accrual1_disp > 0.99 then
return (TRUE);
else
return (FALSE);
end if;
end;
Does any one have any idea as why?read this code
Cause: An arithmetic, numeric, string, conversion, or constraint error occurred. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 88 to a variable declared NUMBER(2).
Action: Change the data, how it is manipulated, or how it is declared so that values do not violate constraints
Rizwan -
Package Returning Error ORA-06502: PL/SQL: numeric or value error
Hi,
I create a package to export to spread sheet .xls, The package work for simple query if i pass the query to package.
There is no error in package please create the package and do the following as mentioned below
create or replace
PACKAGE export_pkg_spread_sheet
AS
procedure download_excel(vsql in clob );
PROCEDURE excel_header(p_header in out nocopy clob);
procedure excel_content(p_content in out nocopy clob,
vsql in clob );
procedure excel_footer(p_footer in out nocopy clob);
procedure get_usable_sql (p_sql_in IN clob,
p_sql_out OUT clob);
END export_pkg_spread_sheet;
create or replace
PACKAGE body export_pkg_spread_sheet
AS
PROCEDURE excel_header (p_header IN OUT nocopy CLOB)
AS
BEGIN
p_header := '<html><body>';
END;
procedure download_excel( vsql in clob )
as
p_header clob;
p_footer clob;
p_content clob;
begin
owa_util.mime_header( 'application/octet', FALSE );
htp.p('Content-Disposition: attachment; filename="report.xls"');
owa_util.http_header_close;
excel_header( p_header);
excel_content(p_content,vsql);
excel_footer(p_footer);
dbms_output.put_line(p_header ||p_content|| p_footer);
HTP.PRN( p_header ||p_content|| p_footer);
htmldb_application.g_unrecoverable_error := true;
end;
procedure excel_content(p_content in out nocopy clob,
vsql in clob)
as
p_sql_stmt clob;
cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
cols DBMS_SQL.DESC_TAB;
ncols PLS_INTEGER;
TYPE varColumn IS TABLE OF varchar2(32000);
vtab varColumn;
v_column_count NUMBER DEFAULT 0;
v_status INTEGER;
BEGIN
htp.prn('am here');
/* SELECT region_source into p_sql_stmt
FROM apex_application_page_regions
WHERE region_id = p_region_id AND
page_id = p_page_id AND
application_id = p_app_id; */
get_usable_sql (vsql,p_sql_stmt);
p_content := p_sql_stmt;
-- Parse the query.
DBMS_SQL.PARSE(cur, p_sql_stmt , DBMS_SQL.NATIVE);
-- Retrieve column information
DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
-- Display each of the column names
p_content := '<table> <tr>';
FOR colind IN 1 .. ncols
LOOP
p_content := p_content || '<td>' || cols(colind).col_name || '</td>';
END LOOP;
p_content := p_content || '</tr>';
vtab := varColumn(null);
for i in 1..ncols
loop
vtab.extend;
DBMS_SQL.DEFINE_COLUMN (cur, i, vtab(i), 2000);
--dbms_output.put_line(vtab(i));
end loop;
v_status := DBMS_SQL.EXECUTE (cur);
LOOP
p_content := p_content || '<tr>';
EXIT WHEN (DBMS_SQL.FETCH_ROWS (cur) <= 0);
FOR i IN 1 ..ncols
loop
DBMS_SQL.COLUMN_VALUE (cur, i, vtab(i));
-- p_content := p_content || '<td>' || 'xyz' || '</td>';
p_content := p_content || '<td>' || vtab(i) || '</td>';
END LOOP;
p_content := p_content || '</tr>' ;
END LOOP;
p_content := p_content || '<table>' ;
DBMS_SQL.CLOSE_CURSOR (cur);
exception
when others then
p_content := '<td>Exception Error in printing data</td><table>' ;
DBMS_SQL.CLOSE_CURSOR (cur);
end;
procedure excel_footer( p_footer in out nocopy clob)
as
begin
p_footer := '</body></html>';
end;
PROCEDURE get_usable_sql (p_sql_in IN clob, p_sql_out OUT clob)
IS
v_sql clob;
v_names DBMS_SQL.varchar2_table;
v_pos NUMBER;
v_length NUMBER;
v_exit NUMBER;
BEGIN
v_sql := p_sql_in;
v_names := wwv_flow_utilities.get_binds (v_sql);
FOR i IN 1 .. v_names.COUNT
LOOP
<<do_it_again>>
v_pos := INSTR (LOWER (v_sql), LOWER (v_names (i)));
v_length := LENGTH (LOWER (v_names (i)));
v_sql :=
SUBSTR (v_sql, 1, v_pos - 1)
|| v_names (i)
|| SUBSTR (v_sql, v_pos + v_length);
v_sql :=
REPLACE (v_sql,
UPPER (v_names (i)),
'(SELECT v('''
|| LTRIM (v_names (i), ':')
|| ''') FROM DUAL)'
IF INSTR (LOWER (v_sql), LOWER (v_names (i))) > 0
THEN
GOTO do_it_again;
END IF;
END LOOP;
p_sql_out := v_sql;
END;
END export_pkg_spread_sheet;
After creating the package pass the parameter to package like this
begin
export_pkg_spread_sheet.download_excel('select * from emp');
end;
Package will allow to download the spread shreet. If i try to pass the a complex query to package it is returning error as mentioned below
ORA-06502: PL/SQL: numeric or value error
In the above package there is a procedure called procedure excel_content which actuall prints the data in the spread sheet this is where the error is coming from there is a variable called vsql have declared it as clob to hold large string but still i am getting the same error when trying to pass a big string.
Please check the error and let me know.
Thanks
SudhirHi Praveen,
This is the query i am using to pass
Declare
qry clob;
Begin
qry := ' 'SELECT
AR.REGION_CODE,
AR.DISTRICT_CODE,
AR.TERRITORY_CODE,
CASE
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NULL AND AR.TERRITORY_NAME IS NULL THEN
AR.REGION_NAME
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NULL THEN
AR.DISTRICT_NAME
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NOT NULL THEN
AR.TERRITORY_NAME
END TERR_NAME,
AR.EMPLOYEE_ID,
AR.LAST_NAME,
AR.FIRST_NAME,
AR.GENDER,
AR.DATE_OF_HIRE,
AR.PROJECT_EMPLOYEE_TITLE_ID,
AR.COMPANY_ID,
AR.CUSTOMER_EMAIL,
AR.BUSINESS_EMAIL,
AR.CUSTOMER_VOICEMAIL,
AR.CUSTOMER_VOICEMAIL_EXT,
AR.QUINTILES_VOICEMAIL,
AR.QUINTILES_VOICEMAIL_EXT , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ZipCode" FROM AR_V_ROSTER AR
LEFT JOIN AR_V_ADDRESS_HISTORY AAH
ON
(AR.PROJECT_ID = AAH.PROJECT_ID AND
AR.EMPLOYEE_ID = AAH.EMPLOYEE_ID)
WHERE
UPPER(AR.USER_EMPLOYEE_ID) = ''Q766730'' AND
AR.PROJECT_ID = 81 ';
export_pkg_spread_sheet.download_excel(qry);
End;
Praveen you can pass your DB table query to check the error. I am trying to pass as mentioned above.
Please let me know if my question is not clear.
Thanks
Sudhir -
ORA-06502: PL/SQL: numeric or value error While Exporting in Oracle 10g
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AR8MSWIN1256 character set and AL16UTF16 NCHAR character set
server uses AR8ISO8859P6 character set (possible charset conversion)
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
. exporting cluster definitions
. about to export SYSTEM's tables via Conventional Path ...
. . exporting table DEF$_AQCALL 0 rows exported
. . exporting table SRC_RQST_SEQ 1 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table SRC_USERS 6 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table SRC_YEAR_LOOKUP 40 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TENDER_DETAIL_TABLE 36 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TENDER_MASTER_TABLE 34 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TENDER_NEW_DETAIL_TABLE 4 rows exported
EXP-00091: Exporting questionable statistics.
. exporting synonyms
. exporting views
EXP-00056: ORACLE error 6502 encountered
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '<' instead of 'n'
ORA-06512: at "SYS.UTL_XML", line 152
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7195
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9135
ORA-06512: at "SYS.DBMS_METADATA", line 1882
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00056: ORACLE error 6502 encountered
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '<' instead of 'n'
ORA-06512: at "SYS.UTL_XML", line 152
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7195
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9135
ORA-06512: at "SYS.DBMS_METADATA", line 1882
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
Plz reply me the appropriate Solution
Edited by: user8920919 on May 3, 2010 12:27 AMhi,
EXP-00091: Exporting questionable statistics The client character set(NLS_LANG) does not match the server character;
select parameter,value from nls_database_parameters where parameter like '%CHARACTERSET%';
and check the client system character set
- Pavan Kumar N
- ORACLE OCP - 9i/10g
https://www.oracleinternals.blogspot.com -
-6502 ORA-06502: PL/SQL: numeric or value error when using 'Create CAPI Definition'
I get an error when I try to create a CAPI definition with Headstart untilities (6i). I use HSU_CAPI revision 6.5.2.0
The detailed information says the following:
Message
BLAPI.OPEN_ACTIVITY
Start HSU_CAPI.run
Number of Tables to create CAPI for 1
Initial checks for table KCS_TENDERS with id 692754610572409851363604771392473242
HSU_CAPT.initial_checks for table KCS_TENDERS
HSU_CAPF.initial_checks for table KCS_TENDERS
HSU_CAPC.initial_checks Custom Services for table KCS_TENDERS
HSU_CAPB.initial_checks BRDD for table KCS_TENDERS
bltext.get_lines_from_repository, p_text_type=CDINOT
bltext.get_line_containing
bltext.get_line_containing
bltext.get_lines_from_repository, p_text_type=CDIPLS
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
KCS_TENDERS Business Rule Design Definition BR_TNR001_CEV does not have any Trigger Columns. Rule will fire when any column is updated.
bltext.get_lines_from_repository, p_text_type=CDINOT
bltext.get_line_containing
bltext.get_line_containing
bltext.get_lines_from_repository, p_text_type=CDIPLS
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
bltext.get_line_containing
Creating CAPI for table KCS_TENDERS with id 692754610572409851363604771392473242
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Before-Insert-stmt, Open transaction.
Write Text for element type APPLOG with id 753236628580304413262318236391196826 - Text type: ALCODE number of text lines = 6 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580304413262318236391196826 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Before-Update-stmt, Open transaction.
Write Text for element type APPLOG with id 753236628580332747461215454262479002 - Text type: ALCODE number of text lines = 6 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580332747461215454262479002 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Before-Delete-stmt, Open transaction.
Write Text for element type APPLOG with id 753236628580361081660112672133761178 - Text type: ALCODE number of text lines = 6 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580361081660112672133761178 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Post-After-Insert-stmt, Close transaction.
Write Text for element type APPLOG with id 753236628580389415859009890005043354 - Text type: ALCODE number of text lines = 6 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580389415859009890005043354 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Post-After-Update-stmt, Close transaction.
Write Text for element type APPLOG with id 753236628580417750057907107876325530 - Text type: ALCODE number of text lines = 6 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580417750057907107876325530 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Post-After-Delete-stmt, Close transaction.
Write Text for element type APPLOG with id 753236628580446084256804325747607706 - Text type: ALCODE number of text lines = 6 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580446084256804325747607706 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Before-Delete-row, Save old data.
Write Text for element type APPLOG with id 753236628580474418455701543618889882 - Text type: ALCODE number of text lines = 404 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580474418455701543618889882 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Insert, Call CAPI.
Write Text for element type APPLOG with id 753236628580568865785358936523163802 - Text type: ALCODE number of text lines = 4 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580568865785358936523163802 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Update, Call CAPI.
Write Text for element type APPLOG with id 753236628580597199984256154394445978 - Text type: ALCODE number of text lines = 4 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580597199984256154394445978 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Pre-Delete, Call CAPI.
Write Text for element type APPLOG with id 753236628580625534183153372265728154 - Text type: ALCODE number of text lines = 17 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580625534183153372265728154 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Post-Insert, Call CAPI.
Write Text for element type APPLOG with id 753236628580653868382050590137010330 - Text type: ALCODE number of text lines = 7 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580653868382050590137010330 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Post-Update, Call CAPI.
Write Text for element type APPLOG with id 753236628580682202580947808008292506 - Text type: ALCODE number of text lines = 144 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580682202580947808008292506 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
Recreating KCS_TENDERS Table API/Trigger Logic - Event: Post-Delete, Call CAPI.
Write Text for element type APPLOG with id 753236628580767205177639461622139034 - Text type: ALCODE number of text lines = 282 - REPLACE
Deleted old text
Write Text for element type APPLOG with id 753236628580767205177639461622139034 - Text type: ALCMNT number of text lines = 1 - REPLACE
Deleted old text
HSU_CAPF.create_or_find_capi_pack
hsu_capi.find_plm (kcs_tnr_capi, 692754610572409851363604771392473242, CAPI).
capi package found in the context folder
BLPLM.UPD
FREE_FORMAT_TEXT_FLAG......... = Y
IMPLEMENTATION_NAME........... = kcs_tnr_capi
PLSQL_MODULE_TYPE............. = PACKAGE
SCOPE......................... = PUBLIC
COMPLETION_STATUS............. = COMPLETED
NAME.......................... = kcs_tnr_capi
PURPOSE....................... = Custom API package for implementing Business Rules and supporting TAPI
Recreated Package KCS/ KCS_TNR_CAPI, preserving only the Revision History.
HSU_CAPF.add_tags_er_av
bltext.get_lines_from_repository, p_text_type=CDINOT
bltext.get_line_containing
bltext.get_line_containing
bltext.get_lines_from_repository, p_text_type=CDINOT
bltext.get_line_containing
bltext.get_line_containing
bltext.get_lines_from_repository, p_text_type=CDINOT
bltext.get_line_containing
bltext.get_line_containing
bltext.get_lines_from_repository, p_text_type=CDINOT
bltext.get_line_containing
bltext.get_line_containing
HSU_CAPF.create_specification
HSU_CAPF.create_c_tabalias
HSU_CAPF.create_c_tabalias_all
HSU_CAPF.create_aggregate_value
HSU_CAPF.create_aggregate_value
HSU_CAPF.create_aggregate_value
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
What can I do about it???
Thanks in advance.
Menno HoogsteenWorking on the same project as Menno, I had the time to look into the problem.
The problem is caused by the creation of the capi-function agregate_char_value in the packages hsu_capf. While creating this function the following code is executed:
add(' -- allowable values:');
add(' -- '||l_col_name_list);
This last statement causes the problem because this table is very big. L_col_name_list contains 2391 characters wich is 393 characters to long. So i changed this code into:
add(' -- allowable values:');
add(' -- '||substr(l_col_name_list,1,1990));
add(' -- '||substr(l_col_name_list,1990));
and everything works fine. Perhaps something for a patch?
Kind regards,
Ruben Spekle -
i'm getting this error when i try to do the following
6502 = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
declare
str1Query varchar2(32767);
str2Query varchar2(32767);
str3Query varchar2(32767);
str31Query varchar2(32767);
str32Query varchar2(32767);
str4Query varchar2(32767);
desc_t dbms_sql.desc_tab2;
l_col_cnt integer;
colvalue varchar(32676);
cur_rows number;
repCursor integer;
begin
repCursor := dbms_sql.open_cursor;
dbms_sql.parse(repCursor,str1Query || ' ' || str2Query || ' ' || str3Query || ' ' || str31Query || ' ' || str32Query || str4Query,dbms_sql.native);
dbms_sql.describe_columns2( repCursor, l_col_cnt, desc_t );
DBMS_SQL.CLOSE_CURSOR (repCursor);
end;
if there is any ideas about what is wrongThat is not the PL/SQL block that you have run to get that error, right?
What are the sizes of the individual variables - str1Query, str2Query etc...
Whay are there so many variables joined together?
That posted code cannot generate the error you posted:
SQL> declare
2
3 str1Query varchar2(32767);
4 str2Query varchar2(32767);
5 str3Query varchar2(32767);
6 str31Query varchar2(32767);
7 str32Query varchar2(32767);
8 str4Query varchar2(32767);
9 desc_t dbms_sql.desc_tab2;
10 l_col_cnt integer;
11 colvalue varchar(32676);
12 cur_rows number;
13 repCursor integer;
14
15 begin
16
17 repCursor := dbms_sql.open_cursor;
18 dbms_sql.parse(repCursor,str1Query || ' ' || str2Query || ' ' || str3Query || ' ' || str31Query || ' ' || str32Query || str4Query,dbms_sql.native);
19 dbms_sql.describe_columns2( repCursor, l_col_cnt, desc_t );
20 DBMS_SQL.CLOSE_CURSOR (repCursor);
21 end;
22 /
declare
ERROR at line 1:
ORA-00900: invalid SQL statement
ORA-06512: at "SYS.DBMS_SYS_SQL", line 826
ORA-06512: at "SYS.DBMS_SQL", line 39
ORA-06512: at line 18
SQL> -
Difficulty in resolving ORA-06502: PL/SQL: numeric or value error:
Hi
I am having great difficulty to resolve the following error - ORA-06502: PL/SQL: numeric or value error: character string buffer too small . In my Oracle Package, I have a Function that returns a varchar(255).
My Function is basically as follows:
FUNCTION GetUserDept (DeptNum IN NUMBER) RETURN VARCHAR2
IS
deptname varchar(255);
BEGIN
SELECT name INTO deptname
FROM depts
where id = DeptNum;
RETURN deptname
END;
The SQL is running correctly and returns one result, which is what I want. However, when I call the function in my .NET C# code, this is when I am seeing the error message.
In my code, I said that the commandtype is a stored procedure, passed the parameters, and add it to to the parameters, with the return type and direction put first and executed as a scalar. The code executes, and then fails at the ExecuteScalar line, and it is at this point on my exception handler that I see the error message ORA-6502.
This really odd, because I have two other functions that return numbers, and I have executed them in the same way, and theses works!
I have checked my function and can't see what is wrong, and I have tried changing the return type from varchar2 to NVarchar on the return type, but this made no difference.
This problem has really dogged me for hours and I cannot see how to resolve it.
Can someone, please help me?user633278 wrote:
This really odd, because I have two other functions that return numbers, and I have executed them in the same way, and theses works!It is that very reason that your code fails. You need to declare the return variable as a string.
SQL?create or replace
FUNCTION GetUserDept (DeptNum IN NUMBER) RETURN VARCHAR2
IS
deptname varchar(255);
BEGIN
RETURN 'hello world';
END;
2 3 4 5 6 7 8 9 10
Function created.
SQL?
SQL?
declare
x number;
begin
x := GetUserDept(100);
end;
SQL? 2 3 4 5 6 declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at line 4
SQL?
SQL?
declare
x varchar2(255);
begin
x := GetUserDept(100);
end;
SQL? 2 3 4 5 6
PL/SQL procedure successfully completed. -
Issue in appending the LOBs -ORA-06502: PL/SQL: numeric or value error
Hi
I am using Oracle 11g.
I have a requirement in which I have to append LOBs and I have to insert the LOB into a table column. I am facing problem when the data exceeds certain limit. My program works like the below:
(please note that my program logic is given below, not the exact program)
DECLARE
final_html CLOB;
int_html CLOB;
v_str VARCHAR2(32767);
i number:=0;
BEGIN
dbms_lob.createtemporary(lob_loc => int_html, CACHE => TRUE, dur => dbms_lob.CALL);
dbms_lob.createtemporary(lob_loc => final_html, CACHE => TRUE, dur => dbms_lob.CALL);
DBMS_LOB.OPEN(int_html, DBMS_LOB.LOB_READWRITE);
DBMS_LOB.OPEN(final_html, DBMS_LOB.LOB_READWRITE);
dbms_output.ENABLE(1000000);
FOR i IN 1..100 loop
v_str := '<tr>' ||
'<td style="WORD-WRAP: break-word" width="50"><font size="2">' ||
i || '</font></td>' ||
'</tr>';
dbms_lob.writeappend(lob_loc => int_html, amount => LENGTH(v_str), BUFFER => v_str);
END LOOP;
dbms_output.put_line( 'The length of int_html is:'||dbms_lob.getlength(int_html));
dbms_output.put_line( 'The int_html is:'||int_html);
final_html:= '<html>'||int_html||'</html>';
dbms_output.put_line('The final_html is:'||final_html);
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(SQLCODE||'-'||SQLERRM);
DBMS_LOB.CLOSE (int_html);
DBMS_LOB.CLOSE (final_html);
DBMS_LOB.FREETEMPORARY(int_html);
DBMS_LOB.FREETEMPORARY(final_html);
END;
when the looping is done for lesser value say for e.g FOR i IN 1..10 loop, the program works fine, but when the looping is done for more values I am getting "-6502-ORA-06502: PL/SQL: numeric or value error" error message.
Please help me to resolve this issue.
Thanking you in advance.
Regards,
SriCan you please specify in which environment you are executing this ?
I modified your code as follows
The code executed successfully until the length was <= 32767 i.e ( until FOR i IN 1..1092)
Also, you need to use the APPEND function to concatenate clob variables.
Please verify the default max size for varchar2 or dbms_output in your server since you get the error for just the loop within the range (FOR i IN 1..100) .
And yes, the comments from Siva are valid.
DECLARE
final_html CLOB;
int_html CLOB;
v_str VARCHAR2(32767);
i number:=0;
BEGIN
dbms_lob.createtemporary(lob_loc => int_html, CACHE => TRUE, dur => dbms_lob.CALL);
dbms_lob.createtemporary(lob_loc => final_html, CACHE => TRUE, dur => dbms_lob.CALL);
DBMS_LOB.OPEN(int_html, DBMS_LOB.LOB_READWRITE);
DBMS_LOB.OPEN(final_html, DBMS_LOB.LOB_READWRITE);
dbms_output.ENABLE(1000000);
FOR i IN 1..1092 loop
v_str := '<tr>' ||
'<td style="">' ||
i || '</td>' ||
'</tr>';
dbms_lob.writeappend(lob_loc => int_html, amount => LENGTH(v_str), BUFFER => v_str);
END LOOP;
dbms_output.put_line( 'The length of int_html is:'||dbms_lob.getlength(int_html));
begin
dbms_output.put_line( 'The int_html is:'||int_html);
dbms_output.put_line( 'The length of int_html is:'||dbms_lob.getlength(int_html));
exception when others then
dbms_output.put_line(SQLCODE||'-'||SQLERRM);
end;
begin
final_html:= '<html>'||int_html||'</html>';
dbms_output.put_line('The final_html is:'||final_html);
exception when others then
dbms_output.put_line(SQLCODE||'-'||SQLERRM);
end; */
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(SQLCODE||'-'||SQLERRM);
DBMS_LOB.CLOSE (int_html);
DBMS_LOB.CLOSE (final_html);
DBMS_LOB.FREETEMPORARY(int_html);
DBMS_LOB.FREETEMPORARY(final_html);
END;
Edited by: Jitesh Gurnani on Jul 29, 2011 3:11 AM
Edited by: Jitesh Gurnani on Jul 29, 2011 3:14 AM
Maybe you are looking for
-
Issue in wm during posting differences in li21
Hi i have an issue in ecc6 R/3 sap LE-WM, when i am doing confirmation in LT12 and haveing some differences that are posted to the 999 storage type. When i am clearing differences in LI21 i am getting error NO MATERIAL DOCUMENT WAS CREATED, ERRORS OC
-
How to use cursor data in more than one location in form?
hi all. is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers. for example: if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger CURSOR cur IS S
-
I can log on Apple ID, however, impossible to activate iMessage and Facetime
I definitely log on my Apple ID, make sure there is no problem about the username nor password and network connection; however; it's constantly a failure of activation for iMessage and Facetime with notification " Could not sign in. Please check your
-
How to enable a disabled Apple ID?
-
I tried updating to the new iOS 6.1, and now my iPod is stuck in Recovery mode.
I've tried DFU mode and Recovery mode, but neither seem to work. It won't update. When I connect the iPod to my computer, it says it has detected an iPod in Recovery mode, and it must be restored before it can be used with iTunes. When I click on the