|
Yes, but Scott, are you on V5R3 or V5R2? I seem to remember a bug in V5R2 in this area. It was fixed, I thought with a PTF, but perhaps it was just enhanced in V5R3 instead. <g> -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement Sent: Wednesday, December 28, 2005 12:38 PM To: RPG programming on the AS400 / iSeries Subject: Re: free-format move *USA date value to 6-digit numeric in YMDformat > Program TEST1 works, program TEST2 does not. TEST2 issues RNQ0114 "The year > portion of a Date or Timestamp value is not in the correct range (C G D F)" > for the statement doing the %int(%char. The dump shows DATEUSA(1) set to > '12/25/2005' and YYMMDD60 = *zeros. Hmmm... I just tried your programs, and both programs worked without errors on my machine.
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.