On Mon, 19 Jul 2004 craigs@xxxxxxxxx wrote:

> I have been listing directories and files in the IFS for quite some time
> now.  I recently discovered I was not listing anything in the \QDLS
> directory.  I am using RPG IV with the opendir() and readdir() in a
> recursive subprocedure.

Have you tried specifying /QDLS instead of \QDLS?  the iSeries uses the
Unix-style directory separator, /, instead of the MS-DOS style \.

> This appears to get all directories and files except those in the \QDLS
> directory.  On debug, I see that \QDLS is successfully opened and only
> one directory (".") is read.  There are many directories (folders) with
> files but they do not show up on any of the readdir()s.  Any ideas?

I have no problem reading files from QDLS with opendir(), readdir(), etc.
Do you have permission to the folder?  Are you enrolled in the system
distribution directory?


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.