IBM Support

PI53596: USING BOTH $NAME AND $NAMEWITHTEMPLATEPARAMS IN STANDARD OPERATIONS PROPERTY RETURNS THE FULL TEMPLATE NAME

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • According to the documentation, $Name should generate just the
    name of the class and $NameWithTemplateParams should generate
    "AA<T1>".
    If you look at the generated code, you will see, that both
    properties generate "AA<T1>" (name with template parameters).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.3                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The keywords $Name and $NameWithTemplateParams in standard   *
    * operations property returns the full template name           *
    * wile only $NameWithTemplateParams should contain template    *
    * parameters                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 8.1.5 -
    After the fix  $Name will not include template parameters.
    
    note: it is a very old regression so old I add a backward
    Compatibility Profile pre 815 with property
    CPP_CG::Class::ExpandNameKeywordWithTemplateParameters
    that preserve the behavior (cause $Name expansion to contain
    template parameters)
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI53596

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    812

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-04

  • Closed date

    2016-04-25

  • Last modified date

    2016-04-25

  • 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 RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R813 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 April 2016