can do it through more traditional techniques or through C
functionss. The traditional way would be to use QSH and do an ls of the
directory into a file - check the archives for details. You could also use C
functions to do this - check the archives for details. Either way is very

On 11/16/06, Bob O. <otis_the_cat@xxxxxxxxxxx> wrote:

   Is there a way to read through the files in a folder on the IFS (using
   RPGIV or RPG400) and get the file names?

   What I need to do is read through each file in the folder and rename it
   it will be moved into another folder.  The orignal file name has a max
   30 characters.  Once it is renamed, it can have up to 60 characters
   depending on the path to the folder it is being renamed to.


   Talk now to your Hotmail contacts with Windows Live Messenger.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page