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.  Problem with functional map

    Posted 09/28/07 10:47 AM

    Originally posted by: SystemAdmin


    I have a series like below

    01DATE1TIME1TMZ1DATE2TIME2TMZ2DATE3TIME3TMZ3
    02DATE4TIME4TMZ4DATE5TIME5TMZ5
    02DATE4TIME4TMZ4DATE5TIME5TMZ5

    I have managed to do this when all dates exist using functional maps but when one of the fields is missing it passes a NONE which causes the functional map to not run. Any ideas a good way to get round this without using lots if IF(PRESENT()&PRESENT()) statements?
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: Problem with functional map

    Posted 09/28/07 10:49 AM

    Originally posted by: SystemAdmin


    I have a series like below

    01DATE1TIME1TMZ1DATE2TIME2TMZ2DATE3TIME3TMZ3
    02DATE4TIME4TMZ4DATE5TIME5TMZ5
    02DATE4TIME4TMZ4DATE5TIME5TMZ5

    I need to get the minimum date from all series, I have managed to do this when all dates exist using functional maps but when one of the fields is missing it passes a NONE which causes the functional map to not run. Any ideas a good way to get round this without using lots if IF(PRESENT()&PRESENT()) statements?
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: Problem with functional map

    Posted 09/28/07 05:00 PM

    Originally posted by: SystemAdmin


    I don't understand. So the input is a group of a few fields, each containing date/time/timezone. You're running a functional map using the series, but sometimes there is a blank in the series, like 1,2,3,,5? Are you using the MIN function?
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 4.  Re: Problem with functional map

    Posted 09/28/07 10:50 AM

    Originally posted by: janhess


    Use the function EITHER on the patameter so that if it is present it is passed otherwise pass a dummy value.
    E.G, Either(date field,"9999/12/31")
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 5.  Re: Problem with functional map

    Posted 10/01/07 03:24 PM

    Originally posted by: SystemAdmin


    You could define the optional fields with 0:1 range in the type tree.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange