Ansicht
Dokumentation

CPF504D - Field procedure error. ( OS/400 )

CPF504D - Field procedure error. ( OS/400 )

PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by IBM.
SAP E-Book


Message : CPF504D
Field procedure error.

Message Long Text :

Cause . . . . . : An error occurred while invoking field procedure &1 in library &2. The error occurred on member &6 file &4 in library &5 while trying to perform function code &3. The error code is &7. The error codes and their meanings follow:
1 -- The external program returned SQLSTATE &9. The text message returned from the program is: &10.
2 -- The external program failed before it completed.
3 -- The database timed out waiting for the program to return.
4 -- The external program no longer exists or is not found.
5 -- One of the input parameters of the function had a data mapping error.
6 -- Unable to start the required threads. Thread error code &8.
7 -- The specified function code &3 is not valid.
8 -- An unexpected error was returned.
9 -- The field procedure was asked to encode data to be used for a default value, but the default value returned exceeded the length allowed for the field's default value.
10 -- Field procedure programs may not have an activation group of *NEW.
11 -- The field procedure returned a variable length, LOB, or XML value that was greater than the maximum defined length.
Recovery . . . : If the file name is *N, it is not know which file the I/O operation was occuring on. &For error codes 1 and 2, determine the cause of the error from either the SQLSTATE or a previously listed message.
For error code 3, either increase the timeout limit using the DFTWAIT parameter of the CHGJOB command or determine why the external program or service program did not return in the time allotted.
For error code 4, ensure the program exists.
For error code 5, determine the cause of the data mapping error.
For error code 6, ensure that the job has not been limited by the number of threads that can be enabled in it. See previous messages in the joblog.
For error codes 7 and 8, report the problem(ANZPRB command).
For error code 9, either change the default for the field or change the the field procedure program to not expand the decoded data passed.
For error code 10, change the activation group to a supported value.
For error code 11, change the field procedure so that it returns a value that is valid for returned data attributes.
Refer to the DB2 for i5/OS SQL programming topic collection in the Database category in the IBM i Information Center book, http://www.ibm.com/systems/i/infocenter/ for more information on field procedures.
Possible choices for replying to message . . . . . . . . . . . . . . . :
C -- The request is canceled.
I -- The request is ignored.

Message File : QCPFMSG
Library Message File : QSYS2924


General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by IBM.

Length: 3250 Date: 20240425 Time: 191916     sap01-206 ( 2 ms )