× 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

This topic has me thinking about something I heard on the COMMON webcast recently on using GIT with RDi - it was driven to some extent by Arcad and their approach to dev ops.

They load source into a GIT repository, then all editing is done out of that repository, basically.

The point related to this thread is, RDi seems to use editing based on the extension on a source file, so that one can open a file on the local drive with an RPGLE extension, and it will use its current edit rules for that member type. Key point - **** the file does not have to have come from the IBM i ****

Maybe this should have been obvious to me, but I've kind of felt there was more of a connection to source PFs on the IBM i - I've never used iProjects, so maybe I missed that due to that.

I also have taken advantage of recovering recent changes by finding the file in temporary remote system location, but I just hadn't solidified my understanding of how it ties together.

Does RDi keep track of where the original lock was made? You mention that it is released when closing RDi - so it seems it doesn't do that.

Now I do think that if I right-click in RSE itself on the original member, that the Save as... there will give me the dialog to save to the IBM i and get a member with a different name - basically to make a copy of the original through the Save as... process. I'd like to use Save as... instead of Copy, then Paste into the source file and get the prompt to overwrite or rename - that one could be open to error if not confusion. It was not obvious at first, to me, that I must do the paste by right-clicking the source file, not the member.

Thanks
Vern

On 2/7/2019 6:18 AM, Mike Hockings wrote:
Hmm, if you have closed and re-opened RDI then I suspect that to be
different from just opening a source member in a connected session. That
is when you close RDI the lock on the source member is released. This
won't be re-acquired until you do a save or something with the edit
session. So on re-open of RDI the edit window is just reloaded from the
local source so it is essentially a local file on your PC. As a result the
dialog presented when you do a SaveAs will likely be different?

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: Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/02/06 16:52
Subject: Re: [WDSCI-L] Save AS with RDi - local only?
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>



Yeah Michael - only one connection - well, I use connections to 3 LPARs,
all in the same workspace.

My goal was to make a copy of an existing source member with a different
name in the same source file. The original had been left open over
several shutdowns and restarts over several days. If I create and save a
new member, then do a save as from the file menu, it does give me the
library list and the source file that it came from -- so that feels
different.

Thanks
Vern

On 2/6/2019 2:36 PM, MichaelQuigley@xxxxxxxxxx wrote:
See below:

"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 02/06/2019
01:00:01 PM:
----- Message from Jon Paris <jon.paris@xxxxxxxxxxxxxx> on Wed, 6
Feb 2019 17:22:04 +0000 -----

To:

Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>

Subject:

Re: [WDSCI-L] Save AS with RDi - local only?

There is some odd-ball behaviour with this Vern. Sometimes it works
and sometimes it only offers a local target. I've never formally
reported it as I can't get it to repeat consistently.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Feb 6, 2019, at 3:48 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:
Y'all

I have tried from time to time to save a source member as a
different name, and using the Save as... menu item.
This must be saving only to the local workspace, because it
doesn't seem to add a member on the IBM i.
I must have missed something, as this wasn't my expectation. So
what do we have to do? Go to RSE and make a copy, then open that up to
edit?
This feels clumsy - I'm curious what else I've missed in this process.

Cheers
Vern
Nothing solid here, but could it be the connection it's using. (That's
assuming you have multiple connections.)

Michael Quigley
Computer Services
The Way International
--
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@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4FuZD2ZC9butmdm7PpqhkQvpz0T4ro1VFjw7g0P3_qc&s=Z0EmsRwpVgt92d0k_8XHu8YVh9v41ka-tyfaNh4zDm4&e=

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4FuZD2ZC9butmdm7PpqhkQvpz0T4ro1VFjw7g0P3_qc&s=8CvRZCYjtxhP_QhHtHSh6QN8ZD0QQqaDDaaVaE4Edl0&e=
.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4FuZD2ZC9butmdm7PpqhkQvpz0T4ro1VFjw7g0P3_qc&s=80WpPO3Pxal1MU8SMbY02kTP-5PWGS8yCBu6rgp4sdw&e=






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.