×
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.
I am using the below code to read an IFS directory. This same code works
on another Iseries without issue. There are two files in the directory but
the program is not reading them. I checked the authority on the directory
and the files and *Public has all authorities. Any ideas why it may not
see the files? Thanks
directory = opendir('/Directory1');
if (directory = *NULL);
// ERROR: unable to open directory!
endif;
p_dirent = readdir(directory);
dow (p_dirent <> *NULL);
filename = %subst(d_name:1:d_namelen);
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.