How to Check IBM i (AS400) OS Version
Type DSPPTF 5770SS1 on a command line and press Enter. The Release of base option field shows the installed operating system release, for example V7R5M0, which is IBM i 7.5. If your profile can’t run DSPPTF, DSPJOB OUTPUT(*PRINT) prints the release on the first line of its spool file. If you work in IBM i Access Client Solutions rather than on a green screen, an SQL query (Method 4 below) does the job too.
IBM i is the current name for the operating system. Many people still call it OS/400, iSeries, or AS400 (see my AS400 operating system introduction).
Quick answer
- Use DSPPTF if you have access to it
- Use DSPJOB OUTPUT(*PRINT) if you need a method that usually works with lower authority
- Look for a value such as V7R4M0
This means:
- V = Version
- R = Release
- M = Modification level
For example, V5R4M0 means Version 5, Release 4, Modification 0.
Method 1: Use DSPJOB OUTPUT(*PRINT)
This method creates a spool file with details about your current interactive job. Near the top of the report you will usually see the operating system version.
From a command line, type:
DSPJOB OUTPUT(*PRINT)Press Enter. Then type WRKSPLF and enter 5 next to the newest QPDSPJOB spool file.
In the example above, the second block of characters on the top line shows the installed operating system version. In this case it is V5R4M0.
This method is useful because it often works with minimal access rights. It is a good fallback option when DSPPTF is not available to you.
Method 2: Use DSPPTF (recommended)
DSPPTF means Display Program Temporary Fix. This is usually the best way to check the IBM i version because it gives a clearer view of the release level and installed updates.
From a command line, type:
DSPPTF 5770SS1Press Enter. The Release of base option field near the top of the screen tells you which IBM i version is installed.
In the example above, the machine is running Version 7 Release 1 Modification 0, written as V7R1M0.
If you have access to this command, use this method first.
Method 3: Use DSPSFWRSC
Type DSPSFWRSC and press Enter, then press F11 to show the Release column. The release next to resource 5770SS1 is your IBM i version.
Method 4: Use SQL
In Run SQL Scripts (IBM i Access Client Solutions) or STRSQL:
SELECT OS_NAME, OS_VERSION, OS_RELEASE
FROM SYSIBMADM.ENV_SYS_INFO;A result of 7 and 5 means IBM i 7.5.
How to Find the Tech Refresh (TR) Level
Tech Refresh, often shortened to TR, is IBM’s way of delivering new features between major IBM i releases. This matters because two systems can be on the same IBM i version but still have different features if they are on different TR levels.
To check the Tech Refresh level, use:
DSPPTF 5770999Then page through the results and look for the highest PTF beginning MF99 (MJ99 on IBM i 7.5 TR5 and later, and on 7.6), and match it against IBM’s Technology Refresh table for your release.
In this example, the system has IBM i 7.1 Tech Refresh 9 installed. Lower Tech Refresh levels shown underneath were installed previously.
Quicker still: run WRKPTFGRP and find the TR group for your release (SF99957 on 7.5, SF99967 on 7.6). The highest level marked Installed is your TR level. In SQL:
SELECT PTF_GROUP_NAME, PTF_GROUP_LEVEL, PTF_GROUP_STATUS
FROM QSYS2.GROUP_PTF_INFO
WHERE PTF_GROUP_NAME IN ('SF99957', 'SF99967')
ORDER BY PTF_GROUP_LEVEL DESCMore PTF commands are in my IBM i command cheat sheet.
Which method should you use?
| Method | Command | Best use |
|---|---|---|
| Recommended method | DSPPTF | Most accurate way to check IBM i version |
| Fallback method | DSPJOB OUTPUT(*PRINT) | Useful when access rights are limited |
| Alternative | DSPSFWRSC (F11) | Shows the release of 5770SS1 alongside other installed software |
| SQL method | SELECT … FROM SYSIBMADM.ENV_SYS_INFO | Handy in ACS Run SQL Scripts |
How to check the DB2 version on AS400 (Db2 for i)
On IBM i, Db2 for i is built into the operating system. It is not normally installed as a separate product. That means the key thing to check is the IBM i operating system version rather than a separate Db2 version number. For the Db2 for i PTF group level, run WRKPTFGRP and look for the group described as DB2 FOR IBM I.
If you want to understand cross-platform differences, IBM has published a guide to SQL reference for cross-platform development.
What is the latest version of AS400?
Strictly speaking, AS/400 is the old hardware name, not the current product name. IBM later used names such as iSeries and since 2008 has used IBM i for the operating system running on IBM Power Systems.
As of 2026, the latest release is IBM i 7.6, which IBM shipped in 2025. IBM i 7.5 is also under standard support. Standard support for 7.4 ended on 30 September 2026 (a paid service extension runs to September 2029), 7.3 is in its final extended period to September 2028, and support for 7.2 ended on 30 April 2026. On 7.4 or earlier, plan an upgrade.
Many people still search for terms such as “latest AS400 version”, but in practice they usually mean the latest IBM i release. You can find more background in my introduction to IBM i and AS400 and my IBM i command cheat sheet.
Frequently asked questions
Is OS/400 the same as IBM i?
Yes. IBM i is the same operating system, renamed over the years from OS/400 to i5/OS and then IBM i. Many administrators still use the older names.
What does V7R4M0 mean?
It means Version 7, Release 4, Modification 0.
Why check the Tech Refresh level as well?
Because some features are added through Tech Refresh updates rather than through a full new operating system release.
What is the latest version of IBM i?
IBM i 7.6, generally available since 18 April 2025. IBM i 7.5 is also under standard support.
Which command needs fewer permissions?
DSPJOB OUTPUT(*PRINT) is often the better choice when access rights are limited.
Summary
The best way to check the installed IBM i version is usually DSPPTF. If you need a simpler fallback, use DSPJOB OUTPUT(*PRINT), or query SYSIBMADM.ENV_SYS_INFO from Run SQL Scripts. If you also need to know whether a feature is available, check the Tech Refresh level as well.




a better way to display OS version on iSeries: DSPPTF.