Re: DISPLAY Statement Throwing Trash No Matter What



In article <Ysypl.23588$ZP4.13309@xxxxxxxxxxxxxxxxxxxx>,
Michael Mattias <mmattias@xxxxxxxxxxxxxx> wrote:

[snip]

I never had a problem with ADD, but I do remember some kind of similar
problem I had with SUBTRACT which was solved by COMPUTEing instead.

As was mentioned... the problem I was diddling with put out a DISPLAY that
went to a SYSOUT dataset which was later read by a different program which
relied on the numbers being in that whacky format... so fixing one thing
would cause something downstream to break. I've sung that song often
enough that I can do harmony on it... no need to start vocalising now.

As for COMPUTE versus ADD/SUBTRACT/etc... I've looked through a few ASM
lists and haven't been able to see a difference in generated code for the
statements. If there's an example you think might bear further research
I'd be glad to give it the proverbial whack.

DD

.



Relevant Pages

  • Re: DISPLAY Statement Throwing Trash No Matter What
    ... Michael Mattias wrote: ... manipulated by a SUBTRACT... ... generating ZAP and AP structures... ...
    (comp.lang.cobol)
  • Re: Reading date stored in binary fomrat
    ... >datetime functions to return this value either as a tm structure or as a ... Projecting the current calendar system back to January 1, year 1, ... If you subtract 719162 from 731553, ...
    (comp.lang.c)
  • Re: An exercise in analogy...
    ... bbhistorian@xxxxxxxxxxx venit, vidit, et dixit: ... the Yankee DL for most of the year.? ... nor did I subtract for tens of millions of dollars that have ...
    (alt.sports.baseball.bos-redsox)
  • RE: executing block on
    ... Subject: executing block on <STDIN> ... Basically, I set $start_time = time;, subtract out time waiting ...
    (perl.beginners)
  • Re: Very OT - Your Congress At Work
    ... Did you express similar outrage when Mark Foley was diddling with little ...
    (rec.woodworking)