Skip to Content
0
Former Member
Jun 12, 2007 at 01:56 PM

creation of data type

16 Views

hi all xi developers.

iam new to xi.

so here i got one spec like.

in sender file.

HEADER|22012007|WMD

123565139|220.05

133565127|1230.05

143565511|260.00

153565812|11345.05

122565912|320.05

123565013|21259

125565814|232.05

131565212|200.00

132565145|38.05

134565173|5213.10

136565191|298.05

137565132|228.10

TRAILER|12|40843.55

here i got one doubt like how the reciver file adapter is going to recognize which one will be the header,which will be the body n which will be the footer.

i.e how we can define all these in reciever com channel,sender channel.

so i wanna to change the sender file as.

HEADER|22012007|WMD

BODY|123565139|220.05

BODY|133565127|1230.05

BODY|143565511|260.00

BODY|153565812|11345.05

BODY|122565912|320.05

BODY|123565013|21259

BODY|125565814|232.05

BODY|131565212|200.00

BODY|132565145|38.05

BODY|134565173|5213.10

BODY|136565191|298.05

BODY|137565132|228.10

TRAILER|12|40843.55

and iam creating sender data type as.

header

identifier

docdate

siteid

detailed

identifier

accno

amount

trailer

identifier

totrec

totalamt

and i want to set sender comchannel as under keyfieldname as identifier and headerkeyfield value as HEADER,n similarly bodykeyfieldvalue as BODY n for footer the same thing.and header.field names as identifier,docdate,siteid.header fields as identifier,docdate,siteid.

n similarly for other body n trailer.

but when i set these on design and configuration.

iam getting eror under sender file adapter as footer.fieldfixedlenghts,footer.fieldseparator is missing.

waiting for the superb answer.

bye.

regards.

seeta ram.