Not sure why this is not on the RPG forum\list... as a purely RPG discussion. Anyhow, the discussion has already taken place there:
http://archive.midrange.com/rpg400-l/201205/msg00337.html
"
IBM i 7.1 Information Center -> Programming -> Programming languages -> RPG -> ILE RPG Language Reference -> Definitions -> Chapter 9. Data Types and Data Formats http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzasd/sc092508283.htm#ddate
_i Date Data Type i_
"Date fields have a predetermined size and format. They can be defined on the definition specification. Leading and trailing zeros are required for all date data.
...
"

I did not take any time to verify any changes to that documentation since my reply in that thread; i.e. I am not aware if a doc change would confirm as expected, the results that Scott had noted for v7r1.


This thread ...


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

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.