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.  The PARSE function

    Posted 03/02/15 05:53 AM

    Originally posted by: seventieskid


    Folks,

    Running WTX 8.4.1.2(4).

    I'm an experienced user of WTX (15 years plus).

    The addition of the PARSE function is a major step forward in "typing" data within a map, without the need to call a RUN map.

    However, I see no simple way to trap for parsing errors when using this function.

    e.g. My trace file shows this....

    (Level 2: Offset 90, len 10, comp 3 of 3, #1, DI 00000000000B:)
    Data at offset 90 ('03002229XX') failed item presentation test for TYPE
       X'0007' (Phone Root).

    (Level 2: Offset 90, len 10, comp 3 of 3, #1, DI 00000000000B:)
    Data at offset 90 ('03002229XX') is INVALID data of TYPE
       X'0007' (Phone Root).

    Above shows on my OUTPUT card tracing, but the map still finishes with "Map completed successfully".

    I've tried to wrap with the VALID function, with no effect.

    I don't really want to generate a trace file and have to parse it manually for errors every time I use the PARSE function in a rule.

    Anybody from IBM (Paul B) would like to comment on this please ? It seems to me exception handling on PARSE is missing.

    Cheers


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


  • 2.  Re: The PARSE function

    Posted 03/02/15 07:37 AM

    Originally posted by: paul.brett


    I can confirm the behaviour.  I am confident that the parse function is behaving in the same manner as an output card (the map is not failed if you create invalid output on purpose).

    If you think there is a product bug here, please raise a Service Request, and we'll look into it.

    Thank-you.

    Paul.

    Follow me on Twitter


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


  • 3.  Re: The PARSE function

    Posted 03/02/15 08:58 AM

    Originally posted by: seventieskid


    Thanks Paul.

    I accept this answer.

    I'll follow up with a Service Request. It may get shunted to an enhancement request, but I think the case is strong enough to follow it up, one way or the other.

    Cheers,

    Gareth


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