Restrictions for the CPYTOIMPF command
There are certain restrictions apply to the CPYTOIMPF command.
- The command restricts the correct usage for delimiters.
- The data type of a database file for the to-file can be any of the following types:
- CHARACTER, IGC OPEN, IGC EITHER, IGC ONLY, GRAPHIC, or variable length. Its length must be capable of containing the data of the from-file, separators, and any data conversions.
- The to-file and from-file cannot be the same file.
- The from-file cannot be a multi-formatted logical file.
- If the to-file's record length is not long enough, an error is signaled.
- IGCDTA is not supported for the CPYTOIMPF command.
You can use this command on files that contain user-defined types (UDTs) and user-defined functions (UDFs). You cannot use this command on files that contain large objects (LOBs) or DataLinks (DLs).
Using the CPYTOIMPF command with a JOBCCSID of 65535 might produce inaccurate or unpredictable results.
Parent topic:
Using the Copy To Import File (CPYTOIMPF) command to copy between different systems
Related information
CPYTOIMPF command