SP upgrade CPYF FMTOPT

afranklin

Member
I know there is a Knowledge document about this problem but parts of the Knowledge Garden have been down all weekend. I'm doing a SP22_S1 install. Does anyone have the document about the error "FMTOPT(*CVTSRC) required for files with different types" when trying to copy the PRINTQUEUE file back into B7334SYS?

thank you,
andy
 
Hi afranklin,

Here is the doc from OTI-03-0109:

Issue: At step 16 of the SP22 AS400 install, the Printqueue copy fails
AS400 error generated on screen: FMTOPT(*CVTSRC) required for files with different types.
Detail on this error:
Message ID . . . . . . : CPF2810 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 07/14/03 Time sent . . . . . . : 10:50:48

Message . . . . : FMTOPT(*CVTSRC) required for files with different types.
Cause . . . . . : The from-file PRINTQUEUE in library B7333SYS21 and the
to-file PRINTQUEUE in library B7333SYS have different file types. Both
files must be either data files or source files.
Recovery . . . : Do one of the following, and then try the request again:
-- Specify FMTOPT(*CVTSRC).
-- Change the from-file or the to-file.

Resolution:
Add the FMTOPT(*CVTSRC) option to the existing CPYF command as shown:
CPYF FROMFILE(syslibBK/PRINTQUEUE) TOFILE(B7334SYS/PRINTQUEUE) FROMMBR(*ALL) TOMBR(*FROMMBR) MBROPT(*REPLACE) CRTFILE(*YES) FMTOPT(*CVTSRC)

TJSweet
 
Back
Top