× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



(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.

Thanks!

Joel



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.