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

RE: <TECH> Mercator Help

From: "Art Douglas (San Dimas)" <ADouglas@...>
Date: Tue Jan 28, 2003  8:18 pm
Subject: RE: [EDI-L] <TECH> Mercator Help
Actually, the field is a signed overpunch. That means that the
representation is the hollerith card equivalent to the numeral with the
addition of a 12-row punch for positive, or an 11-row punch for negative.
If you don't know what an 11-row or 12-row is, please refer to your ancient
DP history text. If you don't know what DP is ...

So, you will need to set up a table of equivalents. A = +1, B = +2, ... I =
+9, J = -1, K = -2 etc. I can't remember if { is positive or negative zero,
but } is the opposite. Remember that the sign applies to the entire number,
but it is stored in the last character.

Maybe the better idea would be to have the MVS guys produce you a file with
the COBOL "USAGE DISPLAY" and a separate sign and explicit decimal.

Good luck.

Art Douglas
Manager, eCommerce Systems
PaperPak
San Dimas, CA
909-971-5025
 
"There are no victories at bargain prices."
                            -- Dwight D Eisenhower


-----Original Message-----
From: Rachel Foerster [mailto: Sent: Tuesday, January 28, 2003 11:51 AM
To: Subject: RE: [EDI-L] <TECH> Mercator Help


It's been a long time, but the numeric field could be a packed decimal.
Don't know the solution anymore - but 15 years ago we had to write small
routines to unpack the data.

Rachel Foerster
Principal
Rachel Foerster & Associates, Ltd.
Professionals in Health Care EDI
39432 North Avenue
Beach Park, IL 60099
Voice: 847-872-8070
Fax: 847-872-6860
eMail: http://www.rfa-edi.com



-----Original Message-----
From: John Nadvornik [mailto: Sent: Tuesday, January 28, 2003 12:57 PM
To: Subject: [EDI-L] <TECH> Mercator Help


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/




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/



[Non-text portions of this message have been removed]




 
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.