IBM Support

PI87069: WHEN RUNNING WITH JAVA8, EBCDIC STRINGS DATA CONVERSION SHOWS WRONG BEHAVIOR.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In data marshalling library shipped in WAS (marshall.jar), it
    has been using the same code to convert DBCS EBCDIC strings
    to/from COBOL/C/PL/I programs running on z/OS (MVS) ever since
    Java 2.  The issue comes in when using Java 8 and a 'null'
    terminated string on the host that needs to be converted to a
    Java string on the client.
    
    This is expected behavior from IBM JDK 8 which is inline with
    the Cp935 converter specification.
    
    Older JDK releases (before IBM Java 8) use IO converters and the
    behavior observed with those releases is due to a bug with IO
    converters.
    
    This means the marhall.jar needs to provide a
    -Dsome.java.system.property so that the Java 8 behavior can be
    tolerated by existing applications.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Data marshalling null terminated DBCS   *
    *                      EBCDIC strings contain Unicode          *
    *                      replacement characters                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Running under Java 8, using the marshall.jar library to data
    marshall null terminated DBCS EBCDIC strings from
    COBOL/C/PL/I programs running on z/OS, the strings are returned
    with Unicode replacement characters where the null characters
    are in the data stream. Prior to Java 8, the null characters
    were removed from the returned string.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI87069

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-09-12

  • Closed date

    2018-01-24

  • Last modified date

    2018-03-07

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

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

    PI94823

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server for z/OS
General

Software version: 850

Reference #: PI87069

Modified date: 07 March 2018