How To
Summary
After running an otherwise successful update on AIX, the command "oslevel -s"may still show the old level.
This document will help you find out which filesets are not at the new level and so prevent oslevel telling you what you expect to see. The way that you correct the issue will vary depending on your particular situation.
Objective
Environment
As an example, I had a system running AIX V7.2 TL3 SP3 (7200-03-03-1914)
and had downloaded AIX V7.2 TL4 SP2 (7200-04-02-2016).
The files were in a directory under /tmp and I ran smitty update_all.
At the end of the update, smitty showed this:

The "OK" suggests that the process was successful.
But when I ran oslevel -s I saw this:
7200-03-05-2016
It was at a higher level than at the start but not at 7200-04-02-2016.
Steps
The command to use in this situation is instfix, (incidentally, there is a good manual page).
instfix -i |grep ML
All filesets for 7.2.0.0_AIX_ML were found.
All filesets for 7200-00_AIX_ML were found.
All filesets for 7200-01_AIX_ML were found.
All filesets for 7200-02_AIX_ML were found.
All filesets for 7200-03_AIX_ML were found.
Not all filesets for 7200-04_AIX_ML were found.
All filesets for 7.2.0.0_AIX_ML were found.
All filesets for 7200-00_AIX_ML were found.
All filesets for 7200-01_AIX_ML were found.
All filesets for 7200-02_AIX_ML were found.
All filesets for 7200-03_AIX_ML were found.
Not all filesets for 7200-04_AIX_ML were found.
That makes sense. All of the filesets installed were up to level for TL3 but some were not at the right level for TL4. That correlates to what oslevel -s told me.
Then I ran:
instfix -ick 7200-04_AIX_ML | grep :-:
7200-04_AIX_ML:xlC.msg.en_US.rte:16.1.0.2:13.1.3.1:-:AIX 7200-04 Update
7200-04_AIX_ML:xlsmp.msg.en_US.rte:5.1.0.0:4.1.3.0:-:AIX 7200-04 Update
7200-04_AIX_ML:xlC.msg.en_US.rte:16.1.0.2:13.1.3.1:-:AIX 7200-04 Update
7200-04_AIX_ML:xlsmp.msg.en_US.rte:5.1.0.0:4.1.3.0:-:AIX 7200-04 Update
As you can see, this told me the filesets which were down level.
The options used were:
-i Displays whether fixes or keywords are installed.
Use this flag with either the -k or the -f flag.
Installation is not attempted when the -i flag is used.
Installation is not attempted when the -i flag is used.
If you do not specify the -k or the -f flag, all known fixes are displayed.
-c Displays colon-separated output for use with -i flag.
Output includes:
keyword name, fileset name, required level, installed level, status, and abstract.
To display filesets that are not installed, the -v flag must also be used.
Status values are:
- Down level
= Correct level
+ Superseded
! Not installed
- Down level
= Correct level
+ Superseded
! Not installed
-k Keyword
Specifies an APAR number or keyword to be installed. Multiple keywords can be entered.
A list of keywords entered with the -k flag must be contained in quotation marks and
separated with spaces.
So by using grep to show lines containing :-: we see all of the down level filesets.
In this case xlC.msg.en_US.rte and xlsmp.msg.en_US.rte.
How you proceed from here depends on your specific needs. I did not need these particular filesets on this system, so I ran smitty remove and removed them.
If you do need the filesets, you can either carry on using the versions installed or you'll need to get hold of the updated filesets and install them.
Additional Information
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"HW1A1","label":"IBM Power Systems"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Was this topic helpful?
Document Information
Modified date:
07 July 2020
UID
ibm16243138