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

These give general information ABOUT file descriptors, but I didn't see where they help determine how many are in use.

The second link is not germain, so far as I can tell - that is about SQL descriptors - a different animal, related to the SQL CLI interface, as I recall from working with that.

But I've been wrong a couple times before!

I even have a doubt about my suggestion to use fcntl() - I don't remember or know if there can be gaps in the used file descriptors - each does refer to an open file, and if one closes one with a lower FD while one with a higher FD is open, is the lower one reused? I used to have to play with these when working with the RPG2SQL product at RJS, since that opened sockets. It's been awhile!

Vern

On 6/6/2013 8:08 AM, Gary Thompson wrote:
Maybe these links will help:

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/ifs/rzaaxmstfildes.htm

http://www.ibm.com/developerworks/data/library/techarticle/dm-0811forstie/

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Fapis%2Fgvsoc.htm

https://www-304.ibm.com/support/docview.wss?uid=swg21368148


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: Wednesday, June 05, 2013 9:00 PM
To: 'Midrange Technical Discussion'
Subject: list of open descriptors

Gurus!
I have been looking around for how to find a list of open descriptors in a job without much luck. Probably my ignorance of how to search for the command or API. In particular, these are the descriptors to write to IFS files but my understanding is that descriptors can be for any "open" operation such as a socket as well.
What is the command or API that will show the list of open descriptors or the number of open descriptors in a job?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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.