cancel
Showing results for 
Search instead for 
Did you mean: 

File to File Scenario

Former Member
0 Kudos

Hi,

I have simple file to file scenario with data from source message to the target message but the file created by FCC is empty with no data in it. Source file is flat file with simple structure with comma separated fields and message mapping shows successful test. FCC has Document name: Source Message type, Recordset Name: Records, Recordset Structure: Rows, FCC parameters: <names>.fieldNames, <names>.fieldSeparator, <names>.endSeparator. Could this be a FCC issue or adapter framework or a bug in the system? The resulting xml message only has empty tags with no data in it.

Please advice.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Closing this thread, thanks to all who helped.

Former Member
0 Kudos

>>I have simple file to file scenario with data from source message to the target message but the file created by FCC is empty with no data in it. Source file is flat file with simple structure with comma separated fields and message mapping shows successful test. FCC has Document name: Source Message type, Recordset Name: Records, Recordset Structure: Rows, FCC parameters: <names>.fieldNames, <names>.fieldSeparator, <names>.endSeparator. Could this be a FCC issue or adapter framework or a bug in the system? The resulting xml message only has empty tags with no data in it.

1. Check with channel monitor in RWB? it will show you exact error.

2. Did you mentioned document name space?

3. r u giving exact syntax for fcc parameters

ex :

names.fieldSeparator =,

names.endseparatopr='nl'

names.fieldNames=xxxx,xxxx,xxx

and try with

ignoreRecordsetName = true

Hope it works..

Shankar.

Former Member
0 Kudos

Hi,

1. Check with channel monitor in RWB? it will show you exact error.

No error in the Communicaiton Channel - Adapters work fine.

2. Did you mentioned document name space?

Yes, document namespace is given in FCC

3. r u giving exact syntax for fcc parameters

Yes, all parameters have been correctly specified otherwise the communication channel will give error.

Thank you!

Former Member
0 Kudos

what is source file? can you copy sample source file here?

Former Member
0 Kudos

Empid,F_Name,M_Init,L_Name,Age,Add1,Add2,City,State,Zip,Tel1,Tel2

36672,Serene,F,Merced,33,12345 Some St,101,Some City,NY,11439,1234567890,987654321

Former Member
0 Kudos

i Just tried with your source sample file, every thing coming properly. I didn't see any problem.

Check again FCC parameters.

Recordset Structure = rows,*

rows.addHeader = 1

rows.fieldSeparator = ,

rows.endSeparator = 'nl'

and how you want output from source file?

-shankar

Former Member
0 Kudos

Is this your message type structure?

<MT>

- <Row>

-- <Records>

--- <names>

</MT>

then there is nested structure in your structure. FCC can read upto 2 level.

-Shankar