Allowed copy operations and parameters
You can select certain members to copy under certain conditions with certain parameters.
This table shows the file types into which you can copy members or labels based on the source file type:
Table 1. File types into which you can copy members or labels based on the source file type Diskette to: Database to: Database (physical file) Database (physical file) Diskette (Note 1) Diskette Tape (Note 2) Tape (Note 2) Printer Printer Notes:
This table shows the valid member or label parameters for copy commands:
Table 2. Valid member or label parameters for Copy commands FROMMBR1 FROMLABEL TOMBR TOLABEL CPYF X X CPYFRMDKT X X CPYFRMQRYF X CPYFRMTAP X X CPYSRCF X X CPYTODKT X X CPYTOTAP X CPYFRMIMPF X X CPYTOIMPF X X Notes:
- 1
- FROMMBR is not a parameter on the CPYFRMQRYF command because the members to be queried are specified on the OPNQRYF command.
Parent topic:
Selecting members to copy