IBM Support

IC62534: JAVA.LANG.INDEXOUTOFBOUNDSEXCEPTION RETURNED WHEN USING INDEXED GLOBAL VARIABLE UPDATED USING MACRO EXTRACT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is using HATS 7.5 and is defining an indexed global
    variable and displaying the contents of the two indices on their
    transformation.  They then run a macro which does an extract
    to update the value of one of the variables.  After the macro
    finishes, they again try to display both variable values and
    instead receive a java.lang.IndexOutOfBoundsException message
    on the HATS transformation page.
    

Local fix

  • none available
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users attempting to extract data in a        *
    *                 macro to a specific index of a global        *
    *                 variable.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Data extracted during a macro can not   *
    *                      be inserted at a specific index in      *
    *                      a global variable.  When insert is      *
    *                      attempted, a                            *
    *                      java.lang.indexOutOfBoundsException     *
    *                      may be issued and displayed on the      *
    *                      transformation page                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a user attempts to extract data in a macro to a specified
    index of a global variable, it will not be stored properly. If
    the user chooses to overwrite a specific index this will cause
    the entire global variable to be overwritten.  If the option
    to insert data at a specified index is chosen then the data
    will always be inserted at the end of the global variable.
    

Problem conclusion

  • The code needed to insert extracted data into a specific index
    of a global variable during a macro extract was omitted in the
    original HATS implementation.  As a result the extracted data
    was not being written correctly and would sometimes cause
    IndexOutOfBoundsExceptions when a specific index of the global
    variable would try to be accessed.  The code which handles
    extracted data in a macro was updated to include the
    functionality necessary to insert the data at the specified
    index.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC62534

  • Reported component name

    RATL HATS MULTI

  • Reported component ID

    5724U6700

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-08-13

  • Closed date

    2009-09-15

  • Last modified date

    2009-09-15

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

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

Modules/Macros

  • HATSCOMM
    

Fix information

  • Fixed component name

    RATL HATS MULTI

  • Fixed component ID

    5724U6700

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:
15 September 2009