[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

Re: <TECH> Mercator Help

From: Tom Brandt <tom.brandt@...>
Date: Tue Jan 28, 2003  9:22 pm
Subject: Re: [EDI-L] <TECH> Mercator Help
It's not necessarily from an IBM mainframe, since "zoned overpunch"
characters are still used by COBOL compilers on many systems to represent
signed numeric DISPLAY items.

You are correct that { = +0 and } = -0.

At 04:07 PM 1/28/2003 -0500, wrote:
>John,
>
>I'll give you 10 to 1 that the data is from an IBM mainframe. In EBCDIC
>I believe the correct terminology is "Zoned Decimal" rather than packed
>decimal.
>
>Art Douglas is correct in that it began in the old punched card days. By
>"overpunching" they turned the last character into a representation of
>the numeral plus a sign. That way you can carry the sign within the
>number itself without having to resort to a separate sign (- or +) taking
>up an extra character and having to worry about whether it was a leading
>or trailing sign. When you only had 4K of memory every character
>counted!
>
>If my memory serves me correctly (which happens less frequently as time
>marches on!) the left facing brace "{" represents a positive zero and the
>right facing brace "}" is a negative zero. For example:
>
>10{ = +100
>10} = -100
>10A = +101
>10J = -101
>10I = +109
>10R = -109
>
>
>Allan Bennett
>Cincinnati, OH

--------------------------------
Tom Brandt
Northtech Systems, Inc.
130 S. 1st Street, Suite 220
Ann Arbor, MI 48104-1343
http://www.northtech.com/




 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.