LENGTH OF COLUMN VALUE RETURNED BY A USER FIELDPROC IS INVALID
The DB2 ECCR called a user‑defined FIELDPROC exit routine to transform a value from the encoded field format into the decoded column format. The name of the FIELDPROC exit routine appears in a related message.
As described in the DB2 manuals, for VARCHAR and VARGRAPHIC column formats, a FIELDPROC exit routine must return the 2-byte length of the column value in the FPVDVALE field of the DB2 column value descriptor (CVD). This 2-byte length must meet the following requirements:
It must be expressed as a number of bytes.
It must not be longer then the maximum length of the column.
If it is a VARGRAPHIC column, it must be a multiple of 2.
The DB2 ECCR detected that the returned FPVDVALE value does not meet all of these requirements.
See message PWXEDM177030E to determine whether the DB2 ECCR abends or continues processing.
Determine why the column value returned by the user‑defined FIELDPROC exit routine did not meet these requirements. Then correct the exit routine and run the job again.