There are certain restrictions that apply to the CPYFRMIMPF command.
- The data type of the from-file must be one of two types:
- A source physical file
- A physical file with one field with a data type of CHARACTER, IGC OPEN,
IGC EITHER, IGC ONLY, GRAPHIC, fixed or variable length
- The copied records might have the same relative record numbers in the
to-file as in the from-file.
- Create the to-file before copying.
- RCDDEL *ALL finds the first occurrence of CRLF, LFCR, CR, or LF. This
value will be used as the RCDDEL throughout the rest of the program.
- The to-file and from-file cannot be the same file.
You can use this command on files that contain user-defined types (UDTs),
user-defined functions (UDFs), identity columns, ROWIDs, and large objects
(LOBs). You cannot use this command on files that contain DataLinks (DLs).
Using the CPYFRMIMPF command with a JOBCCSID of 65535 might produce inaccurate
or unpredictable results.