<div dir="ltr">Hi,<br><br>OrdStatus is a CHAR field. You'll need to write your own parser to convert the value to a string like 'filled'.<br><br>See <a href="https://www.onixs.biz/fix-dictionary/4.2/tagnum_39.html">https://www.onixs.biz/fix-dictionary/4.2/tagnum_39.html</a><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><font size="2"><br></font></div><div><font size="2">Francis</font></div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 24, 2021 at 8:28 AM <<a href="mailto:quickfixn-request@lists.quickfixn.com">quickfixn-request@lists.quickfixn.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">Send Quickfixn mailing list submissions to<br>
<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:quickfixn-request@lists.quickfixn.com" target="_blank">quickfixn-request@lists.quickfixn.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:quickfixn-owner@lists.quickfixn.com" target="_blank">quickfixn-owner@lists.quickfixn.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Quickfixn digest..."<br>
Today's Topics:<br>
<br>
1. Message values (<a href="mailto:alancloughley@hotmail.com" target="_blank">alancloughley@hotmail.com</a>)<br>
2. Re: Message values (Lanfranco Morini)<br>
<br><br><br>---------- Forwarded message ----------<br>From: <<a href="mailto:alancloughley@hotmail.com" target="_blank">alancloughley@hotmail.com</a>><br>To: "'Mailing list for QuickFIX/n'" <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>Cc: <br>Bcc: <br>Date: Wed, 24 Feb 2021 12:46:04 -0000<br>Subject: {{Quickfixn}} Message values<br>
<div lang="EN-GB"><div class="gmail-m_6795119788840373565WordSection1"><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Looking for a bit of advice on getting values from messages. I’ve looked online but can’t find a solution or info to help me better understand why it is not working as expected.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">On my first initiator build I was able to get the field description from a received message and display that string. For example an Executionreport message m, I could do; <span style="font-size:9.5pt;font-family:Consolas;color:black">m.Get(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black"> OrdStatus()).getValue().ToString();</span> and I would get the string as the field description e.g “FILLED”. On my current initiator build to a new broker the same method gives me the CHAR value of the field only, so instead of getting the string “FILLED” I just get “2”. I’ve tried various different combinations of Get, getVaue, GetString etc but I cannot get the description string, whatever I try the output is always “2”. Is there some specific code that I need to use to get the field description output? Like I said the previous broker connection worked, this time it does not which I find odd. Both data dictionaries for current and previous build have the exact same field chars and descriptions listed on the xml file.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks for any help here.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">A <u></u><u></u></p></div></div><br><br><br>---------- Forwarded message ----------<br>From: Lanfranco Morini <<a href="mailto:Lanfranco.Morini@cegeka.it" target="_blank">Lanfranco.Morini@cegeka.it</a>><br>To: "Mailing list for QuickFIX/n" <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>Cc: <br>Bcc: <br>Date: Wed, 24 Feb 2021 13:27:52 +0000<br>Subject: Re: {{Quickfixn}} Message values<br>
<div lang="IT" style="overflow-wrap: break-word;">
<div class="gmail-m_6795119788840373565WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Alan,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">did you already try with <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas">m.GetString(Tags.OrdStatus)</span><span lang="EN-US"> ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Lan<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="429" style="width:321.6pt">
<tbody>
<tr>
<td style="padding:0cm">
<p class="MsoNormal"><b><span style="color:rgb(44,48,52)">Lanfranco Giuseppe Morini</span></b><span style="color:rgb(44,48,52)">
</span><span style="color:black"><br>
</span><b><span style="color:rgb(155,176,183)">APPLICATIONS </span>
</b><span style="color:rgb(155,176,183)"> </span><span><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm"></td>
</tr>
<tr>
<td style="padding:0cm">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height:0.6pt">
<td style="padding:0cm;height:0.6pt">
<p class="MsoNormal"><span style="color:black"><img width="24" height="1" style="width: 0.25in; height: 0.0104in;" id="gmail-m_6795119788840373565Picture_x0020_1" src="cid:177d4bc7ed84ce8e91"></span><span style="color:black"> </span><span><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height:9pt">
<td style="padding:0cm;height:9pt"></td>
</tr>
<tr>
<td style="padding:0cm">
<p class="MsoNormal"><b><span style="color:rgb(44,48,52)">E</span></b><span style="color:rgb(44,48,52)">
</span><b><span style="color:rgb(0,152,195)"><a href="mailto:Lanfranco.Morini@cegeka.it" target="_blank">Lanfranco.Morini@cegeka.it</a></span></b><span style="color:black"><br>
</span><b><span style="color:rgb(44,48,52)">T </span></b><span style="color:rgb(44,48,52)">+39 02 254427 1</span><span style="color:rgb(77,85,91)">
</span><span style="color:black"><br>
</span><b><span style="color:rgb(44,48,52)">M</span></b><span style="color:rgb(44,48,52)"> +39 347 7282717<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>>
<b>On Behalf Of </b><a href="mailto:alancloughley@hotmail.com" target="_blank">alancloughley@hotmail.com</a><br>
<b>Sent:</b> mercoledì 24 febbraio 2021 13:46<br>
<b>To:</b> 'Mailing list for QuickFIX/n' <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>
<b>Subject:</b> {{Quickfixn}} Message values<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB">Hi all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Looking for a bit of advice on getting values from messages. I’ve looked online but can’t find a solution or info to help me better understand why it is not working as expected.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">On my first initiator build I was able to get the field description from a received message and display that string. For example an Executionreport message m, I could do;
</span><span lang="EN-GB" style="font-size:9.5pt;font-family:Consolas;color:black">m.Get(</span><span lang="EN-GB" style="font-size:9.5pt;font-family:Consolas;color:blue">new</span><span lang="EN-GB" style="font-size:9.5pt;font-family:Consolas;color:black">
OrdStatus()).getValue().ToString();</span><span lang="EN-GB"> and I would get the string as the field description e.g “FILLED”. On my current initiator build to a new broker the same method gives me the CHAR value of the field only, so instead of getting the
string “FILLED” I just get “2”. I’ve tried various different combinations of Get, getVaue, GetString etc but I cannot get the description string, whatever I try the output is always “2”. Is there some specific code that I need to use to get the field description
output? Like I said the previous broker connection worked, this time it does not which I find odd. Both data dictionaries for current and previous build have the exact same field chars and descriptions listed on the xml file.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanks for any help here.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">A <u></u><u></u></span></p>
</div>
</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>