Table of Contents

Search

  1. Preface
  2. PWX-10000 to PWX-10999
  3. PWX-11000 to PWX-15999
  4. PWX-16000 to PWX-23999
  5. PWX-25000 to PWX-35999
  6. PWX-36000 to PWX-36999
  7. PWX-37100 to PWX-37999
  8. PWX-38500 to PWX-38999
  9. DTL_BMG003 to DTL_RPS105I
  10. infacmd pwx Error Messages
  11. PWXPC Error Messages
  12. Abend, Return, and Reason Codes in PowerExchange Messages

Message Reference Volume 2

Message Reference Volume 2

PWX- 21099

PWX-
21099

Function
function_name
cannot copy from field
field_name
type
source_type
to type
target_type
.
A function in in an expression associated with a user-defined field tried to copy data to an unsupported datatype. The copy operation failed because the specified source datatype is not compatible with the specified target datatype. PowerExchange has limitations on datatype mappings to prevent different results between writing data using PWXCCL or FTP or when writing data locally on a z/OS or IBM i system. The following limitations apply when copying data from one datatype to another datatype:
  • Functions CONCAT(), LTRIM(), RTRIM(), STRIP() cannot copy between numeric and character datatypes.
  • Function SPLIT() can copy between numeric and character types, but cannot copy between a numeric datatype and a datatype that does not use code pages.
  • Function CHECKNUMDATA() can set non-numeric fields to null.
  • Function COPYDATA() can copy data between numeric and other types.
Expression validation for the user-defined field fails.
For more information about user-defined fields, see the
PowerExchange Reference Manual
and the
PowerExchange Navigator Guide
. Use a different technique to redefine the problem data. Consider using intermediate user-defined fields with names prefixed by
filler
. These intermediate fields are not included in the table columns.

0 COMMENTS

We’d like to hear from you!