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



Scott Klement wrote:
> 
> I think you're going to have to create a "wrapper procedure" in RPG to
> convert from the character data type to the ISO date data type.
> 

If the character value is in the correct format for an ISO date, with
the correct separators, the CL can pass a character field to RPG and
have RPG receive it as a date.  The "dateness" is all in RPG's mind -
it's really just 10 bytes.  Scott and Mark are right that the only
change necessary is to remove the VALUE or change it to CONST.

Althought I guess it would be sort of purer to have an intermediate RPG
procedure to explicitly convert from character to date ...


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.