IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
  • 1.  WTX 8.1 - IFD problem

    Posted 03/11/09 05:49 PM

    Originally posted by: SystemAdmin


    Hi,
    I have problem with the Integration Flow Designer with WTX 8.1.0.3. No matter how I set the map in the IFD (run map which is "called" by other map), it still refer to the directory and test file when I did the unit testing on my desktop.
    The input card for the run map is passed on from the calling map, but it still looks at the test directory from my unit testing.

    e.g.:
    this is my calling map coded:

    = valid (run ("characterSwap.mmc", echoin (1, package (string Field [1]:outCOBA) + echoin (2, string Field [2]:outCOBA))),
    put ("file", "d:\mercapp\log\StringCOBAstatus.txt", "failed calling CharacterSwap map - error code: " + LASTERRORCODE () + " - " + LASTERRORMSG ( )))

    the characterSwap.mmc is set up in the IFD with input card 1 as "file" and nothing in the path. So, is input card 2.
    please see the screen print in the attatchment.

    Does anyone have any problem like this? How do you fix this?

    Thanks.

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


  • 2.  Re: WTX 8.1 - IFD problem

    Posted 03/12/09 03:45 AM

    Originally posted by: phil2030


    Not quite sure what your problem is. Are you saying when you run your "top-level" map, the called map (characterSwap) fails with "source not found" and refers to the directories and files you used for unit testing?
    Have you checked that the objects your echoing in are not NONE?
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 3.  Re: WTX 8.1 - IFD problem

    Posted 03/12/09 04:32 AM

    Originally posted by: janhess


    You are using a hard coded path in your rule d:\mercapp\log\StringCOBAstatus.txt so it can't be overridden in the IFD. You can't use the IFD to override file names in a called map either. Best to use a properties file containing the file name and read this in as an input card or a GET and pass it as a parameter in your rule.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: WTX 8.1 - IFD problem

    Posted 03/12/09 09:21 AM

    Originally posted by: repanzer


    If the IFD is not running the map, meaning there is no clock or sunglasses on in the IFD, the settings you set in the IFD will not take place. The IFD is not running it.

    When you run such a map from another map, either:

    A. You override the input/output (or any) settings in the run statement, or
    B. You don't override the settings and it uses what ever is hardcoded in the actual "mms". Like it's looking at your C: drive because that's where you were testing it.

    Put the trace and log file on and see what is getting passed to your map in the run statement (trace file), or look where the map is looking for the source (audit log).
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender