IBM Support

PI67875: ADDING SPACE TO FLOWCHART CONDITION CAUSES UNREQUIRED GOTO STATEMENTS IN PROVIDED EXAMPLES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the provided examples project CSamples/Flowcharts, if the
    user adds a space before one of the "[Else]" conditions, then
    numerous goto statements are generated. This is entirely
    unnecessary considering that the examples are supposed to be the
    officially supported layout for flowcharts:
    
    STEPS
    1) Open the CSamples/flowcharts project
    2) Browse to the "IfThenElse" flowchart: Open the flowchart and
    the generated code cpp file
    3) Note the code does not use goto statements
    4) Locate an "Else" transition in the flowchart and open its
    features window
    5) Add a whitespace before the "[Else]" condition
    6) Save, regen the code and not that several goto statements
    have been added to the code.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody users                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Code generation of flowchart is different if there are       *
    * whitespaces in the "else" guard.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 -
    Code generation of flowchart ignores whitespaces in the "else"
    guard. [lang]_CG:Operation:UsePre82Flowchart is overridden on
    the backward compatibility settings to preserve to previous
    behavior.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI67875

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    814

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-22

  • Closed date

    2016-12-05

  • Last modified date

    2016-12-05

  • 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

  • R814 PSN

       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.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 December 2016