Prevent copy errors related to your authority to files

The table in this topic summarizes the authority that is required for the from-file and the to-file.

Table 1. Authority required to perform copy operation
  From-File To-File
DDM file *OBJOPR *READ *OBJOPR1 *ADD
Device file2 *OBJOPR *READ *OBJOPR *READ
Logical file *OBJOPR3 *READ Not allowed
Physical file *OBJOPR *READ *OBJOPR1 *ADD
:
1
This is the authority required for MBROPT(*ADD). If MBROPT(*REPLACE) is specified, *OBJMGT and *DLT authority are also required. If MBROPT(*UPDADD) is specified, *UPD authority is also required.
2
*OBJOPR and *READ authority is also required for any devices used for the file.
3
Also requires *READ authority to the based-on physical file members for the logical file members copied.

If the to-file does not exist and CRTFILE(*YES) is specified so that the copy command creates the to-file, then you must have operational authority to the CRTPF command.