ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Technologies FAQDetermining MQ Versions, CSD Levels, etc...

Post new topicReply to topic Goto page 1, 2  Next
Determining MQ Versions, CSD Levels, etc... View previous topic :: View next topic
Author Message
arinduer
PostPosted: Thu May 23, 2002 12:12 am Post subject: Determining MQ Versions, CSD Levels, etc... Reply with quote

Acolyte

Joined: 13 Aug 2001
Posts: 50
Location: Phuket, Thailand

Hi Fellow MQrs:

To determine MQ Version and Current CSD Level:

In Sun Solaris and HP-UX this info is in a file called:
/opt/mqm/READMES/en_US/memo.ptf

In NT Platform, this info is in a file called:
C:\\WIN32APP\MQSeries\UK_5\memo.ptf

Can someone post how to determine this info for:
IBM OS/390
UNISYS OS2200
Open VMS
AIX

Thanks in advance.


--

Eric (in Switzerland)...
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
bower5932
PostPosted: Tue Jul 09, 2002 7:47 am Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

AIX:

/usr/lpp/mqm/READMES/En_US/memo.ptf
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
amartin
PostPosted: Tue Jul 16, 2002 12:50 am Post subject: Reply with quote

Newbie

Joined: 25 Jun 2002
Posts: 8
Location: Espaa

Win NT and W2K

mqver
Back to top
View user's profile Send private message
unilog
PostPosted: Tue Oct 08, 2002 5:17 am Post subject: Reply with quote

Novice

Joined: 29 Apr 2002
Posts: 17
Location: Paris, France

The mqver command works on both AIX and NT/2000 systems

Perhaps it works on other system too !!!
Back to top
View user's profile Send private message
offshore
PostPosted: Thu Oct 09, 2003 11:59 am Post subject: Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

On Z/OS I use

DIS QMGR ALL - look at the CMDLEVEL to determine MQ version or use SMPE and check the FMID HMS5300 is v 5.3

Since CSD's aren't released for z/OS, you have to use SMP/E to determine the last PTF you have applied.
Back to top
View user's profile Send private message Send e-mail
sjensen
PostPosted: Thu Jun 03, 2004 8:55 am Post subject: Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

mqver also works on Solaris
Back to top
View user's profile Send private message
cmdmqm
PostPosted: Fri Jun 18, 2004 1:16 am Post subject: Reply with quote

Novice

Joined: 04 Feb 2002
Posts: 24
Location: Berlin

OS/400:

CALL PGM(QMQM/MQVER)
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Oct 26, 2005 11:19 am Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Version 6 on Windows the MQVER command has been replaced by

dspmqver

Not sure about other platforms


Last edited by kevinf2349 on Wed Oct 26, 2005 1:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
javagate
PostPosted: Wed Oct 26, 2005 12:02 pm Post subject: Reply with quote

Disciple

Joined: 15 Nov 2004
Posts: 159

offshore wrote:
On Z/OS I use

DIS QMGR ALL - look at the CMDLEVEL to determine MQ version or use SMPE and check the FMID HMS5300 is v 5.3

Since CSD's aren't released for z/OS, you have to use SMP/E to determine the last PTF you have applied.


1. +cpf DIS QMGR ALL is not an indication of a maintenance level.
CMDLEVEL is the ver of MQ. The only way on z/OS to know the maint level is to check the SMP/E zone and/or keep track of what you apply.
You may have to check many PTFs.

2. Actually z/OS does have CSDxx levels that come out. However the CSDxx level is for JMS feature. i.e.. The HFS files that SMP/E creates. Note, the loadlibs must be in sync with the JMS/HFS files.

ex 'CUMULATIVE MAINTENANCE #09 (CSD10) FOR THE JMS FEATURE OF WEBSPHERE MQ FOR Z/OS V5.3'

Still in in disbelief...see.
http://www-306.ibm.com/software/integration/mqfamily/support/apars/mvs531cl.html
_________________
WebSphere Application Server 7.0 z/OS &
MQ 6.0. I work with WebSphere in the real world not in some IBM lab.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Oct 26, 2005 1:25 pm Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

javagate

Isn't that what offshore said?

Quote:
offshore wrote:
On Z/OS I use

DIS QMGR ALL - look at the CMDLEVEL to determine MQ version or use SMPE and check the FMID HMS5300 is v 5.3

Since CSD's aren't released for z/OS, you have to use SMP/E to determine the last PTF you have applied.


Anyway..........

I was just wondering if PTF level is available via a subsystem interface call. I know that involves writing code but it may be there. Do you know if it is or not?

Maybe I will get a chance to play around and look later on (Christmas is a quiet 'play time' here)

Any thoughts?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Oct 26, 2005 10:32 pm Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

to get the mq version on z/OS usually have a look into the joblog of the mstr:

Quote:
UJI001 xxxxMSTR - STARTED - DATE=22/10/05 - ASID=00DF
IEF403I xxxxMSTR - STARTED - TIME=09.16.46
CSQY000I xxxx IBM WebSphere MQ for z/OS V5.3.1
CSQY001I xxxx QUEUE MANAGER STARTING, USING PARAMETER MODULE xxxxxxxx
CSQ3111I xxxx CSQYSCMD - EARLY PROCESSING PROGRAM IS V5.3.1 LEVEL 002-007


anywhat, to find out about the exact level (last ptf applied) smpe has to be used as written before
_________________
Regards, Butcher
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Oct 27, 2005 5:10 am Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Mr Butcher wrote:

Quote:
to get the mq version on z/OS usually have a look into the joblog of the mstr:


True...but a DIS QMGR ALL works better if you need to get that information within a program (IMHO)
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Oct 27, 2005 5:54 am Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

yes, you are right, and other things may work better for other application areas (uhm?)
_________________
Regards, Butcher
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Oct 28, 2005 9:26 am Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I am not sure this is the right place for this (if it isn't...feel free to move it)but.....

Here is a chunk of VB.Net code that will get the installed version, release and CSD level from the Windows directory.

It may not be pretty, it may not obey naming standards...but it does work

Code:
Imports System.IO
Imports System.Diagnostics                 ' for registry
Imports Microsoft.Win32                    ' for registry
Module Module1

    Sub Main()
        Dim Key As RegistryKey
        Dim WorkPath As String
        Dim InstallType As String
        Dim Failit As Boolean
        Dim InstalledRelease As String
        Dim InstalledVersion As String
        Dim Applied As Boolean
        Dim ServicePackName As String
        Dim s As String
        Dim Servicepacks As Integer = 0
        Dim Names As String()

        Try
            'Open the registry key.
            Key = Registry.LocalMachine.OpenSubKey("Software\IBM\MQSeries\currentversion", True)
            If Key Is Nothing Then                    'if the key doesn't exist
                Throw New Exception("MQ Not Installed on this system")
                Exit Sub
            End If
            WorkPath = Key.GetValue("WorkPath")
            InstallType = Key.GetValue("licensetype")
        Catch ex As Exception
            If MsgBox("Problem reading registry", MsgBoxStyle.OKOnly) = MsgBoxResult.OK Then
                Exit Sub
            End If
        End Try
        If InstallType = "Client" Then
            Throw New Exception("This program will not run with only a client installed on a machine")
            Exit Sub
        End If
        Try
            Key = Registry.LocalMachine.OpenSubKey("Software\IBM\MQSeries\currentversion", True)
            If Key Is Nothing Then 'if the key doesn't exist
                Throw New Exception("The registry key 'Software\IBM\MQSeries\currentversion' doesn't exist")
                Exit Sub
            End If
            InstalledRelease = Key.GetValue("MQServerRelease")
        Catch ex As Exception
            If MsgBox("Problem reading registry", MsgBoxStyle.OKOnly) = MsgBoxResult.OK Then
                Exit Sub
            End If
        End Try
        Try
            Key = Registry.LocalMachine.OpenSubKey("Software\IBM\MQSeries\currentversion", True)
            If Key Is Nothing Then 'if the key doesn't exist
                Throw New Exception("The registry key doesn't exist")
            End If
            InstalledVersion = Key.GetValue("MQServerVersion")
        Catch ex As Exception
            If MsgBox("Problem reading registry", MsgBoxStyle.OKOnly) = MsgBoxResult.OK Then
                Exit Sub
            End If
        End Try

        Applied = True
        Key = Registry.LocalMachine.OpenSubKey("Software\IBM\MQSeries\currentversion\CSDS Applied", True)
        If Key Is Nothing Then
            Applied = False
        End If
        If Applied = True Then
             names = Key.GetValueNames
            For Each s In names
                If s <> "Shipped" Then
                    Servicepacks &= +1
                End If
            Next s
            If Servicepacks = 0 Then
                ServicePackName = "No service applied"
            Else
                ServicePackName = "Service pack " & Names(s) & "Applied"
            End If
        Else
            ServicePackName = "No service applied"
        End If

        MsgBox("Installed MQ version =" & InstalledVersion & vbCrLf _
        & "Installed Release =" & InstalledRelease & vbCrLf _
        & "Service pack installed :" & ServicePackName)

    End Sub

End Module
Back to top
View user's profile Send private message
rockzhang
PostPosted: Tue Nov 01, 2005 11:41 pm Post subject: Reply with quote

Newbie

Joined: 23 Oct 2005
Posts: 5

unilog wrote:
The mqver command works on both AIX and NT/2000 systems

Perhaps it works on other system too !!!


sure, it works on Solaris. That's quite helpful to me like other version utiltiy to tell me which version I am working on.
_________________
Please offer your seat to a pregnant woman.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum IndexWebSphere Technologies FAQDetermining MQ Versions, CSD Levels, etc...
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.