It's possible, but I don't think that's it. I added some code to
capture the supposedly bad path name and write it to a table. When I
look at the supposedly invalid entries, that path - that is, all the
directories - exist. It's the actual file that doesn't. The file names
all appear to be validly formatted names, i.e. the names and extensions
appear to be good.
There's also this: my manipulation of the path names and lengths from
the output of QSYLOBJA is correct for the other 80,000+ entries. The
call to the attributes API works and returns valid results. I'm running
this on multiple LPARs, and on just one of the others I got a solitary
error, 3485, which reads "A loop exists in the symbolic links."