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:
Brian Donaldson <[log in to unmask]>
Reply To:
Date:
Mon, 7 Jul 2008 08:56:32 EDT
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (843 bytes) , text/plain (759 bytes)
Walter:

Thanks for your reply. The TurboIMAGE manual says to move  BINARY ZEROES to 
the trans-id
field and that really confused me.
 
My confusion is that I wasn't sure binary zeroes is the same as the  good old 
MOVE ZEROES to trans-id field or if it was something else.
 
By "nulls" I mean "no value" (not low-values). I believe this can be  
accomplished with the use of the %0 (octal zero) statement (move %0 to field  name)
 
However, I opted for the INITIALIZE statement which must work ok, as my  
DBXBEGIN works just fine across multiple databases.
 
Thanks again,
Brian.



**************Gas prices getting you down? Search AOL Autos for 
fuel-efficient used cars.      (http://autos.aol.com/used?ncid=aolaut00050000000007)

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



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