HP3000-L Archives

February 1995, 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:
"Ochs, Fred" <[log in to unmask]>
Reply To:
Ochs, Fred
Date:
Wed, 1 Feb 1995 07:55:34 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Chris Breemer writes:
 
>Could somebody tell me what the format of a "Zoned decimal (plus)"
>variable is. This seems to be used in Transact and DD/3000 but we have
>none of these products.
 
I think this was a format driven by key punches and I first encountered
it on IBM 360's. According to my ancient Transact manual it allocates
one byte per decimal digit except that the rightmost byte also contains
coding for the sign (if any).  The format of all but the rightmost byte
is ASCII. For the rightmost byte, see the table below for the ASCII
digit contained:
 
Low order digit...........: 0 1 2 3 4 5 6 7 8 9
Rightmost byte if positive: { A B C D E F G H I
Rightmost byte if negative: } J K L M N O P Q R
 
Yes, there can be both a positive and negative 0. As I recall you would
get the negative if a minus sign was overpunched on the 0 on the key
punched card. I think that effectively on the 3K you will not see a
negative 0 ever entered by the user.
 
Hope this helps.
 
Fred Ochs, Orbit Software

ATOM RSS1 RSS2