Re: Newbie Question
- From: Howard Brazee <howard@xxxxxxxxxx>
- Date: Wed, 31 May 2006 09:32:57 -0600
On 31 May 2006 08:27:26 -0700, the_tragic_hip@xxxxxxxxx wrote:
I had this small cobol routine dropped on my desk and need to convert
it into a vb app, but I am not all that familiar with most of cobol. I
can read most of it and decipher what is going on, but having trouble
with this move.
var1 pic 9 comp.
var2 pic 9(10)
If var2 had the value of 138755482 and
MOVE VAR2 TO VAR1 is executed, what is actually stored in var1.
I apologize if this is a no brainer.
Thanks in advance.
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.
.
- Follow-Ups:
- Re: Newbie Question
- From: theHip
- Re: Newbie Question
- References:
- Newbie Question
- From: the_tragic_hip
- Newbie Question
- Prev by Date: Newbie Question
- Next by Date: Re: Newbie Question
- Previous by thread: Newbie Question
- Next by thread: Re: Newbie Question
- Index(es):
Relevant Pages
|