IBM Support

PI71024: SXF OXFTDELAY MACRO RESOLVES TO NON-EXISTENT MEMBER OMMAINTHREAD::THETHREAD()->SLEEP(T)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In file /Share/LangCpp/SXF/Microsoft_NT_Pkg/oxf.h there is a
    macro for calling the default system "sleep" function:
    
           #define OXFTDelay(t) OMMainThread::theThread()->sleep(t)
    
    However, there is no such member function in OMMainThread or its
    parents. Therefore, using this macro results in a compiler
    error.
    
    WORKAROUND:
    
    Use the operating system specific "sleep" function defined in
    /Share/LangCpp/SXF/Microsoft_NT_Pkg/OMOSSpecific.h:
    
           OMOSSpecific::sleep(const timeUnit aTime, const bool
    sleepInTimer = false);
    
    Please note that the second argument is used for VxWorks
    operating system only.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.5                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * SXF OXFTDELAY MACRO RESOLVES TO NON-EXISTENT MEMBER          *
    * OMMAINTHREAD::THETHREAD()->SLEEP(T)                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 - OXFTDelay macro changed to call
    OMOSSpecific::sleep() fuction.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI71024

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    805

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-20

  • 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

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

Document Information

Modified date:
05 December 2016