cancel
Showing results for 
Search instead for 
Did you mean: 

File to File scenario

Former Member
0 Kudos

Hi experts,

I am doing File to File (CSV to CSV) scenario. It is very simple scenario but I am getting weired output.

According the requierments: Input file contains 100 records in CSV format and I need output Only 1 file that contains 100 records. But somehow I am getting 100 files containing 1 record each.

Following parameters I used in content conversion at sender side:

1) RS.fieldNames = abc,xyz,pqr, fgn

2) RS.fieldSeparator = ,

3) RS.endSeparator= 'nl'

4) RS.processFieldNames = fromConfiguration

5) RS.fieldContentFormatting = trim

6) RS.lastFieldOptional = YES

7) ignoreRecordsetName = true

Following parameters I used in content conversion at receiver side

1) RS.fieldSeparator = ,

2) RS.fieldNames = abc,xyz,pqr, fgn

3) RS.endSeparator= 'nl'

4) ignoreRecordsetName = true

Please let me know what should be the error and what I need to change?

Regards,

Chintan

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hey,

Check the context and the root node mapping.

regards,

Milan

pedro_baroni3
Active Contributor
0 Kudos

Hi Chintan,

See the Message Mapping on Blog:

Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)

Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)

Former Member
0 Kudos

Hi Chintan

I think there is a problem in mapping.

FCC for sender and Receiver looks fine. I think your target message is having issue with occurances or you mapped a wrong target node towards 0..unbounded occurance node. This will allow the target node to be created number of times source node.

So you can get 100 different target generated for 100 field generation at source.

Check mapping.

Thanks

Gaurav

Former Member
0 Kudos

check your target msg. and i guess the MessageType within the Message Interface is not unbounded.

Test your mapping with 2 records in the input msg. If it generates multiple MI, then problem with mapping.

pedro_baroni3
Active Contributor
0 Kudos

Hi, Chintan

See your data type receiver, column "ocurrence".

Edited by: Pedro Baroni on Oct 23, 2008 1:16 AM

Former Member
0 Kudos

Hi,

Check your interface mapping for message split. Hope you are not generating "N" number of taget message for each source record.

Check out this blogs on message splitting..

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

How many messages you see in sxmb_moni?

Nilesh