BSFN Find File with wildcards on AIX

xxpeta

Active Member
Hi All,

we need to find files using wildcards on AIX. How do you solve it? Standard BSFN doesn´t work.

Thanks for reply.

Petr
 
Do you files have a structure to the naming format?

I'm not sure if this will work, but you could try a AIX command using Call External command B34A1030 and see if SV Error Status comes back with an exception?
 
It´s not good solution, because I only know a part of file name and need to get correct file name for next processing.
 
B9600471 FindFirstFileMatchingWildcard uses tfindfirst but it looks like it's aimed at ESUs only.

But still have a play as it is also has a module called FindNextFileMatchingWildcard
 
That is a client only function, I'm afraid. We had to write our own that used the native API on the iSeries. I'm sure the same could be done on the Unix host.

Craig
 
Craig´s right, on server it doesn´t work. Unfortunately Aix has some specifics and standard Unix function doesn´t work.
 
Back
Top