|
That's our business! |
A COBOL layout fragment for this example is:
05 INDIVIDUAL-NAME. 10 LAST-NAME PIC X(12). 10 FIRST-NAME PIC X(8). 05 COMPANY-NAME REDEFINES INDIVIDUAL-NAME PIC X(20).(See Reading COBOL Layouts for more information.)
For example, take two records, one for the individual "Smith John " and the other for the company "Disc Interchange ". If you ignore the redefined issue, and treat the field as the company definition, then "Disc Interchange" will be correct, but the mail to John Smith will be addressed to "Smith John". If you treat the fields as individual name fields and put the first name before the last name, then the individual's name will be correct, like "John Smith", but any company name will get scrambled, like "ange Disc Interch". If your application can't deal with this, we can convert the data to a record with both individual name fields and company name fields.
Often the redefined fields are of a different type altogether. For example, redefining a character field as a binary field. This is much more serious than the above example, and the original field and the redefined field require different conversions (character and binary).
For more detail on redefined records, and solutions for converting them to PC files, see Part 6 of Reading COBOL Layouts
For more articles on data conversion, see our TechTalk Index.
Our COBOL Conversion ServicesDisc Interchange Service Company has years of experience dealing with COBOL files containing redefined fields and records. We employ many methods to convert the data to a PC database. With over 24 years of experience with thousands of files, we have the knowledge to suggest the best options for handling redefined fields and multiple record types. We are especially good at automating repeat conversions of files with multiple
record types. If you need to convert
the same data on a regular basis, we can write a custom program to convert
and Q.C your data to your specifications. Our experience in automating the
conversion process results in significantly lower cost, and excellent
quality-control.
|
|||||
|
Disc Interchange Service
Company, Inc.
Media Conversion Specialists
15 Stony Brook Road
Westford, MA 01886
(978) 692-0050