IBM Support

PM98302: Windows backslash under Build Forge 8.0 .bset treated as escape characters

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • When attempting to use Windows path syntax using backslashes,
    they are process as escape characters during build execution.
    This can cause the expected command syntax to be improper and
    fail the build step.
    
    Steps to reproduce:
    
    Create test project that can be used to configured a variable
    via .bset using the Windows path syntax
    
    ie:
    .bset env 'CCview=M:\${viewname}'
    
    Expected result:
    
    The .bset variable is configured as expected.
    
    ie:
    456   Sep 8, 2013 5:25:21 PM      STEP   .bset env
    'CCview=M:\${viewname}'
    457   Sep 8, 2013 5:25:24 PM      EXEC   .bset env 'CCview' =
    'M:\WinView32-102' (New Variable)
    
    Actual result:
    
    The .bset variable is configured incorrectly, as the backslash
    is used as an escape character for the '$'.
    This causes the variable syntax expected to be resolved to be
    assigned to the variable.
    
    ie:
    349   9/14/13 12:56 PM      STEP   .bset env
    'CCview=M:\${viewname}'
    340   9/14/13 12:56 PM      EXEC   CRRBF0406I: .bset env
    'CCview' = 'M:${viewname}' (New Variable)
    
    Workaround:
    
    Added additional backslashes to be processed correctly.
    
    ie:
    .bset env 'CCview=M:\\${viewname}'
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • as described in variable interpretation documentation,
    backslash characters escape the next character from
    interpretation.  This is the expected behavior.
    

APAR Information

  • APAR number

    PM98302

  • Reported component name

    BUILD FORGE EE

  • Reported component ID

    5724S2702

  • Reported release

    713

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-02

  • Closed date

    2013-12-13

  • Last modified date

    2013-12-13

  • 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":"SSB2MV","label":"Rational Build Forge"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
13 December 2013