PDA

View Full Version : Retrieving files list from a STMF dir



Guest.Visitor
01-01-1995, 02:00 AM
On Thursday, April 09, 1998, 05:31 AM, Dan Troxell wrote: On Thursday, April 09, 1998, 04:02 AM, Francesco Porrozzi wrote: We have a PC with CAWIN 95 that transfersASCII text files to AS/400 in a stream file directory. We need a program that reeds these files and create a special data base file. Our problem is: how can we retrieve the list of all of the files allocated in the STMF directory ? Any help will be appreciated I would think that if you map a network dirve to the directory on the AS/400 you could use a DOS DIR command to get a listing of the files. Not really sure but I do know that from Windows Explorer you can see the files as long as you have the correct authority. If what you are wanting to do is get a listing from an AS/400 program you can use RPGIV/ILE to do this. I have wrote programs that read the directory structure over a mount (to the IFS) to a Unix system and process the files in that directory based on the file name. If this is what you are looking to do let me know and I will be happy to post the code here and e-mail it to you. Wayne Cork Gorendyke Transports, Inc. [/i]

Guest.Visitor
08-04-2000, 02:47 AM
I very much like that information Please send me your solution e.vd.braken@hccnet.nl