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




David and Vern
Please ignore my previous notes on this subject,
Vern is absolutely right that we cannot copy and paste any other object
beside SAVF because they cannot be represented as a stream of bytes in the
clipboard.
In order to do this properly, the tool needs to know both the source and
target of the move or copy, which is why drap and drop is the right way to
move objects around on the IBM i.
So making sure that the target filter is open, click on the source object
and hold the mouse down and move to the target library. The operation will
be a copy.
(This is were the open as table can make things more convenient)
Alternatively and very simply, you can right click on the PGM and select
the move operation.

No need to go back to PDM :-),

I apologize for being to quick speak without double checking my facts.

Edmund Reinhardt


|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------|
|Vern Hamberg <vhamberg@xxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------|
|Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------|
|06/10/2010 09:49 AM |
>--------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------|
|Re: [WDSCI-L] Copy program from one connection to another |
>--------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------|
|wdsci-l-bounces@xxxxxxxxxxxx |
>--------------------------------------------------------------------------------------------------------------------------------------------|





David

As far as I know, the only object type that can be copied from one
connection to another is a save file. Programs cannot be copied. I have
rdp7.6 and tried to drag a program from one to another - got your
message. Tried dragging a save file, worked fine.

This is how things work now on the i - you have to make a save file of
any object to get it to another system. I'm talking of using FTP - there
is a way using the FileSvr.400 - whatever it's called - but that might
not be available through the client.

I wish the client could do what SAVRSTOBJ does - then anything could be
copy/pasted.

Now you can drag any member to another connection - just have to drop it
on the container source file. You can't drop it within the content list
of a source file, even though, to me, the icon shown while dragging
suggests that you can, based on other windows behavior. Sigh!

That's my experience, anyhow - maybe I'm missing something, too.

Vern

On 10/6/2010 3:55 AM, David FOXWELL wrote:
Hi,

I'm having trouble with this on Rdp7.6. I don't remember such a problem
on WDSc6, just that I didn't do it much because of the time it took.

In Connection1, I drill down into my object filter (or the same if I
drill into the libraries filter), select my program object right click and
copy.

In Connection2, I do the same. I have a filter pool with the same object
filters. The library list for the connection determines the objects
displayed. If I right click the paste option will show if I want to paste
in the libraries filter. I select the library name, click paste and get :

Invalid transfer operation
The source mylib/mypgm OBJTYPE(*PGM),
cannot be transferred into the target myotherlib OBJTYPE(*LIB:TEST-CUR)

Here, the target lib is the curlib for the connection. If I choose
another library, I get no message, but no copy either.

Bug or me?
--
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 ...

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.