Verion of AS/400 Operating System
25 pts.
0
Q:
Verion of AS/400 Operating System
How to know the Version of operating system in AS/400?

 

 

Jayanta

ASKED: Aug 20 2009  9:57 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
35 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
Hi Jayanta,

This topic has been discussed numerous times before, perhaps you want to check the Database for the answers.

One possibility is to type DSPSFWRSC and then F11 where you can see all the installed versions of the software on your system.

Bye,
Roy

The fastest way I know, is to use the display data area command on QSS1MRI.

DSPDTAARA DTAARA(QSS1MRI)


I use this data area in programs when I need to know what the version is for some programing issues.

Gary

___________________________

I use the DSPPTF command. This will display the current release as well as the latest cume ptf installed.


_______________________________

The quickest way to determine the version of the OS is to use the DSPPTF command. Of course you need authroity to use the command. We are at V5R4M5 and that command displays it correctly.
That Data Area shows V5R4M000

Barry
Last Answered: Aug 21 2009  2:10 PM GMT by Bggas400   35 pts.
Latest Contributors: Whatis23   4040 pts., Hafwhit   630 pts., 4819   235 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

TopKat   125 pts.  |   Aug 20 2009  2:56PM GMT

Jayanta,

From other forums I learned that even IBM doesn’t consider data area QSS1MRI reliable. They recommend using the QSZRTVPR API.

I copied this code from an answer given by Scott Klement. It works quite well:

PGM PARM(&RELEASE)

DCL VAR(&RELEASE) TYPE(*CHAR) LEN(6)
DCL VAR(&RCVVAR) TYPE(*CHAR) LEN(32)
DCL VAR(&RCVLEN) TYPE(*CHAR) LEN(4)
DCL VAR(&PRODINFO) TYPE(*CHAR) LEN(27)
DCL VAR(&ERRCODE) TYPE(*CHAR) LEN(8)

CHGVAR VAR(%BIN(&RCVLEN 1 4)) VALUE(32)
CHGVAR VAR(%BIN(&ERRCODE 1 4)) VALUE(0)

CHGVAR VAR(%SST(&PRODINFO 1 7)) VALUE(’*OPSYS’)
CHGVAR VAR(%SST(&PRODINFO 8 6)) VALUE(’*CUR’)
CHGVAR VAR(%SST(&PRODINFO 14 4)) VALUE(’0000′)
CHGVAR VAR(%SST(&PRODINFO 18 10)) VALUE(’*CODE’)

CALL PGM(QSZRTVPR) PARM(&RCVVAR +
&RCVLEN +
‘PRDR0100′ +
&PRODINFO +
&ERRCODE)

CHGVAR VAR(&RELEASE) VALUE(%SST(&RCVVAR 20 6))

ENDPGM

Hope this helps.

 

Chenthil   250 pts.  |   Aug 25 2009  2:04PM GMT

simple way is open any spool file in your as400
you can see the version of the OS on top left of the spool file ( 7th line from top )

 
0