IBM Support

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

Technote (troubleshooting)


Problem(Abstract)

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 Alias/Synonym

Escalation ID


4916671

Severity


Normal

Type


NormalFix

Document information

More support for: Sterling Gentran:Server for UNIX
Mapping and Translation

Software version: 6.0.2, 6.1, 6.2

Operating system(s): AIX, HP-UX, Solaris

Reference #: 1557843

Modified date: 30 October 2011


Translate this page: