I have a DDS PF that contains a date field defined:
A DFT('0001-01-01')

RPGLE, DSPPFM and QRY/400 are all fine with that and show the field correctly. SQL chokes on it however. It returns a null value and a 01534 SQLSTATE (The string representation of a datetime value is invalid).

Any ideas? Is it the DFT keyword?

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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