cancel
Showing results for 
Search instead for 
Did you mean: 

File Content Conversion on the Receiving side

Former Member
0 Kudos

How to do FCC on the receiving side? I have scenario which has a datatype with Recordset under which there is HeaderRecords, EntryRecords, TrailerRecords as segments with fields under them.I want to give pipe as the field separator and nl as endseparator.Do I have to give Pipe symbol in inverted commas?

Thanks in advance..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Aprajita,

You will have to use the Hex code of the pipe symbol. i.e. use 0x7C

For newline character, simply give 'nl' (in inverted commas).

For FCC on receiver (and sender) see [this article|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/].

Hope this helps.

Regards,

Riyaz

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

In your Receiver File Adapter do like this.

Recordset Structure* = HeaderRecords,EntryRecords,TrailerRecords

HeaderRecords.fieldSeparator = I

HeaderRecords.endSeparator = 'nl'

EntryRecords.fieldSeparator = I

EntryRecords.endSeparator = 'nl'

TrailerRecords.fieldSeparator = I

TrailerRecords.endSeparator = 'nl'

You only need to give fieldSeparator & endSeparator.

Regards,

Sarvesh

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

You can have this as Refference

REgards

Seshagiri

former_member190389
Active Contributor
0 Kudos

use fieldname.fieldSeparator =|

and fieldname.endSeparator = 'nl'

no inverted commas for pipe

Former Member
0 Kudos

Do I have to use anything else also other than fieldSeparator & endSeparator?