|
<<SNIP>> my work-around was this:
if DS_HRESD01.D1CHGAMT < 0;
DS_DETD01 *= (-1);
endif;
and it worked. So, the subfield DS_HRESD01.D1CHGAMT is recognized as
a negative value;
Barbara Morris on Friday, May 10, 2013 8:36 PM wrote:
On 5/10/2013 9:56 AM, Florin Todor wrote:
ds_hresD01 = f_in210txt;
// DS_HRESD01.D1CHGAMT = -793.49 <---- from Debug session
eval-corr ds_detD01 = ds_hresD01;
// D1CHGAMT OF DS_DETD01 = 0000000793.49 <-- from Debug session
That's interesting that the debugger shows the zoned value that
way. If that '-' character happened to be '/', the debugger would
show the value of DS_HRESD01.D1CHGAMT as /793.49. <<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.