IBM Support

IC63785: HATS SELECTION LIST TRUNCATING VALUE WHEN WRITING TO INPUT FIELD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the Selection List component in HATS along with the
    Link widget, in some situations the data being entered into an
    input field as a result of clicking on the link can get cut off.
    This happens when the value being entered is more than one
    character long.  Any data past the first character of the input
    field does not get sent to the host.  The problem only appears
    to occur when using the Link widget.  If the same area is
    rendered using buttons or a drop down then the data will be sent
    completely.
    

Local fix

  • Tthe only work aroud is to render the Selection List using one
    of the other widgets other than links.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: HATS users rendering 5250 input fields       *
    *                 using the Selection List component with      *
    *                 button or link widgets.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the Selection List component is    *
    *                      used to render a 5250 input field,      *
    *                      the text entered into the host field    *
    *                      as a result of a button or link         *
    *                      widget being clicked can be truncated   *
    *                      causing the wrong data to be sent to    *
    *                      the host.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The CARETPOS variable in the JavScript is not being set to the
    correct value when a button or link widget is clicked.  As a
    result, when the page is submitted, the data in the input
    field can be truncated causing on a partial value to be sent
    to the host.
    

Problem conclusion

  • The adjustPosition method in lxgwfunctions.js was modified to
    correctly calculate the value of the CARETPOS to prevent the
    data from being truncated.  The new CARETPOS value is
    determined by using the starting position of the field in
    which the data was entered and adding the length of the string
    entered to that value.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC63785

  • Reported component name

    RATL HATS TOOLK

  • Reported component ID

    5724U6801

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-10-15

  • Closed date

    2009-11-04

  • Last modified date

    2009-11-04

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

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

Modules/Macros

  • HATSSTUD
    

Fix information

  • Fixed component name

    RATL HATS TOOLK

  • Fixed component ID

    5724U6801

Applicable component levels

  • R710 PSN

       UP

  • 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:
04 November 2009