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



"Each pointer in the array points to a specific path name that identifies a directory."

So no, you cannot exclude a specific file.

You could make your own list of files and keep that in the Userdata parm.
Then compare the file passed to the CallBack to what is in your file list, and do something based on that.
But the callback will be run for each entry in the path.


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jay Vaughn
Sent: Thursday, October 28, 2021 7:38 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Qp0lProcessSubtree

Is anyone familiar with this API, specifically with the use of the
exclusions list parm?

based on what I see here...
https://www.ibm.com/docs/en/i/7.3?topic=ssw_ibm_i_73*apis*qprstree.htm

I cannot confirm whether a single file can be excluded or not (seems like
only paths).

Can anyone confirm whether they are able to exclude a single file using
this API?

tia

Jay


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.