James,

_ROpen is an ILE runtime library routine, callable from any of the ILE languages.  Technically, it has nothing to do with "C" per se ...   

So there is no reason why you cannot just call it from ILE RPG IV, if that is the behavior you desire?

All the best,

Mark S. Waterbury






On Tuesday, January 9, 2024 at 02:47:46 PM EST, James H. H. Lampert via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:





I must be getting old:

In ILE C, if you _Ropen a physical file with mode "rw," the file is
cleared on open.

I can't recall whether there's anything equivalent to this in ILE RPG.
Is there?

--
JHHL

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