|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
RE: String Length

Most translators (non-homegrown) will strip out non significant characters
(spaces) and leading zeros (if the element is defined as numeric),
regardless of minimum length. And they should.
I think it is as X12 is designed to be compact as bandwith and bytecounts
add up costs in transmission. X12 is not considered a data structure
per-se, so it does not follow data typing conventions of application files.
I see it as a data transmission format / standard. (Which is why you have
translators in the first place, right?)
In translating to an Application, the spaces and leading zeros "can" be
restored according to the Application File. Most will allow you to "pad
with zeros" or treat spaces as a significant character - but that also
depends on the Application / OS etc.
Regards,
Mary
-----Original Message-----
From: DPR [mailto:
Sent: Friday, September 20, 2002 10:34 AM
To:
Subject: [EDI-L] String Length
I admit, I have not used but 3 translators in my career. GENTRAN/VSE,
GENTRAN/MVS and GENTRAN/AS400.
In each of those translators, trailing spaces are eliminated regardless of
the source or minimum length. So that even if you try to force them in with
mapping, they will be stripped out. On an AN 10/10 element, the 10th
position needs to be a non-space alphanumeric character.
I understand other translators work differently. Those versions of GENTRAN
use a table driven map so that you don't have to compile a program for each
map. It's all driven off the mapping tables. I've heard other translators
require a program be compiled from the map for each different document and
version.
My knowledge base is a bit different from current technology.
Other comments.
I find it poetic justice that CA has purchased Sterling. Of course this
isn't to the customers advantage at all. Development will slow to a crawl
and the products will be turned into cash cows, and the price of support
will sky rocket.
It's almost prophetic that any company that proclaims "We will never sell
out to CA" eventually gets bought out by CA. I worked for Goal systems, when
Legent bought Goal out as a white knight, to keep CA from getting it. A year
later CA got it all. CA got Platinum Software also.
When Sterling was at the top of the heap, they rubbed it in everyone's nose.
I guess now CA is rubbing Sterling's nose in it.
Sarcasm and sour grapes fully intended.
Dennis Robinson
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/
|
 |
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|