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



Edmund/Mike,

Thanks! Now I understand why I tried to save a member to different Box for testing. It did NOT ALLOW IT! <Frown>

Normally, when I open a member, I might want to save it to another box to do some testing. Most of the time this works FLAWLESSLY!

But, after a restart, and without the member being locked, I cannot do a "SAVE AS..."
I screamed out in Frustration!!! <cursing> :(

I love that I can leave Member tabs open from each day. But, I assume it left locks it, just like when I first open a member. MY BAD, but how would I know? I am dumb user... <frown>

Now that I understand this, I have recommend to close out this PMR: 35130,442,000 -- RDI 9.5 Cannot run SaveAs Command....

Thanks for your great explanation Edmund!

PS. We just need RDI to give us friendly explanations for DUMB USER like myself. So, I do not think this GREAT software has problems. Just because I don't understand what happens in the background. Or maybe I should NOT use the great feature to remember my open member from the previous day? <smirk>

-Ken Killian-

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Edmund Reinhardt
Sent: Saturday, October 31, 2015 9:54 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDi 9.5 "not responding"


RDi does setup a member lock when open a member (or saving) What Ken is seeing is that when you reopen RDi after shutting it down. It loads the members that you had open before, but it does not go to the IBM i to do this, it simply loads them from the local cache and the lock is not reestablished. When he saves, this is the first time we are going out to the IBM i and so now the lock is reestablished.
There is an RFE out there to get RDI to reestablish locks on members when editors have been left open on shutdown. (Right now we are just following standard Eclipse behaviour).




From: CRPence <crpbottle@xxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxx
Date: 10/31/2015 10:33 AM
Subject: Re: [WDSCI-L] RDi 9.5 "not responding"
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>



On 31-Oct-2015 08:30 -0500, Ken Killian wrote:
Gee, I thought RDI & SEU handled member locks...

1.) Open the member in RDI for EDIT
2.) Open the SAME MEMBER in SEU for EDIT

It now allows this???? <shock!>

The SEU first attempts to get an Exclusive-Allow-No-Others (*EXCL) lock on the member when first loading, then if successful, obtains and holds an Exclusive-Allow-Readers (*EXCLRD) lock and then drops the Exclusive lock, while maintaining the *EXCLRD lock while the SEU on that member persists. Thus any thread that wants to access the data from the unsaved-changes can obtain a copy; that is why EDTF, CPYSRCF, RDi, or any other feature just requesting the data can get a copy of that data.
Each feature has the option of doing what SEU does, and prevent all but exclusive access, but any client editor effecting that requirement would be quite the deviant.


When I try to save it RDI, I get this message: CPF3156E ("...in use")

presumably correlating with the server msg CPF3156 "File &1 in library
&3 in use."


1.) Close SEU
2.) Save source in RDI
3.) try to reopen source edit mode in SEU, I get this:
EDT0221 - "...in use."
<<SNIP>>

AIUI the RDi holds an *EXCLRD lock like SEU [though I've no idea why given the concept is anathema for typical client-based editors AFaIK; an attempt to effect a conceptual difference between that as online-edit vs typical offline-edit, I suppose], and if so, the msg EDT0221 in that case would just reflect the inability of the STRSEU request to obtain that first Exclusive lock. And just a /save/ from the RDi vs the similar action of a /save and exit/ of the SEU, presumably has the RDi maintaining the lock, just as SEU would in a Save-with-return-to-edit.
I've no idea what\when RDi would drop their lock, if indeed held as I understand; what I found in a doc on the web for RSE LPEX editor was that "Locks released when editor is closed or the RSE connection is disconnected" but when using iProjects and LPEX editor "No RSE job needed on IBM i server Member PAYROLL is not locked" [noting that their example was editing SRCMBR(PAYROLL)] in a document entitled "Rational Developer for IBM i (RDi) Working offline using i Projects".

--
Regards, Chuck

--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.


--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.

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.