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



Yes, except for the part about defining the file's field as a date type with a DATFMT. Why would anyone do that? That seems to me to be degrading the appeal of a date field.

Joe Pluta wrote:
From: Booth Martin

Then I misunderstood this sentence: "it's a conversion from the file's
*MDY format to your *ISO program format."

When the file is read in from the database, the buffer that is passed to the
caller has a date field in it.  That date field is formatted in the manner
specified by the DATFMT keyword on the field definition.  However, if you
then specify an I-spec for that field with a DIFFERENT format, RPG will then
convert the buffer data (which is itself a conversion from the 4-byte
internal format) into the format you specified.

Make sense?

Joe




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.