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