Partner Import and Export Files
The partner import and export files (*.PAR) enable you to create a new partner based on information you previously defined. These files are free-format ASCII text with a .PAR extension, consisting of a dump of the partner database tables in a sequential format in which each field is delimited (separated) with Hex01. The delimiters are necessary because the field lengths are variable.
The .PAR file begins with the partner version number, which is 1.0 followed by the Hex01 delimiter. Next is the information from the partner database tables. Each table is identified by a three-character code and the Hex01 delimiter.
Note: If the partner does not have specific information defined (such
as location, lookup, or cross-reference tables), then the .PAR file
created does not contain any related data for those tables. In the
following sections, the tables are listed sequentially, in the order
they will appear in the .PAR file.
Database table codes
| Partner Database Table | Table Name | Ident. Code |
|---|---|---|
| Partner main table | Partner_tb | PAR |
| Location table | Location_tb | LOC |
| Lookup table | Lookup_tb | LKP |
| Cross-reference table | CrossReference_tb | CRR |
| Relationship table | Relationship_tb | REL |
| Interchange control table | InterchangeControl_tb | INT |
| Functional group control table | FunctionalGroupControl_tb | GRP |
| Generic envelope segment table | GenericEnvelopeSegment_tb | ENV |
The .PAR file begins with a PAR segment, followed by a REL segment.
Table Layouts
See the following topics for more information:
- Partner Table - The field names, preceded by the identifier code PAR, are used in the .PAR file.
- Location Table - The field names, preceded by the identifier code LOC, are used in the .PAR file.
- Location Table - The field names, preceded by the identifier code LKP, are used in the .PAR file.
- Cross-Reference Table - The field names, preceded by the identifier code CRR, are used in the .PAR file.
- Relationship Table - The field names, preceded by the identifier code REL, are used in the .PAR file.
- Interchange Control Table - The field names, preceded by the identifier code INT, are used in the .PAR file.
- Functional Group Control Table - The field names, preceded by the identifier code GRP, are used in the .PAR file.
- Generic Envelope Segment Table - The field names, preceded by the identifier code ENV, are used in the .PAR file.