Normally DUMPALL does not perform data or character translation when it copies a file while it executes a COPY or a CAT command. The only translations that DUMPALL normally performs when it executes a LIST command are those required by formats or fields you specify and those required by the default print options or the print options you specify.
DUMPALL can perform data or character-set translations if you explicitly specify values for the INTMODE file attribute, the EXTMODE file attribute, or both.
Character set translations can occur in three places:
-
When DUMPALL is reading the input file, logical I/O can perform data translation if the INTMODE and EXTMODE attributes of the input file are not equal to each other.
-
When DUMPALL is copying data from the input buffer to the output buffer, DUMPALL can perform data translation if the INTMODE value of the input file is not equal to the INTMODE value of the output file.
-
When DUMPALL is writing to the output file, logical I/O can perform data translation if the INTMODE and EXTMODE attributes of the output file are not equal to each other.
You must be careful whenever you specify values for INTMODE or EXTMODE for the input file or the output file. If the records in the input file contain nontext data, such as decimal or integer numbers (COMP), real or floating point numbers (COMP-2), or other binary or numerical information, you probably should not let DUMPALL perform any data translations. If DUMPALL or logical I/O translate numerical fields in the input records, that data might not be usable or correct in the output records.
By default, DUMPALL sets the INTMODE of the input file, the INTMODE of the output file, and the EXTMODE of the output file all equal to the EXTMODE value of the input file. So, by default, DUMPALL does not perform data translations.
You can invoke and control data translations by using the following file attributes:
The previous descriptions explain that when modes differ, data translations can occur. For each of the three possible translations, whether or not a translation takes place depends on the exact value of the two modes involved and is determined as follows:
-
If the two modes are the same, no translations occur.
-
If one mode is SINGLE (word) and the other mode is HEX, EBCDIC, or ASCII, no translations occur.
-
If one mode is HEX, EBCDIC, or ASCII, and the other mode differs but is also either HEX, EBCDIC, or ASCII, translations occur.
-
Otherwise, the translation that occurs is determined by a procedure in the CENTRALSUPPORT library called CCSTOCCS_TRANS_TABLE. If a transliteration table is available for converting characters between the two coded character sets specified by the two modes, translation occurs; if no transliteration table exists, DUMPALL reports an error. For more information, refer to the MultiLingual System (MLS) Administration, Operations, and Programming Guide.