|
Sure...you 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 doable. 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 so it will be moved into another folder. The orignal file name has a max of 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 list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.