IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
 View Only
  • 1.  Retrive Map Name In Rule

    Posted Thu October 07, 2004 08:06 AM

    Originally posted by: SystemAdmin


    I need to do something that I thougth would be very simple, but I am unable to find a solution. I simply want to retrieve the name of the map that is currently running (xxx.mmc) in a rule in the map in order to log detailed error information. I thought there would be a function for this, but I can not find one. I have tracked down some code that Ascential uses to interrogate log files to get the name, but this does not really suit my needs.

    If anyone can provide some direction, I would appreciate it.

    Thank You
    • andy

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


  • 2.  Re: Retrive Map Name In Rule

    Posted Fri October 08, 2004 05:23 AM

    Originally posted by: SystemAdmin


    You could use GETRESOURCENAME() on an otherwise unused input card that is reading in the compiled map file (with KEEP set of course)

    This does not appear to cause a problem in the Map Designer, but may have strange results in the Event Server, so you should test it thoroughly first.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Retrive Map Name In Rule

    Posted Thu October 21, 2004 01:32 PM

    Originally posted by: SystemAdmin


    Thank You, that's a very creative option, but sounds like it would work.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange