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



Hi Mike

I guess things are working "as coded". I just wonder if there is a reason the check could not be done when opening RDi if there is an editor with the source in it and set to edit, not browse. Or when one chooses to go from browser to edit.

I just might throw in an RFE!

Thanks again for all your help here!


Vern

On 2/8/2021 10:59 AM, Mike Hockings wrote:
Hey Vern,
The check will not even be done until there is an attempt to save. On save
RDI will try and lock the source and either do the save or tell you it has
been changed since it was last seen.

The scenario for closing and opening RDI and doing a save is considerably
different than the unexpected loss of a current connection prior to a save
attempt.
All the best, Mike


Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199




From: Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Date: 2021/02/08 11:39 AM
Subject: [EXTERNAL] Re: [WDSCI-L] Multiple versions
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>



Hi Mike

Is it a feasible idea to have an option to check last changed dates
before when we try to save? Or just do it?

If the source has been saved in SEU, for example, RDI can get the lock.
I assume it could check that date when it goes after the lock. RFE time?
is there one already for this?

I have had something else - connection drops and I try to save, then I
get the message the source is locked, and if i say to end the job, i
still get a couple popups that i think are extra. Like saying again the
source can't be saved. I've not reported this, and now that I basically
don't lose any connections - 25 for the keepalive has worked great! - I
don't get the message about locking now.


Regards

Vern

On 2/7/2021 9:49 PM, Mike Hockings wrote:
If you close RDI with an open source it will release the locks on
shutdown.
At startup the member will be loaded from the local cached version and
try
to lock the source and check last changed dates if you try to save.

Unless your primary source is in an i Project I would recommend closing
remote source edit sessions before closing RDI.

Mike

Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199




From: smith5646midrange@xxxxxxxxx
To: "'Rational Developer for IBM i'" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2021/02/06 07:26 PM
Subject: [EXTERNAL] [WDSCI-L] Multiple versions
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>



I edited a source member earlier in the week. When I got done, I saved
my
source and exited RDI. I did not close my source member before closing
RDI.



Thursday and Friday I was on a different machine without RDI so I used
SEU
to make a bunch of additional changes.



Today, I opened RDI. My source was open on the screen so I started
making
changes. After about 30 minutes or so, I attempted to save. It told me
there was a more recent version and asked me what I wanted to do. I
saved
my source to a different name and then did a source compare. None of the
Thursday or Friday changes were in the source I worked on today. I just
spent an hour trying to merge the two source files together and I'm still
not confident that I got everything.



When I start RDI, shouldn't it check any already open members to see if
they
have been changed by something else and warn me that I am not viewing the
most recent version? Do I have something configured wrong somewhere?



I am using RDI version 9.5.

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




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

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.