IBM Support

004,lftran , Compliance check error due to Invalid date - Sterling Gentran:Server for UNIX

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. 

[{"Product":{"code":"SS6V5U","label":"Sterling Gentran:Server for UNIX"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Mapping and Translation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF027","label":"Solaris"}],"Version":"6.0.2;6.1;6.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX3238

Product Synonym

[<p><b>]Escalation ID[</b><p>];4916671;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
11 February 2020

UID

swg21557843