Tuesday, October 19, 2010

List Files in IFS Folder

IFS Folder -
The IFS (Integrated File System) is how IBM named the way that AS/400s handle different file systems within a single system image.with different characteristics and capabilities. But Windows Explorer handles all three at once in an integrated fashion.That's similar to what is called the IFS on AS/400s./QDLS is a kind of FAT file system./root is more like NTFS./QSYS.LIB is the common database file system./QOpenSys is a Unix file system.There are a number of other file systems integrated with those within a single system image.
IFS Folders can be viewed using following methods
a. In Emulator, A IFS Folder can be viewed using WRKLNK
The default Directory for users will be ROOT Directory which can be changed using the command
CHGCURDIR - Change current directory.

b. The IBM provided Emulator - iSeries Navigator provides Folder view of IFS System in AS/400.

The "IFS" provides a common naming format and allows a single program to access objects in all of the file systems at once, using methods native to each file system or methods that are valid for all file systems.The structure makes it possible for IBM to plug new file systems in as needed whenever they are created. (You can even create your own.) New devices such as for solid-state storage can be accessed natively, even without recompiling programs.

LIST Files in QDLS

All the files in the folder mentioned below would be populated in the outfile.
DSPFLR FLR(FOLDNAM) TYPE(*DOC) OUTPUT(*OUTFILE) OUTFILE(QTEMP/LIST)