IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

How to use an alias as a configuration in WTX

  • 1.  How to use an alias as a configuration in WTX

    Posted Thu October 11, 2018 11:03 PM

    Originally posted by: johnxp


    Hi, I understand that the resource registry is only meant to store file path information, but how can we keep some settings in a config file in WTX?

    Frequently I need to change the compiled map file extension from mmc to aix in RUN function for deployment to AIX.

    How can I store this file extension information in resource registry or somewhere, so that I don't need to change every time?  


    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: How to use an alias as a configuration in WTX

    Posted Mon October 15, 2018 10:57 AM

    Originally posted by: PaulBrett


    Store both values in Resource Registry like this:

    <Resource>
    <Name>ext</Name>
    <Value Server="design" encrypt="OFF">mmc</Value>
    <Value Server="runtime" encrypt="OFF">aix</Value>
    </Resource>

    ...and use the rule like this:

    =RUN("Test1.%ext%")

    ...and then on each platform, the MRC with the correct 'Server' value.

    Thank you.

    Paul

    Follow me on Twitter.


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender