HP3000-L Archives

July 2008, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Walter J. Murray" <[log in to unmask]>
Reply To:
Walter J. Murray
Date:
Sun, 6 Jul 2008 21:39:26 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Brian asks:

> So I ask the question again -- is binary zero = nulls (low-values) or
a
> plain old value of zeroes....??

Gilles's answer is correct.  

It can be difficult to talk about "nulls", because words like "null" and
"NUL" are often used to mean different things, and people often don't
use them very precisely.  

Specifically with regard to COBOL, its not very meaningful to ask
whether binary zero is the same as "nulls", since the COBOL language
doesn't define the term "nulls".

For the question at hand, if TRANS-ID is defined as PIC S9(9) COMP, then
MOVE 0 or MOVE ZERO or INITIALIZE will all do the trick.

Walter  

Walter J. Murray

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2