24
Wed, Apr
0 New Articles

Weaving WebSphere: PTFs in WAS and Beyond

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


"If it ain't broke, don't fix it."
--Anon

To finish the (admittedly somewhat lame) analogy of health clubs, once you get a regular routine, it's easier to keep at it. But why do Preventive Service Planning (PSP) at all? And why is it so much more complicated for WebSphere users? The answer to the first question is simply that the fixes are there to prevent you from running into problems others have. Most of us are not bleeding-edge users intent on inserting every new technology directly into our production processes. We leave that trailblazing to others. And one of the benefits of that choice is that IBM will make fixes available to us before we hit the same snags as those intrepid explorers. And the truth is that the vast majority of us will rarely, if ever, run into a fix from IBM that will break something already working (unlike "fixes" from other software vendors).

Author's Note: I can already hear three people (you know who you are) screaming about CPYFRMIMPF and the infamous library list fiasco. Feel free to rant and rave about these horrible transgressions in the forums, but please also compare that to the number of times you installed a new Windows service pack only to find that the machine stopped working and there was no fix short of reinstalling the operating system.

As OS/400 (now i5/OS) has evolved, the process of keeping it up-to-date has become more complex. So complex, in fact, that simply explaining the procedures will take more than one column. In this column, I'm going to define the terms that are bandied about in PSP and then show you how to use your machine and IBM's Web pages to figure out your machine's current state of health. I'll also explain why WebSphere users need to be especially careful when ordering and/or applying fixes. Finally, I'll throw in the "old fashioned" (but easy!) way of ordering the fixes.

In next month's column, I'll bring to your attention some new ordering options that you may not know about, as well as introduce you to the brave new world of image catalogs (this feature alone is worth the price of admission; someone at IBM deserves a big gold star for this baby). I'll also give you the latest information from IBM on the preferred order to apply things.

Some Definitions

Before I get into the PSP process, I think I should define a few terms for you. Even if you don't do a lot of problem reporting, you should still know these terms. And while I've heard most of them used casually or in different contexts, I think it's important to have the official definitions. First are the ways that problems are reported and tracked:

Problem Management Record (PMR)

A PMR is generated when you, the customer, report a problem to IBM. A PMR may be an educational issue that can be solved with a simple command. For example, on my new V5R3 machine, the KEYLCKPOS of my IPL attributes was shipped with a value of *MANUAL, which caused every IPL to be a manual IPL. While nobody is quite sure how this occurred, the fix is easy: Use the CHGIPLA command to change the setting to *NORMAL.

Design Change Request (DCR)

This is a fairly nebulous area, especially when products overlap the iSeries boundary (like WebSphere). WebSphere enhancement requests have at one point or another been done via DCR, first through the now-defunct Feature Request Database (FRD) and then through the Fully Integrated Tool Set (FITS), which I've actually never seen and cannot find. That aside, if you wish to ask IBM to change something in the iSeries operating system, the official route is to go to the Design Change Request page. Since you'll be asked to provide a PMR number, my guess is that it will help to have one (indicating that you have reported the problem officially).

Authorized Program Analysis Report (APAR)

An APAR is generated when, in response to a DCR or a PMR, IBM decides that a fix needs to be made to existing code. The APAR is then the instrument used to track the issue until it is resolved.

Program Temporary Fix (PTF)

The final stage of the process is the PTF. Once IBM actually writes new code to address the issue in the APAR, it is packaged as a PTF and is ready to make its way to your machine (provided the PTF is for the version of the operating system that you are running and that the associated product is installed on your box).

What's Preventive Service Planning?

PSP is the way that you get fixes and enhancements to your iSeries operating system and licensed program products like WebSphere. Back in the old days, there were really only two sets of fixes: individual PTFs, which were written in response to some sort of request, and cumulative PTF releases (or cumes), which were semi-regular packages of all the PTFs for a given version of the operating system.

Cume releases are pretty extensively tested. IBM doesn't put out a new cume lightly; it is expected that the vast majority of iSeries owners will be able to apply a cume release with little fear of compromising their system. So in the simpler, gentler times of yore, you might just apply the cume a couple of times a year and maybe have to apply an individual PTF if you reported a specific problem.

Not So Simple Anymore

Since then, things have gotten a bit more complicated with the introduction of "group PTFs," which are packages of related PTFs for a given product. The idea is that, rather than apply one humungous cumulative fix package that includes all possible fixes, you instead just grab the groups that your particular system needs. Additionally, group PTFs are sent out more frequently, especially for newer products that have needed a little more "shakeout" than others (WebSphere Application Server comes to mind).

Group PTFs usually add features and fix leading-edge problems with things like SQL or WebSphere. If you run vanilla RPG applications, you might never apply a group PTF. But if you're doing extensive Java work, you might need to apply the Java group PTF on a regular basis.

There is also a unique set of PTFs known as the "High Impact and PERvasive" fixes (HIPERs). HIPERs fix really nasty bugs and are put out quickly, often fixing other PTFs. Unfortunately, because of the short cycle nature of these PTFs, HIPERs seem to be a little more prone to being defective, typically breaking something unrelated to the original problem. Even if you're keeping completely current on group PTFs, it might still be prudent to not apply the HIPERs unless you need specific fixes.

Prudent vs. Proactive

I want to emphasize that the occurrence of PTFs that break things is very small. While a couple of iSeries customers out there (and you know who you are!) seem to regularly break the operating system, the vast majority of us will probably never run across a PTF that, when applied, causes us to lose productive time. Unlike desktop operating systems in which a service pack sometimes renders the entire system inoperative, iSeries PTFs almost never introduce problems. But that still doesn't mean you need to apply every PTF that comes out, either. Like so many things in IT, this is a business decision. And no matter how clean the process, there is still a non-zero amount of time required to apply these PTFs; some even require an IPL. So it is important to make a conscious analysis of which PTFs are appropriate for your business and how often you should apply them.

So What's Available?

The next step in the process is to find out which PTFs are available and see how this compares to your current machine. The easiest way to do that is to go to IBM's PSP site. You can go to Google and search on Preventive Service Planning, or just go here. In either case, you'll get to the Web site shown in Figure 1.

Cumulative Release First

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV400.png

Figure 1: Click on the top link at IBM's Preventative Service Planning Site. (Click images to enlarge.)

Clicking on the top link will take you to the main menu of the PSP system, pictured in Figure 2.

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV401.png

Figure 2: This page shows all PSP documents; select Current Cumulative PTF Package.

From here, select Current Cumulative PTF Package; this will expand to show the recent releases. Select yours, as shown in Figure 3.

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV402.png

Figure 3: The Cumulative PTF Package list is expanded; select your release.

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV403.png

Figure 4: This is the cover letter for the R530 cumulative PTF package.

You'll finally get to the cover page, as shown in Figure 4. Note the big red circle I added to the picture; this shows the current release number. It's actually a combination of the date (the 207th day of 2005) and the release, 530. You'll see why that's important momentarily.

Then, the Group PTFs

The next thing to do is to find out which group PTFs are available. Go back to the page in Figure 1 and click on the All Group PTFs by Release to get to the release page shown in Figure 5.

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV404.png

Figure 5: Go to Group PTFs for recent releases.

From here, click on the appropriate release. In Figure 5, I'm clicking on the R530 link to get the V5R3M0 group PTF list.

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV405.png

Figure 6: Each release has a list of the available group PTFs and their current levels.

Now you have a list of all the available group PTFs. Pay special attention to the Group Level number, which gives you a quick overview of the current state of the PTFs.

What Do I Need?

There is now a command on the iSeries, Work with PTF Groups (WRKPTFGRP, as of V5R2, I believe), that provides information for your machine, as shown in Figure 7.

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV406.png

Figure 7: The WRKPTFGRP command shows your machine's PTF levels.

Note that the list for my machine does not contain every product; that's because I don't have every product installed on my machine. WRKPTFGRP shows only those products installed on your iSeries.

The cumulative package is shown at the top, in my case it is SF99530, since I'm on R530 (V5R3M0) of i5/OS. Notice that the release number is very large, 5207. Do you recognize that number? It's the calculated date number from the cumulative package, which is currently at C5207530, or the 207th day of 2005 (August 8). I'm up-to-date on that one. In fact, a quick comparison of my machine vs. the data in Figure 6 shows that I'm current on everything except the very latest HIPERs, which just came out on November 1.

The Joys of WebSphere

OK, now you should be able to create a list of the groups PTFs you need to order. However, there are two additional complications that get thrown into the mix. The first is that ordering a WebSphere group PTF (for example, SF99272, which is the group PTF for WebSphere Application Server Express Version 5.1) automatically orders a number of other PTFs. These include the DB2 group (SF99503), the HTTP group (SF99099), the Java group (SF99269), and the business solutions group (SF99173). This makes for a very large package, typically around 4 GB. This will become important when you have to make decisions about delivery mechanisms.

Because the group is so large, if you have multiple versions of WebSphere installed on your machine, you might be tempted to get the group PTFs for each version separately. Don't do it! Why? Because each WebSphere group will also include a copy of the additional groups I mentioned above. Instead, be certain that, no matter how you order your PTFs, you order the groups for all of your WebSphere version on the same order. When you do, IBM is smart enough to combine those orders and ship you all the WebSphere groups but only one copy of the additional groups. The down side is that this single order can easily be 5 to 6 GB or more.

Now Let's Get the PTFs!

There are a number of ways to get PTFs these days. One of my favorites is still the old tried-and-true method of faxing a request to the IBM Support Family Services. I've been using this method for years, and I generally get my PTFs on nicely packaged media in a couple of business days. In my next column, I'll show you some other ways, including Fix Central and SNDPTFORD. I'll also show you how to apply the PTFs once you get them. But in the interests of keeping this readable at one sitting, I'll just end on this particular topic.

Regardless of the ordering technique, you still need to determine which PTFs to get. Using the WRKPTFGRP screen from Figure 7, you simply cross-reference against the current group list on Figure 6 and decide which groups you need. Similarly, you can check your current cume version (the top line of WRKPTFGRP) against the red circled area of the page in Figure 4. Then you build your list. In my case, let's assume that, instead of being nearly up-to-date, all of my groups were old. I would end up with the following list:

What Your List Might Look Like if You Haven't Stayed Current
SF99530
530 Cumulative Package C5207530
25-Aug-2005
SF99529
530 Group HIPER
1-Nov-2005
SF99503
530 DB2 UDB
14-Oct-2005
SF99301
530 WebSphere App Server V6.0
17-Oct-2005
SF99275
530 WebSphere App Server - Express V5.1
17-Oct-2005
SF99272
530 WebSphere App Server - Express V5.0
11-Oct-2005
SF99269
530 Java
14-Sep-2005
SF99173
530 IBM Business Solutions
9-Aug-2005
SF99099
530 IBM HTTP Server for iSeries
21-Oct-2005


I need to make a few adjustments. First, I need to decide whether I want the HIPER or not. Let's assume I do, just for the sake of argument. Then, I have to remove all duplicate groups. As I explained earlier in the column, since I am ordering at least one WebSphere group, I won't need to order any of the following: SF99503, SF99269, SF99173, or SF99099. That leaves me with SF99530, SF99529, SF99301, SF99275, and SF99272. Also, I want to make sure I order all the WebSphere groups together, so as not to get duplicate copies of the groups that are automatically included. Figure 8 shows a PDF version of the document I would use to order the PTFs (I left out my customer number and the serial number of my machine).

http://www.mcpressonline.com/articles/images/2002/051102%20-%20PTFs%20for%20WAS%20and%20BeyondV407.png

Figure 8: This is the old-fashioned, tried-and-true PTF order form that has worked for years.

I am attaching a copy of this document as a Word document that you can use to make your own PTF orders.

Coming Soon

In my next column, I will show you other ways to order PTFs, but frankly, for large orders like this (this is perhaps 10 GB of PTFs), it's easier to have IBM send you the CDs than it is to attempt to download them. Not only that, but I'll show you how (as long as you have the space) you can upload all the PTFs to your machine and apply them at one time using an image catalog.

Joe Pluta is the founder and chief architect of Pluta Brothers Design, Inc. He has been working in the field since the late 1970s and has made a career of extending the IBM midrange, starting back in the days of the IBM System/3. Joe has used WebSphere extensively, especially as the base for PSC/400, the only product that can move your legacy systems to the Web using simple green-screen commands. Joe is also the author of E-Deployment: The Fastest Path to the Web, Eclipse: Step by Step, and WDSC: Step by Step. You can reach him at This email address is being protected from spambots. You need JavaScript enabled to view it..

Joe Pluta

Joe Pluta is the founder and chief architect of Pluta Brothers Design, Inc. He has been extending the IBM midrange since the days of the IBM System/3. Joe uses WebSphere extensively, especially as the base for PSC/400, the only product that can move your legacy systems to the Web using simple green-screen commands. He has written several books, including Developing Web 2.0 Applications with EGL for IBM i, E-Deployment: The Fastest Path to the Web, Eclipse: Step by Step, and WDSC: Step by Step. Joe performs onsite mentoring and speaks at user groups around the country. You can reach him at This email address is being protected from spambots. You need JavaScript enabled to view it..


MC Press books written by Joe Pluta available now on the MC Press Bookstore.

Developing Web 2.0 Applications with EGL for IBM i Developing Web 2.0 Applications with EGL for IBM i
Joe Pluta introduces you to EGL Rich UI and IBM’s Rational Developer for the IBM i platform.
List Price $39.95

Now On Sale

WDSC: Step by Step WDSC: Step by Step
Discover incredibly powerful WDSC with this easy-to-understand yet thorough introduction.
List Price $74.95

Now On Sale

Eclipse: Step by Step Eclipse: Step by Step
Quickly get up to speed and productivity using Eclipse.
List Price $59.00

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$0.00 Raised:
$

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: