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



I appears the selected list is uploaded into a temporary file. The name of
this temporary file and member is what is passed in variables &ML, &MF and
&MM. I guess your user action has to invoke your own code that processes
the list of objects from the temporary file.

I'm guessing because, although this file was created when I tried running a
run-once user action:

Display Member
Description
Member . . . . . . . . : <my-user-profile-name>
File . . . . . . . . . :
QRSESELECT
Library . . . . . . . :
QRSETEMP
Member type . . . . . . :
TXT




the action fails to launch:

com.ibm.etools.iseries.core.api.ISeriesEncapsulatedException: Invalid thread
access
com.ibm.etools.iseries.core.api.ISeriesEncapsulatedException: Invalid thread
access
at com.ibm.etools.iseries.core.resources.ISeriesMemberTransfer.upload(
ISeriesMemberTransfer.java:1011)
at
com.ibm.etools.iseries.core.resources.ISeriesEditableSrcPhysicalFileMember.upload
(ISeriesEditableSrcPhysicalFileMember.java:1448)
at
com.ibm.etools.iseries.core.resources.InternalUploadMemberRunnable.run(
InternalUploadMemberRunnable.java:40)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
ModalContext.java:113)




On Dec 19, 2007 10:23 AM, DeLong, Eric <EDeLong@xxxxxxxxxxxxxxx> wrote:

I doubt if you will get this to work..... As I recall, all objects would
need to be specified on the same SAVOBJ command in order to be added to a
SAVF object. You cannot use a series of SAVOBJ .... SAVF(XYX123) as there
is no Add/Replace option to allow for appends.

In WDSC, you have selected multiple objects, then apply your user command.
This runs once for each selected item. When complete, your savf would only
contain the LAST object you saved to it.

Eric

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]On Behalf Of Robert Rogerson
Sent: Wednesday, December 19, 2007 8:20 AM
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] User Action and multiple objects...


I'm attempting to create a new User Action to save objects to a *SAVF. I
want to be able to select multiple objects and apply the same User Action
to
all selected objects.

I checked the archives and found reference to ML, MF and MM and the Invoke
once parameter when creating the action.



Can I use ML and MF even though MF may not be a file or is there another
way
of accomplishing this.



Thanks,



Robert A. Rogerson

--
This is the Websphere Development Studio Client for 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 Websphere Development Studio Client for 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.