× 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.



I talked to IBM about it and was told it would never be fixed. It will
accept some but not others. I think it is a bug but they say it is a
feature.

On Thu, Dec 17, 2009 at 2:04 PM, Buddy McClean
<Buddy.McClean@xxxxxxxxxxxx>wrote:

Thanks,

To be accepted for RPG date bifs/opcodes. So far they have not z-sup the 2
digit year.
I was disapointed that the opcodes could not expand the numbers in dates
that had a divider, but I'm over it.

I will have to investigate the CEE part, I claim ignorance.

rpg400-l@xxxxxxxxxxxxxxxx 12/17/2009 2:39:58 PM >>>

Accepted by what? If you mean the RPG date opcodes/bifs, then no, you
have to have the zero.

If you mean the ILE CEE date operations, take a look at the ZD and ZM
picture strings. (Strangely, there's no ZY... so you could do 01/5/09
or 1/5/09, but not 1/5/9.)

If you mean another set of routines, it'll depend on the routine.


Buddy McClean wrote:
Wasn't quite sure of the search to use on the archives. I tried
'expanding dates' but that was unproductive.

If you have an incomming date of 4/24/09 or 11/5/09 , where Month or Day
is zero suppressed. Is there a short way to get them accepted. Do they
always have to be 2 pos for month and day?



--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.