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



IBM docs says: "No rows are returned for remote file system objects. This means that for the QNTC file system, only a row for /QNTC is returned."

I need to find all the directories under /QNTC. Am I limited to "DSPLNK OBJ('/qntc/*') OUTPUT(*PRINT) OBJTYPE(*ALLDIR) DETAIL(*NAME) DSPOPT(*ALL)", then copying the spool file to disk and reading that?

I did see an idea (IBMI-I-2844) submitted by Darren Strong 4 years ago, which has been under "Future consideration" for 3 years. Yay?

Per Rob's response to Darren, I found the Qp0lGetAttr API and then found Scott Klement's headers for this. Great, but holy smokes, after reviewing the Qp0lGetAttr prototype and the Qlg_Path_Name_t and Qp0l_AttrTypes_List_t data structure definitions, I feel like DSPLNK, CPYSPLF, and querying the outfile (and hope there are no really long directory names) is the way to go.

Has anyone already invented this wheel and would they be willing to share?

- Dan
*** CONFIDENTIALITY NOTICE: The information contained in this communication may be confidential, and is intended only for the use of the recipients named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. ***

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.