|
On Oct 29, 2021, at 4:44 PM, Hiebert, Chris <chris.hiebert@xxxxxxxxxxxxxx> wrote:
"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
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.