Skip to Content
0
Mar 11, 2010 at 01:55 PM

adapter file receiver - file with fix length record

14 Views

Hi everybody,

In the file adapter receiver, I want to create a fixed length record file .

Each record need to have the same size.

How is it possible, because I have a file which contains variable legnth depending of the lenght of message?

exemple:

<mess>

<row>1234567</row>

<row>123456789A</row>

</mess>

give the file

1234567<CR>

123456789A<CR>

<CR> means carriage return

and I want a file like

1234567 <CR>

123456789A<CR>

with the same lenth of record (10 in the example).

Can anyone help me, ,please?

Kind regards.

E. Koralewski