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

How do I get a reference to a remote object in the RSE?

I tried all flavours of objectnaming I could think of.

First i get the absolute object name with:

absoluteName = QSYSObjectPathName.toPath
(sol.getObjectLibrary().getValue(), sol.getObjectCode()
.getValue(),
sol.getObjectType().getValue().replaceFirst("\\*", ""));

which gives me /QSYS.LIB/DOMSPR1OBJ.LIB/PGM01.PGM

This object actually gives me an object if i put it in WRKLNK

Then i try to fetch the object:

nativeISeriesSubsystem.getObjectWithAbsoluteName(absoluteName, new
NullProgressMonitor());

Which gives me a null.

nativeISeriesSubsystem is a QSYSObjectSubSytem Here is a link to an image
of the properties of this class

http://screencast.com/t/qyINISCE

I also have an IFS subsystem that fetches IFS objects with path names.
This does work.

What am i doing wrong?

Best regards,

Wim Jongman

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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