IBM Support

IV68934: FORMAT 'STRING' GETS CHANGE TO 'LONG' WHEN USING GETBYFILTER

Direct links to fixes

6.1.0-TIV-BSM-FP0004-zlinux
6.1.0-TIV-BSM-FP0004-windows
6.1.0-TIV-BSM-FP0004-solaris
6.1.0-TIV-BSM-FP0004-linux
6.1.0-TIV-BSM-FP0004-aix
6.1.0-TIV-NCI-FP0004-zlinux
6.1.0-TIV-NCI-FP0004-windows
6.1.0-TIV-NCI-FP0004-solaris
6.1.0-TIV-NCI-FP0004-aix
6.1.0-TIV-NCI-FP0004-linux
7.1.0-TIV-NCI-ZLINUX-FP0006
7.1.0-TIV-NCI-WINDOWS-FP0006
7.1.0-TIV-NCI-SOLARIS-FP0006
7.1.0-TIV-NCI-LINUX-FP0006
7.1.0-TIV-NCI-AIX-FP0006
7.1.0-TIV-NCI-ZLINUX-FP0005
7.1.0-TIV-NCI-LINUX-FP0005
7.1.0-TIV-NCI-WINDOWS-FP0005
7.1.0-TIV-NCI-SOLARIS-FP0005
7.1.0-TIV-NCI-AIX-FP0005
6.1.0-TIV-NCI-FP0003-zlinux
6.1.0-TIV-NCI-FP0003-windows
6.1.0-TIV-NCI-FP0003-solaris
6.1.0-TIV-NCI-FP0003-linux
6.1.0-TIV-NCI-FP0003-aix
6.1.0-TIV-BSM-FP0003-solaris
6.1.0-TIV-BSM-FP0003-aix
6.1.0-TIV-BSM-FP0003-zlinux
6.1.0-TIV-BSM-FP0003-windows
6.1.0-TIV-BSM-FP0003-linux
5.1.1-TIV-NCI-FP0003-Linux
5.1.1-TIV-NCI-FP0003-HPUX
5.1.1-TIV-NCI-FP0003-win
5.1.1-TIV-NCI-FP0003-Solaris
5.1.1-TIV-NCI-FP0003-Linuxs390
5.1.1-TIV-NCI-FP0003-aix
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 3(7.1.0-TIV-NCI-FP0003)
IBM Tivoli Netcool/Impact V5.1.1 Fix Pack 3 (5.1.1-TIV-NCI-FP0003)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 5(7.1.0-TIV-NCI-FP0005)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 6(7.1.0-TIV-NCI-FP0006)
IBM Tivoli Netcool/Impact V6.1.0 Fix Pack 4(6.1.0-TIV-NCI-FP0004)
IBM Tivoli Business Service Manager V6.1.0 Fix Pack 4(6.1.0-TIV-BSM-FP0004)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 7(7.1.0-TIV-NCI-FP0007)
IBM Tivoli Netcool/Impact V6.1.0 Fix Pack 4(6.1.0-TIV-NCI-FP0004)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 8(7.1.0-TIV-NCI-FP0008)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 9(7.1.0-TIV-NCI-FP0009)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 10(7.1.0-TIV-NCI-FP0010)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 11(7.1.0-TIV-NCI-FP0011)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 12 (7.1.0-TIV-NCI-FP0012)
IBM Tivoli Netcool/Impact V7.1.0 Fix Pack 13 (7.1.0-TIV-NCI-FP0013)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • We have an internal table setup in Impact that has 5 fields
    (NotificationKey, Type, Delay, Field1, Field2).  All are defined
    with
    Format 'STRING'.   We've encountered a situation where the
    GetByFilter()
     built-in function reads an entry that has an integer in field
    'Field1'
    (e.g phone number 8005551234) and the function returns a Long
    variable
    instead of a String variable.  Logging ClassOf(Field1) returns
    'Long'.   If we change the Field1 value to contain non-digits
    (e.g. 800-
    555-1234), then GetByFilter returns a string instead of a Long
    value.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Impact Users                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The issue occurs when an internal data type is setup in      *
    * Impact that has fields of type String.                       *
    * If the function GetByFilter() reads one of the data items    *
    * that has an                                                  *
    * integer in the field e.g 'Field1' (e.g phone number          *
    * 8005551234)                                                  *
    * the function returns a Long variable instead of a String     *
    * variable.                                                    *
    * Logging ClassOf(Field1) returns 'Long'-> field is of         *
    * type=Long                                                    *
    * If the Field1 value is changed to contain non-digits (e.g.   *
    * 800-                                                         *
    * 555-1234), then GetByFilter returns a string instead of a    *
    * Long                                                         *
    * value.                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * NONE                                                         *
    ****************************************************************
    If a field of type String in an internal data type contains an
    integer value, Logging ClassOf(Field1) returns 'Long'-> field is
    of type=Long.
    this is incorrect, it should state, field is of type=String.
    

Problem conclusion

  • A change was made to check the field type and based on this, the
    value is set.
    
    The fix for this APAR is contained in the following
    maintenance packages:
    |Fix Pack|5.1.1-TIV-NCI-FP0003|
    |Fix Pack|6.1.0-TIV-NCI-FP0003|
    |Fix Pack|6.1.1-TIV-NCI-FP0006|
    |Fix Pack|7.1.0-TIV-NCI-FP0003|
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68934

  • Reported component name

    NETCOOL/IMPACT

  • Reported component ID

    5724O59IS

  • Reported release

    511

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-27

  • Closed date

    2015-04-30

  • Last modified date

    2017-01-12

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

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

Modules/Macros

  • UNKNOWN
    

Fix information

  • Fixed component name

    NETCOOL/IMPACT

  • Fixed component ID

    5724O59IS

Applicable component levels

  • R511 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSCP78Y","label":"Netcool\/Impact"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"511","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 January 2017