IBM Support

PH06530: PROBLEM WITH GENERATION OF C CODE IN RHAPSODY FOR INTERFACES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Description:
    Problem with generation of C code in Rhapsody for interfaces
    
    Environment:
    Rational Rhapsody Developer Edition in C : 8.2.1
    Windows
    
    Escalation summary:
    -> Customer has build a small Rhapsody model(in Rhapsody C) with
    a class, realizing an interface. The interface has an attribute.
    -> When generating code and compiling it, there will be no
    problem.
    -> But if you put some code into the "Init" operation of the
    interface that was created from Rhapsody in the first run, the
    "Init" operation is now no longer a "Rhapsody" operation but a
    user's operation with the same declaration. And when you compile
    it, the compiler throws an error.
    
    A casterly image for this case, TS001437333 is created and the
    model(Case8124.zip) is stored in 'Downloads' Folder.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When the CG::CGGeneral::GeneratedCodeInBrowser used for  C   *
    * interface code generation add the "vtbl" argument to the     *
    * browser  operation of the "Init" operation with inaccurate   *
    * type , so if this operation's modified and generated the cod *
    * fail compilation                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • problem fixed (the "vtbl"  argument is not added to the browser)
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH06530

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    821

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-17

  • Closed date

    2019-04-30

  • Last modified date

    2019-04-30

  • 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



Document information

More support for: Rational Rhapsody

Software version: 821

Reference #: PH06530

Modified date: 30 April 2019