Tips from Jackie
o ahead, seat yourself in front of your favourite terminal, signon to the AS/400, find a screen with a command line and enter "MD TIPS". Now try and find TIPS. It's not a library, it's not a file, it's probably not to be found! Actually "TIPS" is now a real directory in your integrated file system or your IFS structure. It is outside your familiar QSYS AS/400 structure. "TIPS" can be viewed with the WRKLNK or DSPLNK commands but the best way to view your directories is from a PC. If you are on V3R1 and are using Client Access for Windows or the Optimized OS/2 client, the integrated file system appears to be just another disk drive. The highest level, the / or the root level is the entire AS/400 system. The AS/400 appears as a drive letter similar to your C: drive.
Each directory at the next level below the root appears as a directory in the "AS/400 drive." This level includes QSYS.LIB, QDLS (shared folders), QOpenSys (UNIX), QLANSrv (FSIOP), a home directory and any first-level subdirectories of the root system such as our "TIPS". You can interact with the directories and objects of the integrated file system as if they were stored on your PC. You can move an object from one directory to another. If desired you can actually move files from the AS/400 to the PC by selecting the file in the AS/400 drive and dragging it to the PC drive. Conversion from EBCDIC to ASCII is done automatically. A PTF is available to allow you to remove QSYS and all your operational AS/400 information from the end users view. Having an end user double click on QSYS.LIB on a large system can send their PC away for a long time!
Not only can you execute the MD (MKDIR) command from your AS/400 command line you can also execute the CD, MOVE, COPY, RENAME, and DEL or ERASE commands. These commands operate on files and other objects in any file system that is accessible through the IFS interface. To work with your IFS structure from a command line you must use the WRKLNK and DSPLNK commands. You can access your normal AS/400 objects via the IFS commands but to do so you must use the following structure:
Within the QSYS.LIB directory, libraries appear as subdirectories. The name of each library "subdirectory" has a .LIB extension. Database files also appear as subdirectories, but with a .FILE extension. Database file members appear as files within the xxx.FILE subdirectories. Within QDLS, folders appear as subdirectories, documents appear as files in the folders "subdirectories".
You can access all the PC type commands from the
AS/400 menu system. The integrated file system menus are found
via the Files, Libraries, and Folders menu. To access this enter
GO DATA and then select the option Integrated file system. For
more information on getting started with IFS see the "OS/400
Integrated File System Introduction V3R1" manual SC41-3711.
Jackie Jansen is an AS/400 Specialist and Consulting SE, providing national technical and marketing support for the AS/400 in Canada. Jackie frequently speaks at AS/400 Technical Conferences and User Group meetings.