|
You have a problem...
In order to work with a date of 9999-12-31, you're going to have to have
datfmt(*ISO) or datfmt(*usa)..
I don't suppose you have a CMS that you could use to track down who and
when the datfmt(*mdy) was put in? As it sounds like it was done in
response to a problem. And knowning why it was done means you could fix it
the "right" way.
If this program is doing I/O to a display file, it's probably something to
do with moving the 6 digit screen date to the DB. You'll need to change
that code to convert between *mdy and *usa or *iso.
There's a reason I always have
datfmt(*ISO) timfmt(*ISO)
Charles
Good luck
On Wed, Apr 16, 2014 at 2:05 PM, Horn, Jim <jim.horn@xxxxxxxxxxxxxx> wrote:
I have a file that contains a date field with a value of 9999-12-31. I
need to "chain" this record into a program that has an Hspec of
datefmt(*mdy). I am getting error RNQ0114, Date or timestamp value not in
correct range. If I change the program to datefmt(*usa) the chain works.
The program specs say I need to use datefmt(*MDY). Tried entering a D
spec with the field name with DATEFMT(*mdy). Didn't work. Any ideas?
Jim
--
As an Amazon Associate we earn from qualifying purchases.
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.