Copying files: Overview
You can use the copy function to move data between device files, between database files (including distributed DB2® Multisystem files), or between device and database files.
Unlike traditional copy utilities, the i5/OS® copy function is field-level sensitive. Therefore, if you use the copy function, you can rearrange, enlarge, or drop any of the fields. The system also provides a way to define database files. Specific copy commands simplify dealing with tape and diskette units, database source files, and open query files.
See the Control language topic for the specific parameters supported by each copy command.
- Copying files: Commands
You can copy records to and from files with commands discussed in this topic.
- Copying files: Supported functions
The i5/OS operating system provides many copy functions for database files and for device files. Each function has associated parameters and files types.
- Copying files: Basic functions
You can copy from a physical or logical database file, open query file, diskette file, tape file, or inline data file. The to-file can be a physical database file, diskette file, tape file, program-described printer file, or *PRINT.
Parent topic:
Copying files
Related concepts
Copying physical or logical files
Related information
Control language