CPYFIL (Copy File) Level 2.0

This command copies one document to another document. If the new document does not exist, it might be created. This command is not sent by a source IBM® i.

Parameter name Source Target
ACCORD N/A Ignored
BYPDMG N/A Ignored
BYPINA N/A Ignored
CPYNEW1 N/A Supported
CPYOLD2 N/A Supported
DCLNAM3 N/A Program defined
FILNAM4 N/A IBM i name
NEWFILNM4 N/A IBM i name
  1. CPYNDT only supported parameter value. All others are rejected with VALNSPRM.
  2. CPYERR only supported parameter value. All others are rejected with VALNSPRM.
  3. Names are implementation defined.
  4. Name formats are server defined.