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.  Input override question...

    Posted 02/20/07 01:23 PM

    Originally posted by: jvanboga


    OK, having a brain f#r%.

    Executing a runmap and overriding runmap input file path + name. Getting input not avail (runmap). Log shows the override as not avail.

    run("runmap", " -IF1 '" + GETRESOURCENAME(In1) + "'")

    In1 path for cntl map = In1 path for runmap. Am not writing to file, just reading.

    I do this kind of thing all the time but for some reason it isn't working now. Any thoughts?
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Input override question...

    Posted 02/20/07 01:30 PM

    Originally posted by: john.gibby


    Do you mean to use GETFILENAME(In1) instead? I don't use GETRESOURCENAME so that is the only thing that jumps out at me.

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


  • 3.  Re: Input override question...

    Posted 02/20/07 01:49 PM

    Originally posted by: jvanboga


    No "GETRESOURCENAME" is correct.

    I don't use 'GETFILENAME' because historically the later brings back both path and file name (same as former). I believe the issue with the command may have been fixed but for consistancy we've stuck with GETRESOURCENAME and for path only GETDIRECTORY.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 4.  Re: Input override question...

    Posted 02/20/07 04:02 PM

    Originally posted by: jvanboga


    Resolved..... I'm going to fire myself at the end of the day.

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


  • 5.  Re: Input override question...

    Posted 02/22/07 08:04 AM


  • 6.  Re: Input override question...

    Posted 02/22/07 11:03 AM

    Originally posted by: jvanboga


    Hiring a better coder... When I initially read the rule I didn't catch that it was actually written thus....

    run("runmap", " -IF1 '" + SERIESTOTEXT(GETRESOURCENAME(In1)) + "'")

    Part of the reason I missed 'SERIESTOTEXT' as the problem was because the run map's log file displayed the path correctly. After I wrote this post I went on to work on a diff project for a bit. About then I realized what the problem was, confirmed it.....

    Think I just got frustrated. I'm supposed to be one of our newly trained java developers and I can't seem to get anything to work. Guess I lost my patience.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender