On Mon, Mar 7, 2022 at 10:27 AM <fhildebrandt@xxxxxxxxxxxxxxx> wrote:

it seems to me that the support of RDi for sources in stream files is not
so good as for sources in source files. I detected that when opening a
stream file in LPEX editor the stream file will not be locked. When opening
members in source files the members will be locked.

That's not how stream file editors work.
Instead, they warn you if a file has been changed outside the editor by
some other process.
The way this works on local editors is notification callbacks provided by
the operating system.
Of course, that doesn't work for RDi because no such callback is available
On the other hand, RDi *could* warn you when you go to save if the file has
been changed outside the editor and offer to save a backup.
This sort of thing is normal in modern programming and there is no user
expectation that a stream file will be locked for editing.
"Lock while I'm editing" is a relic of primitive revision control practices
of 30 years ago.
If you're doing stream file editing of RPGLE source and you're *not*
checking in your code, it's not RDi that's broken :)

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.