Skip to Content
0
Former Member
May 30, 2008 at 12:38 PM

File Content Conversion : Recordset Structure with * not reading file

715 Views

Hallo all,

we have the following problem.

we implemented a scenario as sown in this blog

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

but there is a problem.

If the file structure is declared as :

Header,1,Items,*

then the adapter does not even read the file from the directory (so I assume that for some reason the file structure is not as expected).

If on the other had the structured is declared as :

Header,1,Items,3

everything works.

Obviously though, this is not satisfying since we need variable cardinalities.

Here is an example :

I have a specific file in a standard directory, called xi_input.

The file is edited straight into that directory, so there can't be filename errors etc.

If the file is left empty :

Nothing happens . No message of any kind in sxmb_moni/monitoring xml messages .

If the file contains the following (data is random) , where 'H' is the key for the header and 'I' is the key for the items :

H 20060403 16 3 316001 kapou lalla morellala 20060403 F3 23

I 277101010 2

I 277101011 3

I 277101012 4

There are to cases :

if the file structure is declared as :

Header,1,Items,*

Then nothing happens .

If on the other had the structured is declared as :

Header,1,Items,3

everything works .

Any suggestions and help is appreciated

Thank you .