IBM Support

IC62881: HATS DROP DOWN NOT WRITING DATA TO CORRECT LOCATION IN HOST FIELD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a user types into an input field and that field is full the
    cursor is automatically moved to the next input field due to the
    auto advance feature in HATS.  However, when this happens in the
    customer's 5250 application the next input field available is
    rendered as a drop down in HATS.  When the drop down gets focus
    and the users presses the enter key to submit the page the wrong
    value is being set for the input field being rendered as the
    drop down.  As a result the host application is going to the
    wrong screen and the users do not see the expected data.
    
    This problem only seems to occur when the input is rendered as a
    drop down.  If its rendered as a standard text input the problem
    does not occur and the correct value is sent to the host.
    

Local fix

  • The customer was able to get around the problem by disabling the
    auto advance feature in this transformation.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: HATS users rendering special 5250 input      *
    *                 fields as drop downs.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a 5250 input field of type         *
    *                      "Numeric data plus numeric specials"    *
    *                      is rendered as a drop down,  the text   *
    *                      entered into the host field 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 location when a drop down widget is used for a 5250
    input field of type of type "Numeric data plus numeric
    specials".  As a result, when the page is submitted the data
    could be cut off and cause the wrong value to be sent to the
    host.
    

Problem conclusion

  • The compareAgainstOriginal method in lxgwfunctions.js file was
    modified to set the CARETPOS to the correct location which is
    the PS position to the right of the last charater entered in
    the input field.  This method was already determining the
    cursor location to set so the code was modified to check and
    see if the input element is a drop down.  If it is the
    CARETPOS will be set to the correct location.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC62881

  • 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-08-31

  • Closed date

    2009-09-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 FOR 5

  • Fixed component ID

    5724U6800

Applicable component levels

  • R710 PSY

       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