× 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 wrote a program that uses the QGYRHRL (QgyRtvHdwRscList) API yesterday. The purpose is to find all of the workstation devices on the system. However, only two devices are found; trust me, we have more than two workstation devices here. And, incidentally, neither of the workstations it retrieves is listed when I use WRKCFGSTS *DEV. No printer is retrieved; we have twinax, network, and emulated printers all on our system; all of which show upon using the WRKCFGSTS command.



Originally I tried limiting the API to retrieve just the local work station resources (Category = 3). When that didn't work, I changed the program to retrieve all hardware resources (Category = 1). Same result plus, of course, all cards, disks, etc.


I even downloaded a program from the web that had the API. When I ran it, I got the same result (only the two displays previously listed). The sample output, which accompanied the program on the web site, indicated that individual display and printer devices are retrieved; just didn't on my system (which, by the way, is at V5R4).


The only thing that I have been able to come up with is that we run under the 36 environment, but I don't see how that could have an effect. An object is an object, ain't it?


Any clues gratefully and humbly accepted.


Thanks.

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