I use a user action for this. Set up a member User Action, deselecting the "prompt first" option, using the following (without quotes) as the command: "CPYSRCF FROMFILE(&L/&F) TOFILE(TESTSRC/&F) FROMMBR(&N) MBROPT(*ADD)"
As long as you check the "command log" view after you use the user action, you will see if the copy was successful, and this also allows multiple source members in different source files to all be copied to the equivalent file in a single library (TESTSRC in my example) at the same time.
-Paul.
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Parkins
Sent: 23 August 2015 11:43
To: Rational Developer for IBM i / Websphere Development Studio Clientfor System i & iSeries
Subject: Re: [WDSCI-L] Copying source with RDi
Hi, Vernon. Unfortunately I'm unable to submit an RFE.
Yes, I've tried dragging/dropping, right button Copy/Paste, using RSE with/without the Table View. All work the same. It would be nice to have a checkbox in the prompt window, "prompt for all selected" which could be unticked to avoid subsequent prompts. (Just a "nice to have" to match the functionality of PDM.)
Copying source between different systems - or to/from the client - does _not_ invoke prompting. Perhaps one solution is to create a User Action for CPYSRCF?
Thx for responding - I wondered if I'd missed something.
Brian.
-----Original Message-----
From: Vernon Hamberg
Sent: Sunday, August 23, 2015 9:54 AM
To: Rational Developer for IBM i / Websphere Development Studio Client forSystem i & iSeries
Subject: Re: [WDSCI-L] Copying source with RDi
Interesting situation, Brian - reminds me how things in Ops Nav "worked"
when changing spooled files.
I think this is a nice candidate for submitting an RFE - the design point seems to be something like each source member might go to different source files. This IS possible in RSE, since you CAN select members from different source files, then take the Copy option.
But if they are all from the same source file, maybe there should be no need to prompt for each - or prompt only for the destination.
Have you tried dragging and dropping - I think that can be done, even between systems. If that is true, are you still prompted? Just curious early in the morning!
Cheers
Vern
On 8/23/2015 3:33 AM, Brian Parkins wrote:
Folks, a simple “how to” problem I cannot resolve. Suppose I have
several source members I wish to copy from one source file to another.
In PDM I would use Option 3). In RSE I can use Copy/Paste. However, in
RSE I am also prompted with the CPYSRCF command for each member to copy.
Is there a way to avoid the prompting in RDi/RSE? Is there a
Preference somewhere? It can get mighty annoying when copying several
members. (OTOH, I guess PDM Option 3. is more efficient because the
members are not being downloaded/uploaded to/from the client.)
Thx in advance.
Brian Parkins
--
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.
---------------------------------------------------------------------------------------
Important This email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way.
If you have received this email in error, please notify the sender and delete the email from your system. We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Group Limited or its subsidiary companies by email.
Registered Office: BHSF Group Limited, Gamgee House, 2 Darnley Road, Birmingham B16 8TE. Registered in England number 04767689. BHSF is authorised and regulated by the Financial Conduct Authority and Prudential Regulation Authority.
This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit
https://www.mimecast.com
---------------------------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.