IBM i has CHKOUT/CHKIN commands if you really want to use them. It's been
20 years since I've used them but they are there.

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On Mon, Mar 7, 2022 at 11:40 AM Jack Woehr via WDSCI-L <
wdsci-l@xxxxxxxxxxxxxxxxxx> wrote:

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
remotely.
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 :)

--
Jack Woehr, IBM Champion 2021-2022
<
https://www.youracclaim.com/badges/528d23d6-087f-4698-8d17-d59688106ac4/public_url

Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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