Re: Newbie Question



In article <1149090772.312634.210890@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
theHip <the_tragic_hip@xxxxxxxxx> wrote:
What is stored is 2, but it is stored in binary. This seems like a
weird thing to do, truncated a value but stored as binary. How is
VAR1 used?

What version of CoBOL are you using? Compiler and OS.

I thought that that was what was stored there, but I couldn't make
sense of it. This routine is a check to make sure an account number is
valid. It goes through a whole bunch of multipys and divides and such,
and then the outcome of all this must match var2.

Unfortunately, all I was handed was a piece of paper with the code, no
clue what version of CoBOL was being used or compiler.

So let me get this straight... you don't know COBOL, you don't have a
compiler so you cannot test your results... and someone expects a valid
answer out of you?

Based on the amount of attention and resources being paid to this problem
there is no money involved in it... good thing, too!

DD
.



Relevant Pages

  • Re: invoking a method
    ... The use of SET as shown here, will not work outside the Fujitsu Object COBOL ... invoke DBObject ... I will admit I have not worked on anyone else's Cobol compiler so I ... typical reference manual for a Cobol Compiler will have line and box based ...
    (comp.lang.cobol)
  • Re: COBOL Compiler for Windows
    ... rebadged Micro Focus compiler. ... to run TSO/SPF on your mainframe. ... Or maybe he wants a mainframe emulation environment, ... Why would a small developer pay several thousand for a .NET COBOL ...
    (comp.lang.cobol)
  • Re: Is Micro Focus doomed?
    ... I was shocked and amazed at the prices charged for COBOL compilers. ... I admit that at one time I could not afford a COBOL compiler, ... and programming in the first place. ... > fees for the compiler. ...
    (comp.lang.cobol)
  • Re: AIFCHANGELOGON
    ... a reference for the system, and programmers, to use system intrinsics. ... I don't know Walter Murray as maybe you do. ... there are few people on the planet who know HP's COBOL ... else in the ???INTR files the compiler would need to know. ...
    (comp.sys.hp.mpe)
  • Re: compile+link Fujitsu Linux
    ... has some problems for use in business programming. ... It is common for most of a large business application to be written in Cobol, ... chosen the compiler options and link parameters that work best for me. ... I keep telling you it's not my way, it's the Unix norm. ...
    (comp.lang.cobol)