|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
Re: <TECH> Mercator Help

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
On Tue, 28 Jan 2003 13:57:09 -0500 John Nadvornik
< writes:
> All,
>
> I was wondering if someone could answer what I hope is a simple
> Mercator
> Question.
>
> I have a flat file being sent to me from a MVS environment the file
> definition is in a COBOL Copy book, so I imported it into a type
> tree. I'm
> able to map everything correctly, except for the signed fields. The
> record
> looks like this in notepad
>
> 300 001 00000000AEA0000000000000{QT T 40707
>
> The data between the AE and the QT should be a quantity, but I can
> not seem
> to get it to map correctly. Does anyone have any suggestions?
> Please let
> me know if you need more information.
>
>
> Thanks,
> John
>
>
>
> To unsubscribe from this group, send an email to:
>
> Message Identifiers: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>,
> <EVENT>, <OFF-TOPIC>
> Access the list online at: http://groups.yahoo.com/group/EDI-L
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
|
|
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|