|
(COBOL ILE on v7r1)
I have the following DDS for a DB file:
CREATE_DT L DATFMT(*MDY) DATSEP('/')
DFT('01/01/01')
When I initialize the record and WRITE, I receive data mapping error
CPF5035: Data mapping error on member CSC_MST. With reason code 17:
17 -- The format of the data in a date, time, or timestamp field is
not valid.
From the above, it appears that COBOL does not honor the DFT value
keyword in DDS.
Is it possible to get this to function properly for an add record?
Otherwise I am forced to initialize each field individually and if a
field gets added, there will be unnecessary debugging involved.
And it makes the code messier.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.