cancel
Showing results for 
Search instead for 
Did you mean: 

Flat file content conversion repeating fields

peter_dougherty
Explorer
0 Kudos

Hello,

I have a flat file where the first three fields are fixed; the rest of the file line is made up of 1 .. n analysis characteristic results. The name of the field (Result) is always the same, but I never know how many results I will have on one line. Could anyone tell me how I might define this in content conversion ? Thanks in advance.

Peter DOUGHERTY.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I think you'll have to define it as 1 large field (like 500 chars) or so, and loop through it in the mapping to split up the characteristics fields.

Former Member
0 Kudos

Peter,

Can you give a bit clear picture of your problem?

Regards,

Sarvesh

Former Member
0 Kudos

hi peter,

your issue is a bit confusing, can you give us your inbound file.

peter_dougherty
Explorer
0 Kudos

Sorry,

Of course ... here it is

10059514 22/09/08 8:29:02 20,2 0 0 0 0,30 0 133 0 0 0 0 0 0 0 0 0 0 0

The first field is the Id of the sample

Second field Date

Third field Time

The 4th ... 21st fields a (varying) number of results (here there are 18, but there could be any number from 1 upwards)

Hope it is clearer

Thanks

Peter

Former Member
0 Kudos

Peter,

I need little bit more information about your scenario.

Can you tell me, how will be your target structure?

How are you source data is separated in incoming file, I mean with comma or something else or nothing´?

Regards,

Sarvesh

Former Member
0 Kudos

Hello Peter,

Go through this blog for FCC, in this blog the FCC has been used for Unequal Number of Columns in the incoming file.

Regards,

Sarvesh