<div>Dont worry, I&#39;m not asking you to debug a 400 line program. I am working with packed decimal numbers. The assignment calls for 2 decimal places to the right of precision. For instance 10.23   </div>
<div> </div>
<div>When you Divide Pack decimal numberes like </div>
<div>NUM1  DC PL4&#39;22&#39;</div>
<div>NUM2  DC PL2&#39;3&#39;</div>
<div> </div>
<div>DP NUM1,NUM2</div>
<div> </div>
<div>... In NUM1 there is 7C00003C the remainder is even 3 bytes making plenty of room for his other friends &quot;the 3&#39;s&quot; (22/7=1.3333)</div>
<div> </div>
<div>The problem is, when I use the divide pack command, the remainder is always only 1 byte. It only gives one byte of precision. Is there a precision switch or flag I need to call to get two decimal places to the right? Do I have to set something up earlier in the program to get the precision I need. I&#39;ve tried multiplying the operands by 10 and 100 to induce the the fractional parts into the whole quotient of the answer, did not work, I&quot;ve tried increasing the remainder part the operation, did not work only padded with zeros at the beginning. </div>

<div> </div>
<div>Thanks for any help you could give, if you dont know thats OK too......Why can&#39;t python turn high level statements directly into ibm system370 assembler code? Get on it would you guido ;)</div>
<div>-Jon <br><br></div>
<div class="gmail_quote">On Fri, Nov 13, 2009 at 1:43 PM, Samir Faci <span dir="ltr">&lt;<a href="mailto:samir@esamir.com">samir@esamir.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I&#39;m not sure I want to own up to it... but.. maybe?   What&#39;s your question on?<br>
<div>
<div></div>
<div class="h5"><br><br><br>On Fri, Nov 13, 2009 at 1:33 PM, John Stoner &lt;<a href="mailto:johnstoner2@gmail.com">johnstoner2@gmail.com</a>&gt; wrote:<br>&gt; I don&#39;t know it currently, but I&#39;ve seen it many years ago. Integrated into<br>
&gt; the IBM PL/x family of languages.<br>&gt;<br>&gt; On Fri, Nov 13, 2009 at 1:25 PM, Jon Sudlow &lt;<a href="mailto:jsudlow@gmail.com">jsudlow@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; I know this is  way off topic, but do any of you know IBM system 370<br>
&gt;&gt; assembler language?<br>&gt;&gt;<br>&gt;&gt; On Fri, Nov 13, 2009 at 10:15 AM, Chad Homan &lt;<a href="mailto:choman@gmail.com">choman@gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; you wouldn&#39;t be willing to ship one to omaha?<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; If it helps to bribe, I will buy ya a beer sometime ;) maybe even at the<br>&gt;&gt;&gt; omaha python meeting<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Chad, CISSP<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Charles de Gaulle  - &quot;The better I get to know men, the more I find<br>
&gt;&gt;&gt; myself loving dogs.&quot;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Fri, Nov 13, 2009 at 6:39 AM, David Beazley &lt;<a href="mailto:d-beazley@sbcglobal.net">d-beazley@sbcglobal.net</a>&gt;<br>&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; On the subject of Chad&#39;s offer to give away his Python Essential<br>&gt;&gt;&gt;&gt; Reference book, I&#39;ll just add that I probably have about 20 pristine signed<br>&gt;&gt;&gt;&gt; copies of 1st and 2nd editions sitting in my office.   If someone wants one,<br>
&gt;&gt;&gt;&gt; perhaps as some kind of historical record of when Python was simpler, send<br>&gt;&gt;&gt;&gt; me an email and I&#39;ll bring a copy to the next Chipy meeting.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt; Dave<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; Chicago mailing list<br>&gt;&gt;&gt;&gt; <a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://mail.python.org/mailman/listinfo/chicago" target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Chicago mailing list<br>&gt;&gt;&gt; <a href="mailto:Chicago@python.org">Chicago@python.org</a><br>&gt;&gt;&gt; <a href="http://mail.python.org/mailman/listinfo/chicago" target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Chicago mailing list<br>&gt;&gt; <a href="mailto:Chicago@python.org">Chicago@python.org</a><br>&gt;&gt; <a href="http://mail.python.org/mailman/listinfo/chicago" target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; blogs:<br>&gt; <a href="http://www.generosity.org/stoner/" target="_blank">http://www.generosity.org/stoner/</a><br>&gt; <a href="http://boogiepants.typepad.com/" target="_blank">http://boogiepants.typepad.com/</a><br>
&gt; &#39;In knowledge is power; in  wisdom, humility.&#39;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Chicago mailing list<br>&gt; <a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
&gt; <a href="http://mail.python.org/mailman/listinfo/chicago" target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>&gt;<br>&gt;<br><br><br><br></div></div>--<br><font color="#888888">--<br>Samir Faci<br>
*insert title*<br>`fortune`<br></font>
<div>
<div></div>
<div class="h5">_______________________________________________<br>Chicago mailing list<br><a href="mailto:Chicago@python.org">Chicago@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/chicago" target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
</div></div></blockquote></div><br>