25
Mon, Nov
1 New Articles

Systems Administration & Operations: IBM Gives Us a Better AS/400 Webserver Search Engine

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

I remember when I first learned to program in BASIC. Man, I couldn’t believe how cool that language was and all the neat stuff I could do with it. Then I got onto the AS/400 and learned RPG and thought, “Wow! Now this is really the cat’s pajamas.” That love of RPG has lasted for many years, but it’s quickly going by the wayside. Now that I’m learning Java, I’m ready to chuck all my RPG skills and move to Java instead. It’s so much better than anything available in RPG that I wish I’d have found it first! That’s the way it goes, though. You find something you like, and then, after awhile, someone comes along and improves upon the idea and comes out with something better. That’s what happened between the releases of OS/400 V4R3 and V4R4.

In the August 1999 issue of Midrange Computing, I told you about a tool, available from IBM, that would let you search your AS/400-based HTML documents from a Web browser. Called Net.Question, this licensed program, which became available with V4R3 of OS/400, used .txt files as its index. The bad thing about these text files was that you were responsible for manually building them by using some kind of word processor and keying in the names of all the AS/400 HTML forms you wanted to be searched. It was these text files then that were searched by the user entering his search criteria into some provided predefined search templates. While there’s no doubt that Net.Question is a valuable and useful tool, its Qshell interface left many AS/400 administrators looking for something a little more familiar and easy to use. Apparently, IBM felt the same way. With the release of V4R4 of OS/400, IBM gave us the new AS/400 Webserver Search Engine. After taking a look at it, I’m inclined to agree that the Webserver Search Engine is a superior tool to use with your AS/400-based HTML documents. Actually, anything that helps me avoid working with a UNIX-style interface is a plus.

What It Is

The Webserver Search Engine comes free of charge as part of the licensed program HTTP Server for AS/400 with V4R4 of OS/400. It allows you to perform full text searches on HTML files stored on your AS/400 from pretty much any Web browser. What’s more, the HTML files it searches don’t have to be in the AS/400 Integrated File System (AS/400 IFS) only. Webserver Search Engine will also build indexes over and search HTML files stored in the QSYS.LIB library file system. Of course, it’s not really a good design practice to keep HTML documents in QSYS.LIB, but the option is there if you want it.


Basically, this AS/400 Webserver Search Engine replaces Net.Question, although both can be used concurrently. Why you’d want to do that is beyond me, since you can use your existing Net.Question index files within Webserver Search without modifying them. However, the option is there for you should you desire to use it. One caveat is that you cannot use your newly created Webserver Search indexes with Net.Question, so keep that in mind when you’re evaluating whether or not to keep the Net.Question tool.

How It Works

Webserver Search Engine works like this: You load your HTML documents into one or more directories on your AS/400 and then access the HTTP Server configuration on your AS/400 through a Web browser (using the URL http://yourserver:2001/) to create the index and build the document list. The index and the document list make up a collection of all the selected documents in the chosen directory on your AS/400. That is, every HTML document you wish to be searched makes up the index. One immediate advantage you’ll find with Webserver Search Engine over Net.Question is that Webserver Search Engine automatically builds and updates your indexes for you. With Net.Question, you are responsible for doing all of this by hand. If you have thousands of HTML forms, that’s a pretty hefty task!

Next, you modify some included skeleton HTML code provided by IBM to indicate what your search form will look like. (It’s fully customizable, so add those pictures of your CEO hamming it up at the office Christmas party if you want!) You can also specify whether or not you want to provide basic, advanced, or both types of searches. You can prompt the user for such advanced search techniques as word stemming, fuzzy searches, and precise word matches. Webserver Search Engine can also use Net.Data macros (although it’s not required), so you can really make this tool sit up and sing if you want. That, in a nutshell, is all there is to it. Of course, there are other things you can or may need to do to make it a perfect custom fit for your installation, but, in general, you should have this up and running in under an hour. It’s that simple.

Add Some Pizzazz!

If you’re looking for an easy way to add a dash of professional pizzazz to your AS/400-based Web site, you couldn’t do much better than the Webserver Search Engine from IBM. This free tool may be just what you need to make your AS/400 Internet or intranet the hottest pick on the ’net. For more information, see IBM’s AS/400 Webserver Search Engine Web page (www.as400.ibm.com/tstudio/http/services/searchinfo.htm).


SHANNON ODONNELL
Shannon O'Donnell has held a variety of positions, most of them as a consultant, in dozens of industries. This breadth of experience gives him insight into multiple aspects of how the AS/400 is used in the real world. Shannon continues to work as a consultant. He is an IBM Certified Professional--AS/400 RPG Programmer and the author of an industry-leading certification test for RPG IV programmers available from ReviewNet.net.
 
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: