Message ID

CPF2803

Message

To-file &1 in &2 not allowed.

Cause

File &1 in &2 is not the correct file type for the copy command. -- The Copy File (CPYF), the Copy from Diskette (CPYFRMDKT), the Copy from Tape (CPYFRMTAP), and the Copy from Query File (CPYFRMQRYF) commands require a physical, diskette, tape, or program-described printer file, or *PRINT on the TOFILE parameter. -- The Copy To Diskette (CPYTODKT) command requires a diskette file on the TOFILE parameter. -- The Copy to Tape (CPYTOTAP) command requires a tape file on the TOFILE parameter. -- The Copy Source File (CPYSRCF) command requires a source file or *PRINT on the TOFILE parameter. -- The Copy From Import File (CPYFRMIMPF) command requires a source, DDM, program-described physical, or externally described physical file on the TOFILE parameter. -- The Copy To Import File (CPYTOIMPF) command requires a source, or externally described physical file on the TOFILE parameter.

Recovery

Do one of the following to change the file name on the TOFILE parameter and try the request again: -- If the CPYF, CPYFRMDKT, CPYFRMTAP, or CPYFRMQRYF command was used, specify a physical, diskette, tape, program-described printer file, or *PRINT on the TOFILE parameter. -- If the CPYTODKT command was used, specify a diskette file on the TOFILE parameter. -- If the CPYTOTAP command was used, specify a tape file on the TOFILE parameter. -- If the CPYSRCF command was used, specify a source file or *PRINT on the TOFILE parameter. -- If the CPYFRMIMPF, or CPYTOIMPF command was used, specify the correct file type on the TOFILE parameter.
Technical Desc
Reply Choices

Severity

30

Message Level

09

Alert Option

*NO

Log Problem

*NO


 » Return to CL message code list for prefix CPF.



home

© 2005-2014 www.iSeriesWorld.net
terms & conditions | privacy policy

e-mail : webmaster@iSeriesWorld.net