IBM Support

PM90213: RT: ROUND-TRIPPING THE CODE WHERE A PRESERVE BLOCK (UP) AND USER DATA TYPE (DOWN) RESIDE TOGETHER RESULTS IN INCORRECT CG.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Round-tripping the code [Before] results in the incorrect code
    generation as in [After].
    
        Before:
        //#[ preserve
        int x;
        //#] preserve
        //#[ type type_1
        #define BYTE char
        //#]
    
        After:
        //#[ preserve
        int x;
        //#] preserve
        // #] preserve <<-- Problem!!!
        //#[ type type_1
        #define BYTE char
        //#]
    
    Workaround:
         Add a dummy text element block ('//') in SA.
         Alternatively, roundtrip the following code instead of
    [Before]:
    
        //#[ preserve
        int x;
        //#] preserve
        //  <---workaround (//)
      <---workaround (cr/lf)
        //#[ type type_1
        #define BYTE char
        //#]
    

Local fix

Problem summary

  • Roundtripping code that contains a preserve block and a user
    data type results in incorrect code generation.
    

Problem conclusion

  • Fixed in version 8.0.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM90213

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-31

  • Closed date

    2013-12-12

  • Last modified date

    2013-12-12

  • 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

  • R805 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 7.6.1

Reference #: PM90213

Modified date: 12 December 2013