What we need:
Every date field, say MSH 7 should show datetime-timezone in the outgoing field. This does not come in, in the inbound msg. But we don’t want precision ie the extra .000 in the date.
So I used DATECOPYOPT in my xlate, Precision off and chose “UseCustomDate” radio button and selected -6:30 for timezone. According to the documentation, any missing fields are replaced by the defaults specified in this option. Since inbound msg has no timezone information, I expected this option to append the information. But that was not the case.
Please clarify on the expected behavior for DATECOPYOPT and also, is there a way for us to accomplish the above task?
Thanks,
Anu