IBM Support

PM99549: new definition of trim() using void breaks customer script

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A new version of trim() which uses a 'void' return parameter
    breaks customer scrips which use an alternative trim().
    
    It is documented that, when overloading: 'ensure that the first
    declaration of the function does not have a void parameter' as
    it 'may lead to unexpected results'
    
    Notably not all scripts which use the customer variant, which
    comes originally from the example DXL library, fail.
    
    This was introduced between 9.5.0.0 and 9.5.1.2.
    
    Workaround:
    
    Either rename the second function.
    
    Or, modify the new definition to return e.g. an empty string.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Method trim() was causing a problem in a DXL script
    

Problem conclusion

  • Rename method trim() to trim_().
    The DXL reference manual states that customer's should not
    use functions with trailing underscores.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM99549

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-21

  • Closed date

    2014-03-03

  • Last modified date

    2014-03-03

  • 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

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYQBZ","label":"Rational DOORS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 November 2021