×
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.
Jim, just guessing:
change the CHAIN to use a Data Structure created with LIKEREC:
D xids DS Likerec(XI01.XI01REC) i/o buffer
D xi_Key DS
D xi_Key1 3A
D xi_Key2 6A
Chain %kds(xi_Key) XI01 xids;
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Horn, Jim
Sent: Wednesday, April 16, 2014 12:06 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Date conversion on chain
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.