IBM Support

PM39973: OMAKE: Failing to properly set environment variable from make macro in 7.1.1.3 and later.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • When setting environment in IBM Rational ClearCase omake using
    make macros, the environment variables may not be set correctly:
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When setting environment in IBM Rational ClearCase omake
    using make macros, the environment variables may not be set
    correctly:
    
    Steps to reproduce:
    1) Create the following makefile:
    -------------------------------------------------
    PATH=$(CWD)\buildtools;$(PATH)
    # %setenv PATH=$(PATH)
    
    all:
     echo %PATH%
    
    -------------------------------------------------
    
    2) Run it using omake.
    
    Observe the following output:
    echo %PATH%
    $(CWD)\BuildTools;C:\Program Files\Common Files\Microsoft
    Shared\Windows Live;...
    
    "$(CWD)\Buildtools" the literal string in the make macro.
    
    Workaround:
    Add a line reading:
    %setenv PATH $(PATH)
    
    to the makefile immediately following the "PATH="
    

Problem conclusion

  • Feature works as designed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM39973

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    711

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-24

  • Closed date

    2011-12-19

  • Last modified date

    2011-12-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 December 2011