IBM Support

IC59840: MACRO USING "ON DATA EXTRACT QUERY",IF DATA CONTAINS 1 BYTE OR 2 BYTE CHARACTORS ERROR OCCURS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Macro created that extracts the screen data to table.
    If the extracted data contains DBCS field or
     DBCS/SBCS mixed field, exception occurs and the data
     is not extracted.
       java.lang.StringIndexOutOfBoundsException
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DBCS customers using HATS MACROS         *
    ****************************************************************
    * PROBLEM DESCRIPTION: User created a macro that extracts the  *
    *                      screen data to a table.                 *
    *                      However, if the extracted data contains *
    *                                                              *
    *                      DBCS field or DBCS/SBCS mixed field,    *
    *                      java.lang.                              *
    *                      StringIndexOutOfBoundsException         *
    *                      occurs and the data is not extracted.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    It is side effect of FRB81. We modified code in
    Util.getDBCSDoubledString() and Util.getDBCSShrunkString().
    Original design is only send string to methods, but the
    methods need to use codepage and bUseAccentedCharacters
    to decide whether the string need to duplicate and shrink.
    

Problem conclusion

  • Modified /macroHandlers/default.jsp to add codepage and
    bUseAccentedCharacters as new parameters in
    Util.getDBCSDoubledString() and
    Util.getDBCSShrunkString() so now methods can determine
    to duplicate or shrink.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC59840

  • Reported component name

    RATL HATS FOR 5

  • Reported component ID

    5724U6800

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-03

  • Closed date

    2009-02-13

  • Last modified date

    2009-02-13

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

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

Fix information

  • Fixed component name

    RATL HATS FOR 5

  • Fixed component ID

    5724U6800

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXKAY","label":"IBM Host Access Transformation Services"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 February 2009