IBM Support

PM72715: When .bat files get launched from within synergy they get executed from CCM_HOME\bin directory instead of the Work Area.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Synergy 7.2, when .bat files are launched from
    within Synergy they get executed from CCM_HOME\bin directory
    instead of their Work Area.
    
    Test platform:
    1) Synergy 7.2.0.1, 7.2.0.2.002
    2) Windows OS Server 2003 SP2 32-bit
    
    Steps to reproduce:
    
    1) Create a new type called 'batch' associated with the '.bat'
    extension
    2)-Modify the file %CCM_HOME%\etc\ccm.properties adding the
    line:
    ##
    windows.tool.view.batch = '%ccm_home\\bin\\util\\ccm_exec'
    '%file1'
    ##
    3)Start a new session
    4)Within a project create a new object called test.bat
    (type=batch) with the following content:
    ####
    ECHO '%CD%'
    PAUSE
    SET SUBDIR=%~dp0
    ECHO %SUBDIR%
    PAUSE
    ####
    
    4) Check in  the task + object.
    5) Double click on this object in Synergy.
    
    Expected results:
    The .bat is executed from the Work Area.
    
    Actual results:
    The .bat is executed from CCM_HOME\bin
    
    Support Observation/More Information:
    Working us expected in Synergy 7.1.0.6.001
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    .bat files get launched from CCM_HOME when executed using
    synergy GUI client.
    

Problem conclusion

  • Fixed in Rational Synergy 7.2.0.4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM72715

  • Reported component name

    TLOGIC SYNERGY

  • Reported component ID

    5724V66SN

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-12

  • Closed date

    2013-03-15

  • Last modified date

    2013-03-15

  • 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 SYNERGY

  • Fixed component ID

    5724V66SN

Applicable component levels

  • R720 PSN

       UP

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

Document Information

Modified date:
15 March 2013