<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">1) I recommend that you have a DataDictionary. If the message has a repeating group, then you MUST have one. It is impossible to parse repeating groups without a DataDictionary.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">2) 10 is required to be the last field in the message. It sounds like you might not know FIX.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">3) It sounds like what you are doing is not well-considered. You can't send a verbatim message and expect it to work. The sending-time and sequence number need to be updated, and hence the checksum also needs to be updated. <b>You can't "replay" a FIX log and expect it to work.</b></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 11, 2019 at 9:53 AM Jie Zhu <<a href="mailto:Jie.Zhu@icbkfs.com">Jie.Zhu@icbkfs.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_4445860736660524257WordSection1"><p class="MsoNormal"><span style="color:rgb(31,73,125)">I removed the tag/value 10=153 from the string, now it has the same error </span>“could not parse message: Error at postion(347) while parsing msg(…)”<span style="color:rgb(31,73,125)">. Position 347 is where the last the last equal sign seated. <u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> Quickfixn [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Jie Zhu<br><b>Sent:</b> Wednesday, September 11, 2019 10:37 AM<br><b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a><br><b>Subject:</b> {{Quickfixn}} Create Quickfix message from String<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> I am creating a fix message from a string. As I don’t have data dictionary and our client only want me to send the fix message he created in txt file. In my configurations, I set:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">UseDataDictionary=N<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">ValidateLengthAndChecksum=N<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">ValidateFieldsOutOfOrder=N<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">ValidateFieldsHaveValues=N<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">ValidateUserDefinedFields=N</span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"> </span> I read the string (tradeStr) message, and use var msg=new Message(tradeStr) to create the fix message object. There comes out an exception, “could not parse message: Error at postion(359) while parsing msg(…)”. I looked at the position 359 in his string is the position after tag 10 in the trailer. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> So how can I fix this issues.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks for the help. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jie<u></u><u></u></p><p>This email and any attached files are confidential and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this email. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the contents of this message which may arise as a result of email transmission. If verification is required please request a hard copy.<u></u><u></u></p></div><p>This email and any attached files are confidential and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this email. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the contents of this message which may arise as a result of email transmission. If verification is required please request a hard copy.</p></div>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div><font size="2"><span style="background-color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:rgb(255,204,51)"><span style="background-color:rgb(255,204,102)"><span style="background-color:rgb(255,204,153)"><span style="background-color:rgb(255,255,255)"><span style="background-color:rgb(255,204,0)">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>