IBM Support

PK68862: EDC5147I ILLEGAL BYTE SEQUENCE ENCOUNTERED WHEN TRANSLATING DBCS CHARACTERS FROM EBCDIC TO ASCII

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On a z/OS 1.9 system, customers viewing html documents via
    the HTTP server report seeing garbage on their PC screen.
    Tracing shows that an errno 147 (EILSEQ) was returned because
    the iconv input data buffer contained only the first byte of
    a DBCS character as the last byte in the buffer. The code pages
    involved in this case were IBM-939 and IBM-932C
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the z/OS C/C++ Run-Time Library's   *
    *                 iconv() function and the iconv utility.      *
    ****************************************************************
    * PROBLEM DESCRIPTION: errno was being set to EILSEQ when an   *
    *                      incomplete multibyte character is       *
    *                      encountered at the end of the input     *
    *                      buffer.  EINVAL is the correct errno    *
    *                      setting for this condition.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See problem description.
    

Problem conclusion

  • The iconv() function was updated to set errno to EINVAL when an
    incomplete multibyte character is encountered at the end of the
    input buffer.  This update will also apply to the iconv utility.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK68862

  • Reported component name

    LE C LIBRARY

  • Reported component ID

    568819805

  • Reported release

    740

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2008-07-10

  • Closed date

    2008-08-14

  • Last modified date

    2008-09-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UK38948 UK38949

Modules/Macros

  • CELHCDPG CELQCDPG CEL4CDPG EJR
    

Fix information

  • Fixed component name

    LE C LIBRARY

  • Fixed component ID

    568819805

Applicable component levels

  • R740 PSY UK38948

       UP08/08/27 P F808

  • R750 PSY UK38949

       UP08/08/27 P F808

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVSBD","label":"Runtime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"740","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"740","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"740","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 September 2008