Ansicht
Dokumentation

CPF2845 - The copy did not complete for reason code &2. ( OS/400 )

CPF2845 - The copy did not complete for reason code &2. ( OS/400 )

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by IBM.
SAP E-Book


Message : CPF2845
The copy did not complete for reason code &2.

Message Long Text :

Cause . . . . . : The Copy From Import File (CPYFRMIMPF) command, or Copy To Import File (CPYTOIMPF) command could not be completed for reason &2. The reason codes are:
1 - The CCSID or code page value is not valid.
2 - The field &1 in the Field Definition File is not a field in the TOFILE.
3 - The data for field &1 of the TOFILE has a wrong decimal seperator.
4 - The data for field &1 of the TOFILE does not allow nulls, or the from file does not have enough fields for the TOFILE. The TOFILE does not support nulls.
5 - The delimiters for the DTAFMT(*DLM) are not valid.
6 - The TOFILE, or ERRRCDFILE can not be cleared.
7 - The FROMFILE numeric field &1 contains blank characters, or other characters that are not valid for a numeric field.
8 - The FROMFILE field &1 contains characters that are not valid for a date, time, or timestamp field.
9 - The data for the field &1 is not valid for the data type of the TOFILE.
10 - The data in the Field Definition File is not correct for the TOFILE.
11 - The RCDDLM parameter for a stream file can only be *CR, *CRLF, *LF, or *LFCR and for a data base file the RCDDLM parameter can be *EOR or a valid value.
12 - The FROMFILE contains unsupported data types, such as LOBs.
13 - The FROMSTMF contains a record whose length prevents it from being properly imported. This situation occurs when a valid record delimiter is not found before a buffer overflow situation would occur.
Recovery . . . : Do the following for the reason code:
1 - The FROMCCSID or TOCCSID must be set to a valid CCSID value if the file CCSID is 65535. If the file does not have a CCSID of 65535, use the CCSID(*FILE) value. Or, the FROMCCSID, TOCCSID, or STMFCODPAG specified is not supported.
2 - Change the field name in the Field Definition File to a name of a field in the TOFILE.
3 - Change the data of the FROMFILE so the decimal seperator is correct.
4 - Change the data of the FROMFILE so the field is not a null field.
5 - Change the delimiters for the DTAFMT(*DLM) format so the delimiters are valid.
6 - Try clearing the TOFILE, or ERRRCDFILE with the Clear Physical File Member (CLRPFM) command.
7 - Change the data in the FROMFILE.
8 - Change the data in the FROMFILE.
9 - Change the data in the FROMFILE.
10 - Change the data in the Field Definition File to be correct for the FROMFILE. If the CPYFRMIMPF command is using a stream file, increase the length of the STMFLEN parameter.
11 - Use the valid RCDDLM value for the parameter.
12 - Use a FROMFILE that does not contain LOB fields.
13 - Change the data of the FROMSTMF so that it has valid record delimiters within reasonable proximity to each other. The maximum record length of any TOFILE being imported to is 32,766 bytes.

Message File : QCPFMSG
Library Message File : QSYS2924


General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by IBM.

Length: 3279 Date: 20240419 Time: 020611     sap01-206 ( 3 ms )