cancel
Showing results for 
Search instead for 
Did you mean: 

Error in FCC-Sender Channel.

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

check and remove trailing spaces (if any) in the FCC parameters


DT_HEADER.fieldNames=KEY,FILENAME

rajasekhar_reddy14
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Raj,

Thanks for quick reply. i no need to change the DT structure. i want to the Sender XML as i given above.

\Can u pls tell me is there anything wrong in FCC or the Sender file (input file).

Regard's

Preethi.