|
When attempting to read a file via an SQL select statement in RPGLE, I receive SQL state error 22007 on a record that contains a non NULL date field valued with 0001-01-01. To my mind, this is a valid date. When I value this field with 2003-01-01, I do not receive an error. Any thoughts on what the problem could be? We are using V5R2. Thanks in advance for any assistance.
This mailing list archive is Copyright 1997-2026 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.