Troubleshooting
Problem
004,lftran , Compliance check error due to Invalid date
Symptom
Gentran:Server for UNIX, All Releases
Visual Mapper translation.
With translation option compliance checking on and Accept Messages/Sets with errors unchecked in Trading Partnership, translation fails for years 2013 and higher and for years 2000 and lower.
DTM segment set to D12 format.
Error Message::004,lftran , Compliance check error(s):
247 DTM 02 20130201 Invalid date
Cause: When using the D12 format 2013, for example, is being read as month 13, which is bogus.
Resolving The Problem
Set DTM segments to DC4 format (date with century). Due to the functionality of the mapper, any of the DTM segments prior to the one that's being mapped, must also be set to DC4. This prevents the invalid date error thus allowing successful translation.
Historical Number
NFX3238
Product Synonym
[<p><b>]Escalation ID[</b><p>];4916671;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix
Was this topic helpful?
Document Information
Modified date:
11 February 2020
UID
swg21557843