Home > AS/400 Tips > iSeries administrator tips > Ten things to remember when using the IFS
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Ten things to remember when using the IFS


Ron Turull
04.14.2003
Rating: -3.30- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Using the IFS can be a little tricky. Ron Turull gives you 10 things to keep in mind.

  1. To access the IFS from a PC, you need the Client Access/400 V3R1M0 Windows Client or the Optimized for OS/2 Client.
  2. Each individual file system (e.g., the OS/400 library system or the DLS file system) is a major subtree in the IFS, with only the root above them.
  3. In QSYS.LIB (the OS/400 library system), libraries are subdirectories, as are database files (because database files contain members). Database file members are considered "objects" or "files" in the IFS, as are other OS/400 objects.
  4. Each individual file system has it own naming conventions. For example, in the QSYS.LIB file system you must specify a period and the object type after the object name (some examples: ".LIB" for libraries, ".FILE" for files, ".MBR" for database members, or ".OUTQ" for output queues). Also, some file systems, such as QOpenSys, are case-sensitive.
  5. To access an object in any of the file systems via the IFS, you must specify a DOS-like path name to the object. For example: specifies member MYFILE in file MYFILE in library MYLIB in the OS/400 library system. You can use the back-slash character () instead of the front-slash character (/) in path names.
  6. Hard links cannot cross file system boundaries while symbolic links can. The QSYS.LIB and QDLS file systems support only a single hard link to an object (the one that is created automatically when the object is created). You cannot create symbolic links in either the QSYS.LIB and QDLS file systems. However, symbolic links pointing to objects in QSYS.LIB or QDLS can be created in other file systems.
  7. Directory and file names are stored in Unicode format. This allows the IFS to automatically convert directory and file names from one code page to another. For example when a PC uses a different code page than the AS/400, directory and file names are converted automatically to the code page of the PC. Caveat: The code page you are using must contain the characters used in the names. Bottom line: Use international letters and symbols only (i.e., use only characters common to all code pages).
  8. The IFS supports the single-character wildcard character '?' as well as the multiple-character wildcard character '*' . (DOS users should be familiar with this.) For example, this gives AS/400 users the ability to search for objects using a more complex search criteria than that provided by the standard AS/400 generic name facility (e.g., WRKOBJ TEST*). The IFS Work with Object Links command (WRKLNK) can be used to perform a more complex search (for example, WRKLNK '/QSYS.LIB/A?C?.* will find ABCD.LIB and ADCB.FILE, but not ABBCD.LIB). Unfortunately, wildcard characters are allowed only in the object name and not in any of the directories listed in the path.
  9. For a list of APIs that can be used by AS/400 programs ...

    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    Performance
    Will overloaded discs impact iSeries performance?
    Extend storage capacity on an IBM i without negatively effecting system performance
    Database drivers on the i: MySQL vs. IBM Toolbox
    Performance tuning for IBM i: The basics and beyond
    IBM releases new Power products for the midrange
    Top System i admin tips for 2006
    Catholic Charities keeps track of homeless with iSeries
    i5 error messages: What you need to know
    IBM races for clock speed
    System shutting down after cleanup

    Implementation
    Getting modules to adopt authorities from the main program
    iSeries i5/OS: Top 10 Q&As
    iSeries i5/OS: Top 10 Q&As
    Using the SPLF0200 format in QUSLSPL API
    New option within the WRKSYSACT command
    Identify files used in all queries
    Security Tools can help manage your system security
    Client Access Express password cache
    Check constraint allows database admins to sleep a bit better at night
    See the users with *change or *all authority
    Implementation Research

    iSeries administrator tips
    Analyze the health of your IBM i server with iScore
    Researching high availability for your System i shop
    Translating Linux for IBM i admins: Using GUI to make it easy
    Translating Linux for IBM i admins: Working with jobs and networking
    OpenOffice: What to know before making the transition from Microsoft Office
    OpenOffice: An enterprise open source solution
    Database performance comparisons on IBM i
    Translating Linux for IBM i admins: User profile commands
    Modern System i reports using Client Access
    Tips for installing Lotus Domino server on a System i partition

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    AS/400  (Search400.com)
    i5/OS  (Search400.com)
    iSeries  (Search400.com)
    OS/400  (Search400.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    to access the IFS, see "Unix-type APIs" in the API Reference manual.

  10. The IFS supports local sockets. This allows sockets programming on a single machine to implement single-box client/server programming.

-----------------------------------
About the author: Ron Turull is editor of Inside Version 5. He has more than 20 years experience programming for and managing AS/400-iSeries systems.

==================================
MORE INFORMATION
==================================

  • Understanding and taking advantage of the IFS
    It's an old story, but if you are involved in any way with your iSeries' administration duties, you will want to be sure you understand your system's Integrated File System (IFS). Understanding what it is and how it works will allow you to take full advantage of the IFS. You also need to have a fairly comprehensive understanding of the IFS to perform routine saves and restores.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts