[This message was posted by Paul Raskin of RJ O'Brien <[email protected]> to 
the "General Q/A" discussion forum at http://fixprotocol.org/discuss/22. You 
can reply to it on-line at http://fixprotocol.org/discuss/read/9185e2cc - 
PLEASE DO NOT REPLY BY MAIL.]

Thank you for the correction, Mahesh. The checksum should indeed always be a 
3-byte value. I was assuming the use of some flavor of QuickFix, which will pad 
with leading zeroes as needed when setting the checksum field.

> Trailer Tag 10 should always be exactly three digits long i.e. of the
> form ^10=123^, if the int checksum value calculated is less than three
> digits long, then left pad it with zeros to make it three digits long.
> 
> > Hi Sachin,
> >
> > The value for tag 8 should be FIX.4.2, but you had FIX4.2 (notice the
> > extra period). The value of the field CheckSum (tag 10) should be an
> > integer value, not a string (you have 10=KED).
> >
> > Your message should look like this (with a new value for tag 9):
> >
> > FIX.4.2 9=138 35=S 49=Broker 56=Institution 34=251 52=2000072814:06:2-
> > 117=XXX 131=YYY 55=AA 200=199901 202=25.00 201=1 132=5.00 133=5.25 13-
> > 4=10 135=10 10=8 
> >
> > I'm assuming you're using QuickFix since you are using a Message
> > object, but I may be mistaken. Regardless, the message should parse
> > correctly with the changes I've noted. Please let me know if it still
> > doesn't work.
> >
> > Paul
> >
> > > Hi everybody
> > >
> > >  I'm trying to extract FIX message from file i then send it to the
> > >  Fix Acceptor, Initially i'm only trying to create Message object
> > >  with string as
> > >
> > >  ="8=FIX4.2<SOH>9=222<SOH>35=S<SOH>49=Broker<SOH>56=Institution<SOH-
> > >  >=1<SOH>52=2000072814:06:22<SOH>117=XXX<SOH>131=YYY<SOH>55=AA<SOH>-
> > >  199901<SOH>202=25.00<SOH>201=1<SOH>132=5.00<SOH>133=5.25<SOH>134=1-
> > >  <SOH>135=10<SOH>10=KED<SOH>";
> > >
> > >
> > >  Message m=new Message(line);
> > >
> > > But its not working.. please let me know where i'm going wrong


[You can unsubscribe from this discussion group by sending a message to 
mailto:[email protected]]

--

You received this message because you are subscribed to the Google Groups 
"Financial Information eXchange" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fix-protocol?hl=en.


Reply via email to