Skip to Content
0
Former Member
Nov 16, 2005 at 01:11 PM

File Missing in SXMB_MONI

24 Views

Hi,

I am reading a fixed width file using File sender adapter.

The data in the fixed width file is

Header1

Item1

Item2

Item3

Header2

Item1

Item2

Header3

Item1

In the recordset structure it is defined Header,,Item,

Header.fieldFixedLengths = 1,22

Header.endSeparator = 'nl'

Header.fieldNames = TYPE,CODE

Header.keyFieldName = 'H'

Header.lastFieldsOptional = YES

Header.ignoreRecordsetName = true

Item.fieldFixedLengths = 1,10

Item.endSeparator = 'nl'

Item.fieldNames = TYPE,QTY

Item.keyFieldName = 'I'

Item.lastFieldsOptional = YES

Item.ignoreRecordsetName = true

In the data type the definition of file is

<Message Type>

<Recordset>

<Header> Ocurrance 1 to unbounded

<TYPE>

<CODE>

<Item> Occurance 1 to unbounded

<Type>

<QTY>

The file is read but not shown in Message monitoring and SXMB_MONI.

but if i change the cardinality of recordset structure from Header,1,Item,1

I get the file in sxmb_moni but the structure is wrong.

Can any one tell what is wrong ?

Regards,

Monzy