This article addresses what to do when an XFD Directive does not check to ensure the Date mask matches the Picture clause.
Problem:
The Compiler $set createxfd (xfd-directory=C:\\...) Directive does not check to ensure that the Date mask matches the COBOL Picture clause. This results in parse errors with MFXDBC when loading the resultant XFD into the System Catalog.
For example, the following will compile and build the XFD without an error reported. This generates a parse error with MFXDBUTIL.bat.:
$xfd date=yyyymmdd
03 BMRT-PAYEE-DOB PIC 9(9) COMP.



