Home > AS/400 Tips > iSeries programmer tips > Rev up the IFS with *TYPE2 directories
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES PROGRAMMER TIPS

Rev up the IFS with *TYPE2 directories


Tim Granatir, Search400.com expert
11.19.2003
Rating: -4.60- (out of 5)


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


If you've used the IFS for any length of time, you've probably noticed that performance is sometimes lackluster. That became apparent to us a couple years ago when we decided to take an off-the-shelf application that was running on a Windows NT server and run it on the iSeries using the IFS in place of the NT server. Everything worked fine, but the first comment our employees had was that large database accesses took longer than when the application files were on the NT box.

Despite the sometimes less-than-stellar performance, security reasons prompted us to keep the application on the iSeries. So when IBM announced in V5R2 that it was revamping the directory structure of the IFS, we eagerly waited to see what it would do. What they gave us were *TYPE2 directories, which replace the old *TYPE1 directory implementation that has existed since the IFS was introduced.


[TABLE]

After converting our directories to*TYPE2, I can't think of a single reason why anyone would NOT want to convert their directories to this new structure. Performance is much better (1.5 to 12 times faster, depending on what you are doing) and there is an increased reliability over the older *TYPE1 variety.

If you're like us, you may have multiple iSeries servers and you're worried about compatibility with your other machines if you convert some of them to the new type. Have no fear: Type 1 directories can be saved and restored to *TYPE2 directories AND vice versa. *TYPE2 directories are also capable of storing more links per directory (up to 1 million) where *TYPE1 was limited to 32,765. For iSeries Navigator users, objects will be sorted in name order when viewing objects in Type 2 directories.

To do the conversion, IBM has a co


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


RELATED CONTENT
iSeries CL programming
Checking in on your IBM i authorization lists
Running PHP open source applications: NOBODY needs authority
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
CL program for daily backups
An automated CL method of moving a query from AS/400 to Excel
Changing user password expiration
Eight steps for creating program documentation using AS/400 utilities
DAYSPAST CLLE program for AS/400: Compares object creation date with today's date
Advanced Job Scheduler help
How do I retrieve the source for an output queue description to put in to a CL program?

Application Development
iSeries calling an .exe
Top 10 programmer tips
Formatted work job scheduler
Convert system date and time
Mixing free format code with embedded SQL
SQL update a field in one file from a field in another file
Webcasts for iSeries programmers
Programming advice from the pros
Easy code copying via the drag and drop method
Setting FTP time-outs

Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Controlling remote command processing
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Tracking critical file access in real time
Create an iSeries Access image and update it with the latest Service Pack

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


mmand called CVTDIR. The only bad news, if you can even call it that, is that *TYPE2 directories are available only for the root, QOpenSys and user-defined file systems (UDFS). And once you convert a directory to *TYPE2, there is no utility to convert it back. Considering that *TYPE1 and *TYPE2 directories can peacefully coexist with each other, that isn't really a big deal, just something to be aware of. Depending on the number of objects per directory, your disk utilization could increase slightly by going to *TYPE2. But if your number of objects per directory is small, it should decrease.

The convert directory command can also provide you with conversion time estimates as well as pre-create some of the needed objects so that your actual conversion will go quicker. In our case, the conversion ran quicker than the estimated time and was uneventful.

I also found out after the fact that the Type 2 directories are available in V5R1 by applying certain PTFs. More information on that can be found here.

*TYPE2 directories are a further refinement and improvement in the IFS. With so many benefits, the only part I wonder about is why the conversion to *TYPE2 directories is optional at all.

---------------------------
About the author: Tim is vice president of Technical Services at Interlink Technologies in Maumee, Ohio, where he serves as chief architect for their warehouse management system. He has worked in the banking, insurance, healthcare and distribution industries in various positions, including programmer/analyst, systems analyst and DP manager. Tim has worked on IBM midrange platforms since 1983.

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


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