Rob,

If you are looking for examples of the object list APIs, I included
a CHGOBJ command as part of the open source iSeries-toolkit.
You can download the toolkit at:
http://iseries-toolkit.sourceforge.net.
To see the open list support look at the open list and object list
source members. You can view those at:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/qrpglesrc/objlst.irp?rev=HEAD&content-type=text/vnd.viewcvs-markup

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/qrpglesrc/opnlst.irp?rev=HEAD&content-type=text/vnd.viewcvs-markup

I will add an example of their use to the documentation page at:
http://sourceforge.net/docman/?group_id=39365 if it would help
you.

David Morris

>>> rob@dekko.com 01/16/02 06:32AM >>>

Thanks - I'll take a look at this.

Rob Berendt
--

Rob:

On Tue, 15 January 2002, rob@dekko.com wrote:

> No, we're trying to find objects users created on the fly and now
have
the
> wrong owner.

Use the Open List APIs.

I'd probably just call QGY/QGYOLOBJ to get the first object (or set of
objects) specifying keys 0302 and 0405 for owner and creator, then
call
QGY/QGYGTLE to continue through the list, and finally QGY/QGYCLST to
close
the list. For a test, you can grab a single object at a time and drop
out
to QGY/QGYCLST whenever you want. No outfile to create, no user space
limits -- just process the list.

Your specific need seems almost ideal for an entry into the Open List
APIs.
Limited requirements that are well known. Pretty simple request as
this
kind of thing goes.

Tom Liotta

--
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904
http://www.400Security.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.