FLAM Issue Tracker - FL5
View Issue Details
0000706FL52.2 Subprogram FLUC (CONV)public2015-07-09 16:422015-07-09 17:56
Falk Reichbott 
Mykhailo Moldavskyy 
normalfeatureN/A
resolvedfixed 
GeneralGeneralGeneral
5.1.07 
5.1.08 
0000706: Better error message if a invalid character encountered at character conversion
In the error situation below it would be useful to explain, which error handling cabebilities (IGNOR, SUBSTITUT, TRANSLIT) are available.

Addtional it would be good to figure out, what was the real reason for EILSEQ.


Depending on reading or writing, from which CCSID to which CCSID a better explation of possible error reasons could help.
2015-07-08 15:28:45 24E: de.limes.flcl.CONV *STAT * *********** End statistic ***********
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *NOTICE* Run of FLUC failed
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERROR * 0071 - Invalid character encountered
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* *** Begin error trace ***
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 11:57:33
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(CHR) FUNCTION: uiChrRun ROW: 793 LOC:
 291
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* RETURN-CODE : 71 - Invalid character encountered
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CTX-MESSAGE : Run of character conversion failed at unit 1831 =
 offset 1591891 + position 80
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* : Stop at invalid character (C5826120...)
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* : Conversion FROM: UTF-8 TO: IBM273
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* OPERATION : siErr=siIcvRun(psHdl->pvIcvHdl,ppInpDat,piInpLen,ppOu
 tDat,piOutSpc,isFinal);
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : *ppInpDat==21A19CE3
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : uiInpLen==700
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : *ppOutDat==21B9CB75
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : uiOutSpc==173262
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : isFinal==0
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* RESULT : siErr==-1
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* ICV-MESSAGE : Get EILSEQ (147) at Unit: 1831 (FUN:
 siIcvFrmUcs01Run ROW: 443) (147 - Invalid character encountered)
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* -------------
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 13:43:57
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(CNVCHR) FUNCTION: uiCnvChrRun ROW:
 856 LOC: 393
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CTX-MESSAGE : Character conversion failed at record 1831
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* OPERATION : uiErr=uiChrRun(pcErr,psHdl->pvChrHdl,&uiInpLen,&pcInp
 Dat,&uiOutSpc,&pcOutDat,&uiOutLen,...);
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : uiInpLen=779
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : uiOutSpc=173341
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : uiOutLen=0
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : uiRecCnt=62-------------
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 14:37:41
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(ORGCNV) FUNCTION: uiOrgCnvRun ROW:
 847 LOC: 86
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CASE : ORGCNV_MODE_(41)
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* -------------
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 14:39:09
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(ORGFIL) FUNCTION: uiOrgFilWrt ROW:
 703 LOC: 214
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CTX-MESSAGE : Conversion of data for original file failed
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* OPERATION : uiErr=uiOrgCnvRun(pcErr,psHdl->apCnvHdl[i],asDat+i,as
 Dat+i+1);
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* VALUES : i==0
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* -------------
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 14:42:06
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(ORGSAV) FUNCTION: uiOrgSavWrt ROW:
 545 LOC: 60
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CASE : ORGSAV_MODE_(1)
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* -------------
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 14:41:32
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(ORGLST) FUNCTION: uiOrgLstWrt ROW:
 335 LOC: 38
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CASE : ORGNET_MODE_(0) && ORGSAV_MODE_(1)
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* -------------
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* FLAM-VERSION: 5.1.3.8040 BUILD: RELEASE Dec 13 2014 14:00:06
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* SOURCE-FILE : FL5R.POPE.CSRC(FLCUPM) FUNCTION: uiFlcUpm ROW: 142
 LOC: 29
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* CTX-MESSAGE : Writing an original element list failed
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *ERRTRC* *** End error trace ***
 2015-07-08 15:28:45 24E: de.limes.flcl.CONV *NOTICE* End of Frankenstein LIMES Universal Converter (FLUC)
 Run of command 'CONV' failed!
No tags attached.
Issue History
2015-07-09 16:42Falk ReichbottNew Issue
2015-07-09 16:42Falk ReichbottStatusnew => assigned
2015-07-09 16:42Falk ReichbottAssigned To => Mykhailo Moldavskyy
2015-07-09 17:56Falk ReichbottNote Added: 0000859
2015-07-09 17:56Falk ReichbottStatusassigned => resolved
2015-07-09 17:56Falk ReichbottResolutionopen => fixed
2015-07-09 17:56Falk ReichbottTarget Version5.1 => 5.1.08

Notes
(0000859)
Falk Reichbott   
2015-07-09 17:56   
The explanations below are now written to the error trace.

EXPLANATION1: This error often occurs after detection of UTF-8 and conversion to UTF-8 at read. In this case, all character values in the first block are smaller than 128 and the detector chose UTF-8 and later in the data a ASCII value greater than 128 occurs. To solve this issue, you must define the correct ASCII CCSID (LATIN1) or choose a larger block size.
EXPLANATION2: At write, this error normally occurs when converting from a multibyte character set to a single byte code page. In this case, the character is not representable in the target character set. To solve this issue, you can use transliteration (SYSTAB/USRTAB) or character substitution (CHRMOD=SUB) or ignore (CHTMOD=IGNORE) such characters.