The AS/400 File System in a Nutshell

Posted: Apr 23, 2010 |Comments: 0 | Views: 468 |

One of the most basic principles to understand on the AS/400, iSeries and System i platform is the object file system. To effectively administer and operate the platform it's important to comprehend the underlying file system structure and semantics.



An "object" is a basic building block of the entire file system found on the AS/400 platform. Put very simply, everything that is stored outside of the IFS portion (which is a special part of the system) is referred to as an object. Objects includes libraries, files and even configuration pieces of the operating system like output queues and user profiles.



What distinguishes objects from one another is the object type and the attribute. The type denotes if the object is a library, database file and so on. But at the root of the file system, from a user perspective anyway, are libraries. Within libraries are the individual objects such as files, programs and so forth. A library cannot contain another library and at the root of the file system can be only libraries. Still with me so far?




To review objects and where they are stored you simply use the generic Work with Objects command WRKOBJ. This command allows you to review objects that are stored within a library. WRKOBJ will display the object name, type, library it is stored in, description and the attribute. The attribute is another field that can help you identify what exactly an object is. For example an object can have a type of file and an attribute of physical file.



Object names are limited to ten characters or less and cannot start with a number. IBM supplied objects (ie objects that are a part of the core operating system that you should not mess around with) always start with the letter Q. There are two exceptions however and those are the QGPL and QUSRSYS libraries which are generally used by a system administrator to store non system objects like output queues and some initial CL programs since they are a part of the default library list.



As you need to work with specific object types, like changing something about a library you will need to use specific commands for the object type. For instance in the case of a library you would use the Work with Library command WRKLIB. Some of the more popular object specific commands include Change Physical File or CHGPF, Work With File or WRKF and Create Duplicate Object or CRTDUPOBJ.



One super tip is to learn how to use the Programming Development Manager, more commonly known as PDM to work with objects. Traditionally used by programmers for cranking out lines of RPG, CL and DDS specs, PDM is tailor made for working with libraries and objects contained within libraries.



With PDM you can change objects, copy them, delete and more very quickly and easily. PDM even has nifty position to fields and other shortcuts built right in that make finding and working with an object quick and easy. You also have the capability to filter object lists by name (generic or with the * wildcard) type and object attribute.

Questions and Answers

Ask
200 Characters left
Rate this Article
  • 1
  • 2
  • 3
  • 4
  • 5
  • 0 vote(s)
    Feedback
    Print
    Re-Publish
    Source:  http://www.articlesbase.com/computers-articles/the-as400-file-system-in-a-nutshell-2216164.html

    Article Tags:

    as400

    ,

    iseries

    ,

    system i

    In 1988, IBM introduced the AS400® as a server solution for midsize businesses and departments within larger enterprises. Over time, IBM realized that in order to fulfill their vision of replacing PC and Unix servers throughout organizations worldwide, the AS400 would need to be easily integrated with distributed networks and...

    By: David Muckl Computersl Nov 27, 2008 lViews: 976

    How does RPG AS400 address the internet? Has it moved on from the green screen? Is it really going anywhere or has it anywhere left to go? Well they said it was dead twenty years ago but it's still going strong and I guess as long as there's life in the Series i or whatever that morphs into then there will be life in RPG.

    By: RogerPascoel Computersl Apr 02, 2011

    Understanding how the printer systems flow on the AS/400, iSeries and System i is a basic system administration function. Typically most of the issues that occur from day to day either have to do with jobs or printers, so it's important to be able to do basic troubleshooting of printing. Now...

    By: John Andersenl Computersl Apr 21, 2010

    There is a large misconception running about the user community these days that the AS/400 and iSeries platform are old antiquated machine as scarce as the dinosaurs and just as hard to use with its crummy looking text only interface commonly known as the green screen. This is a major...

    By: John Andersenl Computersl Aug 24, 2009 lViews: 368

    The AS/400 and iSeries systems are essentially command driven operating systems. There are definite advantages to a command line driven environment but nowadays with the widespread popularity of GUIs people seem to recoil when talking about anything command driven. The good news is that the native command set available on...

    By: John Andersenl Computersl Aug 24, 2009 lViews: 2,221

    The operating system that natively runs on the AS/400 and iSeries platform is a command and menu driven system, so it's important that you have a good understand of how to use commands and in particular become familiar with commands you will use regularly. For some people the command driven...

    By: John Andersenl Computersl Aug 24, 2009 lViews: 1,099

    An in depth look at the new MMORPG from Blizzard Entertainment known as Diablo III, a long awaited release for Diablo fans.

    By: swtorman90l Computersl Jun 01, 2012

    Most small businesses take advantage of computer technology, and it certainly can make things a lot easier for everyone within the business when you do so properly. Unfortunately, there are also a number of different problems that can occur as a result of the technology that you are using.

    By: Jesus Mattsonl Computersl May 31, 2012
    Steve Crown

    Copying ipod to computer is easy. For more information on how read this article.

    By: Steve Crownl Computersl May 28, 2012

    Online training software has found its place in almost all the offices and organizations. It can be used to train employees over the net

    By: Yaxley Halel Computersl May 28, 2012

    According to leading research carried out by Gartner, the number of PCs distributed throughout the first quarter of 2012 went up by 1.9% which was better than analysts predicted.

    By: Daniel Kiddl Computersl May 28, 2012

    When it comes to reporting tools for the AS/400, iSeries and IBM i platform there are many products to pick from. In fact a whole cottage industry has sprang up over the years with a myriad of different data tools for reviewing and extracting data from the OS/400 integrated DB2...

    By: John Andersenl Computersl Jul 19, 2011

    One of the more commonly asked questions I see in forums and by end users is how do you get your data from the AS400 down to the PC in a text file format or as an Excel based spreadsheet. And fortunately with modern tools and software this is a...

    By: John Andersenl Computersl May 09, 2010 lViews: 524

    Whenever I start working on an AS/400, iSeries or Power System box at a new company there are a few key areas I like to be sure of. These areas include ensuring basic system level security, job configuration and process management. Let's take a fast look at how you can...

    By: John Andersenl Computersl May 04, 2010

    One of the nice features of the AS/400 and iSeries platform is it's reliability and administrative requirements. But even in light of this as a system administrator you should also be looking and monitoring key data elements to create a baseline of performance metrics. This data can then be used...

    By: John Andersenl Computersl Apr 28, 2010 lViews: 177

    Having worked on and administered IBMs midrange AS/400, iSeries and System i platforms for the better part of ten years I have found that you can boil down the essential administrative functions to a few select commands available from one primary command. Let me explain. One of the major functions of...

    By: John Andersenl Computersl Apr 28, 2010 lViews: 259

    Discuss this Article

    Author Box
    Articles Categories
    All Categories
    Quantcast