cancel
Showing results for 
Search instead for 
Did you mean: 

File to fcc

Former Member
0 Kudos

I'm working on file to file Fcc Scenario that is having fields like Emp_name, id , address, sex... so, i want to send multiple records, like emp_id(001,002,003,004,005...) at a time from source to Target.

Please help on this.

Thanks & Regards,

Aryan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Read the source content normally and assume that each field contain many values. Then inside the message mapping You can split each value and generate many records at target side.

It would be great If you show us the complete source content(example).

Regards

Ivan

Former Member
0 Kudos

Hi,

can anybody provide me snapshot of this.

thanx

Aryan

Former Member
0 Kudos

Hi,

Pls, show us your source structure and a file example for the content(multiple value).

Regards

Ivan

Former Member
0 Kudos

<?xml version="1.0" encoding="UTF-8"?>

<ns0:fcc2f_mt xmlns:ns0="http://balaji_fcc_file">

<recordset>

<records>

<Emp_id/>

<Emp_name/>

<Emp_add/>

<Emp_sex/>

</records>

</recordset>

</ns0:fcc2f_mt>

Former Member
0 Kudos

Hi Ivan,

This is my source message structure.

what i want to do is, just send multiple records of this to target side using xml file to fcc scenario.

THNX,

Aryan

Edited by: Aryansolanki on Sep 8, 2009 4:59 PM

Former Member
0 Kudos

Hi,

Remove recordset in your datatype also should work. I hope you have records, Emp_id, Emp_name and Emp_sex are there as fields in your xml file.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:fcc2f_mt xmlns:ns0="http://balaji_fcc_file">

<records>

<Emp_id/>

<Emp_name/>

<Emp_add/>

<Emp_sex/>

</records>

</ns0:fcc2f_mt>

You dont need any content conversion, because as you said your source file is an xml file.

Regards,

---Satish

Answers (3)

Answers (3)

Former Member
0 Kudos

THANKS TOO BALAJI Sir

Edited by: Aryansolanki on Sep 10, 2009 10:01 PM

prasannakrishna_mynam
Contributor
0 Kudos

Hello Solanki,

You need to control that while designing your source and target structures, for instance in your scenario the source structure should look as shown blew.

Source Structure

<Employee>   0...unbound
         EmpId
          Name
           address
<Employee>

desing your target structure similar to source and perform FCC at receiver communication channel.

hope you gone through this blog

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Regards,

Prasanna

former_member187339
Active Contributor
0 Kudos

Hi,

How should the output be:

1. One file with all records : Create a File to FCC interface

2. One file per record: Either use multimapping or if the sender also requires FCC, then go for recordset per message and give i to be 1

Regards

Suraj