XCOMM0900E Error Doing a UTF-8 Transfer of a file containing mixed languages

book

Article ID: 207481

calendar_today

Updated On:

Products

CA XCOM Data Transport - z/OS

Issue/Introduction

XCOMM0900E UNICODE CONVERSION ERROR - RC=04 REASON=09 - TRANSFER TERMINATED

XCOM z/OS is doing a receive file from XCOM windows. The file contains mixed languages, English (Single Byte), Thai (Single Byte) and Chinese (Double Byte).

The transfer job failed with rc=12 when it detected the Chinese language.  How to transfer this mixed language file.

Cause

With UTF-8 support you can only specify a LOCAL and REMOTE charset. You cannot mix languages within the file.

Environment

Release : 12.0

Component : CA XCOM Data Transport for z/OS

Resolution

This cannot be done. With UTF-8 support you can only specify a LOCAL and REMOTE charset. You cannot mix languages within the file.

See: IBM.com Return code meanings

For reference - this error message documents an error returned by IBM Unicode conversion services module CUNLCNV. This particular return/reason code combination (04/09) has the following meaning:

For reference - this error message documents an error returned by IBM Unicode conversion services module CUNLCNV.  This particular return/reason code combination (04/09)  has the following meaning:

4

9

Name: CUN_RS_STAGE2_FAIL

Meaning: An indirect character conversion, which first converts from the source CCSID into UCS-2 characters in a workarea and then in a second stage from the workarea to the target buffer, experienced an error during stage 2 conversion. As there is no correlation of the failing stage 2 character to a certain stage 1 character, we reset the source and target pointers and length values to the original caller's values. The workarea pointer and length values are updated to point to the character which failed conversion.

Action: Check whether the input string and the parameter settings used are reasonable.