Originally posted by: ICS_User_Shane
Hey guys, i have an issue trying to convert my GS05 time from HH:MM:SS to HH:MM. I am using the standard Type Tree from ANSI for 4010. The description says the Class Type and Format should allow for HH:MM.
I have tried the following:
=TODATETIME(CURRENTTIME(), "{HH:MM}")
=TEXTTOTIME(FROMDATETIME(CURRENTTIME(), "{HH:MM}"))
Each time my MTR file shows:
11:33:44.765 Jun 12 2014
(Offset 972: Map Number 7 (%MapGS), DI 000000DF:)
Building TYPE X'00F1' (Time Element V4010 ANSI EDI).
11:33:44.765 Jun 12 2014
(Offset 972: Map Number 7 (%MapGS), DI 000000DF:)
TYPE X'0000' (Time Element V4010 ANSI EDI) has been built. ('0|LT|2200-126|||')
11:33:44.765 Jun 12 2014
(Offset 972: Map Number 7 (%MapGS), DI 000000DF:)
The rule for TYPE X'00F1' (Time Element V4010 ANSI EDI) evaluated to NONE.
The 0|LT|2200-126||| value actually comes from a different record format down at the Line level. Not sure how WTX managed to do that.
Any help would be appreciated.
Shane
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender