on 02-01-2012 7:00 AM
Hi Experts,
I have configured the following FCC in Sender communication Channel.
DT_HEADER.keyFieldValue =1
DT_HEADER.fieldNames = KEY,FILENAME
DT_RECORDS.keyFieldValue= 2
DT_HEADER.fieldNames= KEY,AMOUNT
DT_TRAILER.keyFieldValue =3
DT_TRAILER.fieldNames= KEY,SUM
DT_HEADER.fieldSeparator = ,
DT_RECORDS.fieldSeparator= ,
DT_TRAILER.fieldSeparator = ,
DT_TRAILER.endSeparator = 'nl'
DT_RECORDS.endSeparator= 'nl'
DT_HEADER.endSeparator = 'nl'
My sender text file is
1,RDFILE
2,100
3,100
In RWB i am getting the following error message,
Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'DT_HEADER.fieldFixedLengths' or 'DT_HEADER.fieldSeparator' is missing Consistency check: no. of arguments in 'DT_HEADER.fieldFixedLength' does not match 'DT_HEADER.fieldNames' (0 <> 2)
i need to get Sender XML structure as follows
<DT_HEADER>
<KEY/>
<FILENAME/>
</DT_HEADER>
<DT_RECORDS>
<KEY/>
<AMOUNT/>
</DT_RECORDS>
<DT_TALER>
<KEY/>
<SUM/>
</DT_TALER>
i dont know where i did the mistake can any one help me to solve this issue.
Regard's
Preethi.
check and remove trailing spaces (if any) in the FCC parameters
DT_HEADER.fieldNames=KEY,FILENAME
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You need alter Data type structure first then do file content conversion
DT_Record
<Header>
<Key>
<FileName>
</Header>
<Trailer>
------
</trailer?
then add
HEADER.keyFieldValue =1
HEADER.fieldNames = KEY,FILENAME
RECORDS.keyFieldValue= 2
........
It works
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.