29
Fri, Nov
0 New Articles

AS/400 Integrated File System Solutions, Part 1: Sharing Resources

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Editor’s Note: This is the first in an ongoing series that will give you real-world examples the different ways in which you can utilize the AS/400.

You may or may not be making much use of the AS/400 Integrated File System (AS/400 IFS). If you’re not, you should be. It provides you with a set of valuable tools for managing data on your AS/400. As the AS/400’s role as a network server expands, it’s important to make the most of the data-serving tools the AS/400 provides. The infrastructure, commands, APIs, and other functions that make up the AS/400 IFS give you the means to create solutions to meet your business needs. In this article series, I will examine problems and show you how the AS/400 IFS can be used to solve them.

In this first article, I will show how the AS/400 IFS can be used to deliver resources across a network. Specifically, this example will show you how to distribute an application on a CD-ROM from the AS/400 to PC clients using the AS/400 IFS. It is not necessary to understand all the technical details of how the AS/400 IFS works to implement this system. Although the situation I’ll describe is hypothetical, the problem of resource sharing is a real one that can be solved with the AS/400 IFS.

At the hypothetical Ace Tools, employees use a parts-tracking application that they access from PCs located throughout the warehouse and factory to track the location and availability of parts. Because the PCs are located in spots that are not as clean as an office and the PCs are subjected to a lot of wear and tear, the MIS director at Ace Tools has chosen not to add high-end features such as

CD-ROMs in these locations. After all, these PCs are used mostly as terminals, and the AS/400, tucked safely in a clean, air-conditioned office, does much of the work. Each PC runs Client Access/400 to allow the tracking application access to the master parts database stored on the AS/400. (See Figure 1.)


The MIS team is often called upon to upgrade software on the PCs. More and more often, new software arrives on a CD-ROM. The majority of the PCs don’t have CD-ROM drives at all, and the few that do are widely dispersed. It would be very time-consuming to walk around the warehouse with one CD and install it on each computer. Ace Tools needs a better solution.

Luckily, Ace Tools just sent someone to an AS/400 training conference, where she learned about the AS/400 IFS. This hypothetical AS/400 professional is pretty sure she can use the Optical File System to distribute the software to all of the PCs connected to the AS/400. (She’s right.) This part of the AS/400 IFS includes any direct-attached optical libraries and the CD-ROM on the AS/400. The directory called /QOPT contains the Optical File System. To install the new software application, the system administrator places the CD-ROM into the AS/400 CD-ROM drive. A subdirectory within the /QOPT directory will appear, bearing the volume name of the CD. In example, I’ll call it NEATAPP, which is accessible in the directory /QOPT/NEATPP.

By default, this directory is created with the authorization list QOPTSEC, which allows PUBLIC *CHANGE authority. This authority allows any client with a sign-on to the AS/400 to access this optical volume. If the administrator has changed the QOPTSEC authorization list or changed the authority to the volume to some other authorization list, the authorization list that secures the volume may need some changes before the software can be installed from the PC client.

Next, the user on the PC client uses the Map Network Drive feature to provide the PC with a view of the AS/400 name space. The user can map to any part or all of the AS/400 name space. Generally, it is best to only allow the PC client to see the minimum amount needed, in order to keep the name space secure. In this example, mapping to /QOPT or even to /QOPT/NEATAPP is appropriate.

Once the network drive is mapped, the user at the PC client can view the files in the NEATAPP folder. Now, from each PC client, the software can be installed by double- clicking on an executable install file. (See Figure 2.)

Note that if the name of the volume on the AS/400 is longer than eight characters plus a period (.) extension of three characters, Windows 95, Windows 3.x, and Windows NT clients will have problems with the directory name. There are two possible solutions. The first is to create a symbolic link (*SYMLNK) that points to the optical volume directory but has a shorter name. The QOPT file system cannot contain symbolic links, so another file system, such as the root () file system, will have to contain the link, using a CL command such as the following:

ADDLNK OBJ(‘/QOPT/LONGAPPNAME.MORENAME’) NEWLNK(‘/SHORT.NAM’)

The second solution is to map the network drive directly to the volume level so that the PC client never has to work with the long volume name. (If you’re running V4R2, the PC will connect using AS/400 Support for Windows Network Neighborhood without using Client Access/400.)

This solution is one way the “infrastructure” of the file system helps you create data sharing solutions. Do you have a problem similar to that of Ace Tools? If you have a need to move, manipulate, or share data, then you can benefit from understanding how the tools of the AS/400 IFS can help you build a solution.

References

AS/400 Client Access Host Servers (SC41-5740) Getting Your AS/400 Working for You (V4R2 only) (SC41-5161) http://service2.boulder.ibm.com/as400/
iceng/infocent.htm OS/400 Integrated File System Introduction V4R2 (SC41-5711) OS/400 Optical Support V4R1(SC41-5310)


AS-_400_Integrated_File_System_Solutions__Part_1...03-00.jpg 400x263

Figure 1: At Ace Tools, there’s a problem distributing CD-based applications to PCs.

Figure 2: The AS/400 IFS gives Ace Tools a method to distribute software.


AS-_400_Integrated_File_System_Solutions__Part_1...03-01.jpg 400x298

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: