Re: Message Browse Tool

2003-10-31 Thread Christopher Fryett
Tweak the amqsget0.c code



|-+>
| |   Michael  |
| |   <[EMAIL PROTECTED]|
| |   CE.ORG>  |
| |   Sent by: |
| |   "MQSeries List"  |
| |   <[EMAIL PROTECTED]|
| |   n.AC.AT> |
| ||
| ||
| |   10/31/2003 03:22 |
| |   PM   |
| |   Please respond to|
| |   "MQSeries List"  |
| ||
|-+>
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Message Browse Tool
  |
  |
  |
  
>--|




I am looking for a command line tool that I can use to output to a file the
following:

Message ID
Correlation ID
Message Data as Text

Does anybody know if there is a tool out there that can do this for me?

Thank you.

Michael

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Message Browse Tool

2003-10-31 Thread Michael
I am looking for a command line tool that I can use to output to a file the
following:

Message ID
Correlation ID
Message Data as Text

Does anybody know if there is a tool out there that can do this for me?

Thank you.

Michael

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Upgrade from 5.2.1 to 5.3 on Windows 2000 Cluster Server

2003-10-31 Thread Wert, Jim
We're trying to plan an upgrade of our MQSeries queue managers on a Windows
2000 Cluster server from version 5.2.1 with CSD07 and support pack MC74 to
version 5.3.

How much effort is involved in this upgrade?  Do I just stop the queue
managers, upgrade the software, and restart the queue managers?

Should I also apply CSD05 to version 5.3 as part of this upgrade?

Is there anything I need to watch out for?

Thanks!

Jim Wert
Information Specialist
Interface Support
EDS - Coors Account
Colorado Solution Centre
(303) 277-3382

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Reason Code 2018 on MQOPEN

2003-10-31 Thread Ron Bower
Take a look at APAR IY38279:

http://www-1.ibm.com/support/docview.wss?uid=swg1IY38279

You may be suffering from a known problem.

Ron

--- Mike Armstrong <[EMAIL PROTECTED]> wrote:
>Assuming you are getting a valid handle from the
> MQconn, then the problem
> must exist with your use of it.
>The only issue that I am aware of using a valid
> handle is
> when it is  "out of scope", which is fairly common
> in C programs.
>   In a Cobol program, I would check your manuals
> compiler options when
> creating Shared Objects.
>  The following is from the manual on preparing Cobol
> programs on Solaris:
>
> Before preparing your COBOL programs, you should
> check with your system
> administrator that the COBOL compiler is set up to
> link with the correct C
> libraries. By default, the COBOL compiler Version
> 3.2 links to 3.0
> SPARCompiler C libraries. For example, to update the
> compiler to link with
> SPARCompiler Version 4.0, ensure that your system
> administrator has
> completed the following:
>
>   1.. Change directory to $COBDIR/coblib:
>   cd $COBDIR/coblib
>
> Note:
> By default, COBDIR is /opt/lib/cobol.
>   2.. Make a backup copy of liblist:
>   cp liblist liblist.saved
> 3.. Edit the liblist file using a standard UNIX
> editor like vi:
>   4..   vi liblist
>
>   5.. Change all references from SC3.0 to SC4.0.
> The COBOL compiler is now set up for you to compile
> COBOL programs.
>
> Precompiled COBOL programs are supplied in the
> /opt/mqm/samp/bin directory.
> Use the Micro Focus compiler from the directory
> /opt/bin to build a sample
> from source code.
>
> To compile, for example, the sample program
> amq0put0:
>
>   1.. Ensure that the environment is set:
>   export COBDIR=/opt/lib/cobol
>   export PATH=/opt/bin:$PATH
>   export
> LD_LIBRARY_PATH=$COBDIR/coblib:$LD_LIBRARY_PATH
>
> Note:
> The above assumes that COBOL is installed in the
> default directories.
>   2.. Define the location of the copybooks which
> declare the MQI structures:
>   export COBCPY="/opt/mqm/inc"
> 3.. Link your program with one of the following
> libraries when building the
> application:
> Library file  Program/exit type
> libmqmcb.so  Server for COBOL
> libmqicb.so  Client for COBOL
>
>   4.. Compile the program:
>   cob -vxP amq0put0.cbl -lmqmcb -lmqm -lmqmcs
> -lmqmzseHave you followed
> these procedures?
>
>
>
> - Original Message -
> From: "Dennis Bryngelson"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 30, 2003 7:46 PM
> Subject: Re: Reason Code 2018 on MQOPEN
>
>
> > If my MQCONN and MQDISC work does that not tell me
> that the HCONN is
> valid?
> > I look at the HCONN and it looks correct (a binary
> number).  The same
> COBOL
> > module is doing the MQCONN and the HCONN is a
> field in working storage.
> > Then  the same module goes and tries the MQOPEN
> and gets the error.  Would
> > this not be the same thread you are talking about.
>   How do I confirm this
> > ???
> >
> >
> > Thanks,
> > Dennis Bryngelson
> > Phone: (763) 765-4224
> > Fax: (763)  765-3820
> > mailto:[EMAIL PROTECTED]
> >
> >
> > |-+>
> > | |   Mike Armstrong   |
> > | |   <[EMAIL PROTECTED]|
> > | |   -LTD.COM>|
> > | |   Sent by: MQSeries|
> > | |   List |
> > | |   <[EMAIL PROTECTED]|
> > | |   N.AC.AT> |
> > | ||
> > | ||
> > | |   10/30/2003 05:48 |
> > | |   PM   |
> > | |   Please respond to|
> > | |   MQSeries List|
> > | ||
> > |-+>
> >
>
>---
> ---|
> >   |
> |
> >   |   To:   [EMAIL PROTECTED]
> |
> >   |   cc:
>|
> >   |   Subject:  Re: Reason Code 2018 on MQOPEN
> |
> >
>
>---
> ---|
> >
> >
> >
> >
> > Check your connection handle. It is invalid or is
> out of scope. On UNIX
> > systems, the scope of the handle is the thread
> issuing the call.
> >
> >
> > - Original Message -
> > From: "Dennis Bryngelson"
> <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, October 30, 2003 6:10 PM
> > Subject: Reason Code 2018 on MQOPEN
> >
> >
> > > I have an application that is running on Solaris
> 9 with MQ V5.3 CSD04.
> > We
> > > can do a successful MQCONN and MQDISC but when
> we do an MQOPEN we get
> > 2018
> > > error.  I have verified the parameters sent to
> MQOPEN and they are set
> > > correctly.   HCONN is HCONN from connect,
> MQOD-OBJE

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Christopher Fryett
Well, Roma, eBP, now called CASP will do automatic logging of messages so
you can replay them along with generating reports and so forth.  I haven't
worked with it for a year so I don't know if they have expanded the
product, but it was a very good one in my opinion.

Chris



|-+>
| |   "Michael Dag"|
| |   <[EMAIL PROTECTED]|
| |   ET.NL>   |
| |   Sent by: |
| |   "MQSeries List"  |
| |   <[EMAIL PROTECTED]|
| |   n.AC.AT> |
| ||
| ||
| |   10/31/2003 12:05 |
| |   PM   |
| |   Please respond to|
| |   Michael.Dag  |
| ||
|-+>
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: URGENT: Any way to find the msgs sent  
  |
  |
  |
  
>--|




I don't think QPasa or any other monitoring tool does automatic logging of
all messages (or selected ones).
If you really want to know WHAT was sent to whom and when, then have a look
at TransactionVision from Bristol.

http://www.bristol.com/transactionvision/

Michael

-Oorspronkelijk bericht-
Van: MQSeries List [mailto:[EMAIL PROTECTED] Razi, Ruzi
Verzonden: vrijdag 31 oktober 2003 18:13
Aan: [EMAIL PROTECTED]
Onderwerp: Re: URGENT: Any way to find the msgs sent


Yeah, I'd found out it was dmpmqmlog as I mentioned in my previous note. I
am still interested in knowing what other people are using to find what was
sent/received between the qmgrs during a certain time?  Does QPasa do that?
We may be able to convince the management to buy us a good tool to be used
for this (among other things) purpose.

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Ruzi,

I think it is called DMPMQLOG (sounds logical anyway..)

nick

=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 17:33
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Neil,

WebSphere ReQuest sounds good. Does anyone know what that IBM utility might
be to read the logs?

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the
planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both
ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is t

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Michael Dag
I don't think QPasa or any other monitoring tool does automatic logging of
all messages (or selected ones).
If you really want to know WHAT was sent to whom and when, then have a look
at TransactionVision from Bristol.

http://www.bristol.com/transactionvision/

Michael

-Oorspronkelijk bericht-
Van: MQSeries List [mailto:[EMAIL PROTECTED] Razi, Ruzi
Verzonden: vrijdag 31 oktober 2003 18:13
Aan: [EMAIL PROTECTED]
Onderwerp: Re: URGENT: Any way to find the msgs sent


Yeah, I'd found out it was dmpmqmlog as I mentioned in my previous note. I
am still interested in knowing what other people are using to find what was
sent/received between the qmgrs during a certain time?  Does QPasa do that?
We may be able to convince the management to buy us a good tool to be used
for this (among other things) purpose.

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Ruzi,

I think it is called DMPMQLOG (sounds logical anyway..)

nick

=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 17:33
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Neil,

WebSphere ReQuest sounds good. Does anyone know what that IBM utility might
be to read the logs?

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli.

Your help would be much appreciated.

Thanks,

Ruzi


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier ilectronique est une communication privie `
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'jtes pas le destinataire privu, vous jtes avisi,
par les prisentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'jtes pas spicifiquement autorisi ` recevoir ce courriel
ou si vous croyez l'avoir regu par erreur, veuillez en aviser l'expiditeur
original immidiatement.  Nous respectons les demandes similaires qui
touchent la confidentialiti des communications par courrier ilectronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide availab

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Razi, Ruzi
Yeah, I'd found out it was dmpmqmlog as I mentioned in my previous note. I
am still interested in knowing what other people are using to find what was
sent/received between the qmgrs during a certain time?  Does QPasa do that?
We may be able to convince the management to buy us a good tool to be used
for this (among other things) purpose.

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Ruzi,

I think it is called DMPMQLOG (sounds logical anyway..)

nick

=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 17:33
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Neil,

WebSphere ReQuest sounds good. Does anyone know what that IBM utility might
be to read the logs?

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli.

Your help would be much appreciated.

Thanks,

Ruzi


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier ilectronique est une communication privie `
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'jtes pas le destinataire privu, vous jtes avisi,
par les prisentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'jtes pas spicifiquement autorisi ` recevoir ce courriel
ou si vous croyez l'avoir regu par erreur, veuillez en aviser l'expiditeur
original immidiatement.  Nous respectons les demandes similaires qui
touchent la confidentialiti des communications par courrier ilectronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this ema

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Nick Beckson
Ruzi,

I think it is called DMPMQLOG (sounds logical anyway..)

nick

=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 17:33
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Neil,

WebSphere ReQuest sounds good. Does anyone know what that IBM utility might
be to read the logs?

Thanks,

Ruzi

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli.

Your help would be much appreciated.

Thanks,

Ruzi


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du d

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Razi, Ruzi
The mq command is dmpmqlog to read the log...

Ruzi

-Original Message-
From: Razi, Ruzi 
Sent: Friday, October 31, 2003 11:33 AM
To: 'MQSeries List'
Subject: RE: URGENT: Any way to find the msgs sent


Neil,

WebSphere ReQuest sounds good. Does anyone know what that IBM utility might
be to read the logs?

Thanks,

Ruzi 

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli.

Your help would be much appreciated.

Thanks,

Ruzi


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pa

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Razi, Ruzi
Neil,

WebSphere ReQuest sounds good. Does anyone know what that IBM utility might
be to read the logs?

Thanks,

Ruzi 

-Original Message-
From: Nick Beckson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT: Any way to find the msgs sent


Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli.

Your help would be much appreciated.

Thanks,

Ruzi


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'

Re: URGENT: Any way to find the msgs sent

2003-10-31 Thread Nick Beckson
Hi Razi,
Hope this does not sound too commercial.

Are you saying you think the message exchange has been overwritten ?

If not Cressida Technology has a product, WebSphere ReQuest, that can
perform Reporting, Recovery and Replay of WebSphere MQ logs. At this moment
available on Windows and the UNIX 'big 3'.

Alternatively I think there should be an IBM utility you can use on the
logs, the output is however not very readable I believe.

But for both of these you will need your logs intact of course, if not i
cannot think of another way, unless of course the applications perform any
logging.

regards,

Nick
=
Nick Beckson
Cressida Technology Ltd.
06 53 20 29 29
[EMAIL PROTECTED]

www.cressida.info

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Razi,
Ruzi
Sent: 31 October 2003 16:29
To: [EMAIL PROTECTED]
Subject: URGENT: Any way to find the msgs sent


Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli.

Your help would be much appreciated.

Thanks,

Ruzi


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MQRFH2 in Java

2003-10-31 Thread Christopher Fryett
Vivek:

  Sorry, I didn't look closely enough to your email.  The easiest way to
construct the MQRFH2 in Java is to build it yourself and attach it to you
payload.  As usual IBM does some rear ended solutions with the different
programming languages to support these headers.

  Also, look at Scribbles under your WMQI\examples\Scribbles which has a
RFH class.

Chris



|-+>
| |   "Pavel Tolkachev"|
| | |
| |   Sent by: |
| |   "MQSeries List"  |
| |   <[EMAIL PROTECTED]|
| |   n.AC.AT> |
| ||
| ||
| |   10/31/2003 07:54 |
| |   AM   |
| |   Please respond to|
| |   "MQSeries List"  |
| ||
|-+>
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: MQRFH2 in Java 
  |
  |
  |
  
>--|




Hello Vivek,

I think there is no class. Just go "C binding" for the MQRFH2 structure in
"Application Programmer's Reference" and form it in the beginning of the
byte array representing your message's data in Java. You can use
DataOutputStream over ByteArrayOutputStream or something fancier, like your
own bit manipulation functions. I prefer the second such as it is usually
more efficient, but the with the first approach you will probably get
working code much quicker.

Hope this will help,
Pavel





  Vivek Pandey
  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
  CHSPAN.COM> cc:
  Sent by: MQSeries   Subject:  Re: MQRFH2 in
Java
  List
  <[EMAIL PROTECTED]
  C.AT>


  10/31/2003 12:19 AM
  Please respond to
  MQSeries List






But that was precisely my question. After reading IBM's manual, I could not
find a single class that is equivalent to the MQRFH2 header. Could you
throw
some more light on this by passing on some sample code ??

regards,

Vivek Pandey
Software Engineer
IBCOE, TechSpan
Bangalore



-Original Message-
From: Christopher D. Fryett [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 7:55 PM
To: [EMAIL PROTECTED]
Subject: Re: MQRFH2 in Java


Oh yes, I know this very well ;-)

Arg

You have to use the raw MQI structure/object for MQRFH2 and attach it to
your payload.  It needs to be infront of it.  After constructing your
MQRFH2
header and writing it to your MQMessage object you can then add your normal
data/message to the MQMessage Object.  Make sure you have set the
MQMD.Format properly, the structLength for MQRFH2 and the NameValueLength
of
your folders if you use them using four byte boundries.

Enjoy!



-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Vivek
Pandey
Sent: Thursday, October 30, 2003 4:20 AM
To: [EMAIL PROTECTED]
Subject: MQRFH2 in Java


Does anyone have an idea as to how do I access the MQRFH2 header in Java
(MQ
base Java not JMS) I want to piggyback some data onto the message,
separated
from the payload. The MQRFH2 header can be used. But in Java I could find
no
such field in the MQMessage class.

regards,

Vivek Pandey
Software Engineer
IBCOE, TechSpan
Bangalore



-Original Message-
From: David C. Partridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 2:42 PM
To: [EMAIL PROTECTED]
Subject: AMQ7880 Error starting command server


Whenever I start a QM (or is it explorer) I get messages like this in the
MQ
error log and Windows Event Log - is this something I should worry about?

AMQ7880: Error code 20 starting QM1/Command Server WebSphere MQ service.

EXPLANATION:
The service was unable to start QM1/Command Server. The error message
reported was as follows: Process could not be started - return code 20
ACTION:
Use WebSphere MQ Services to investigate why the service could not begin.
If
recovery for t

URGENT: Any way to find the msgs sent

2003-10-31 Thread Razi, Ruzi
Hi all,

MQ 5.3 CSD04/W2K. Unknown to me, apparently there was going to be an outage
for   QM1 and QM2 in prod  between 2pm. and 3 pm.  yesterday. I was told
today that there was a mix-up and these servers stayed up during the planned
outage time. Now my boss wants to know if there was a message exchange at
all between these qmgr during that time.  Messages are persistent both ways.
Qmgrs were set up with circular logging (should have been linear, but...)

Only thing I could determine (from the Event Viewer) is that the channels
were up during  approx. from 1 p.m. to 4 p.m. As the  Disconnect interval is
set to 6000, there must have been exchange of some messages. Is there any
other place I can look at?  How long do the pers messages stay in the logs?
The only monitoring tool we have is Tivoli. 

Your help would be much appreciated. 

Thanks,

Ruzi  


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MQRFH2 in Java

2003-10-31 Thread Pavel Tolkachev
Hello Vivek,

I think there is no class. Just go "C binding" for the MQRFH2 structure in 
"Application Programmer's Reference" and form it in the beginning of the byte array 
representing your message's data in Java. You can use DataOutputStream over 
ByteArrayOutputStream or something fancier, like your own bit manipulation functions. 
I prefer the second such as it is usually more efficient, but the with the first 
approach you will probably get working code much quicker.

Hope this will help,
Pavel





  Vivek Pandey
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  CHSPAN.COM> cc:
  Sent by: MQSeries   Subject:  Re: MQRFH2 in Java
  List
  <[EMAIL PROTECTED]
  C.AT>


  10/31/2003 12:19 AM
  Please respond to
  MQSeries List






But that was precisely my question. After reading IBM's manual, I could not
find a single class that is equivalent to the MQRFH2 header. Could you throw
some more light on this by passing on some sample code ??

regards,

Vivek Pandey
Software Engineer
IBCOE, TechSpan
Bangalore



-Original Message-
From: Christopher D. Fryett [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 7:55 PM
To: [EMAIL PROTECTED]
Subject: Re: MQRFH2 in Java


Oh yes, I know this very well ;-)

Arg

You have to use the raw MQI structure/object for MQRFH2 and attach it to
your payload.  It needs to be infront of it.  After constructing your MQRFH2
header and writing it to your MQMessage object you can then add your normal
data/message to the MQMessage Object.  Make sure you have set the
MQMD.Format properly, the structLength for MQRFH2 and the NameValueLength of
your folders if you use them using four byte boundries.

Enjoy!



-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Vivek
Pandey
Sent: Thursday, October 30, 2003 4:20 AM
To: [EMAIL PROTECTED]
Subject: MQRFH2 in Java


Does anyone have an idea as to how do I access the MQRFH2 header in Java (MQ
base Java not JMS) I want to piggyback some data onto the message, separated
from the payload. The MQRFH2 header can be used. But in Java I could find no
such field in the MQMessage class.

regards,

Vivek Pandey
Software Engineer
IBCOE, TechSpan
Bangalore



-Original Message-
From: David C. Partridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 2:42 PM
To: [EMAIL PROTECTED]
Subject: AMQ7880 Error starting command server


Whenever I start a QM (or is it explorer) I get messages like this in the MQ
error log and Windows Event Log - is this something I should worry about?

AMQ7880: Error code 20 starting QM1/Command Server WebSphere MQ service.

EXPLANATION:
The service was unable to start QM1/Command Server. The error message
reported was as follows: Process could not be started - return code 20
ACTION:
Use WebSphere MQ Services to investigate why the service could not begin. If
recovery for this service is active, MQ will attempt to recover.

Regards,
David C. Partridge
Security and MQ Products Manager
Primeur Group
Tel: +44 (0)1926 511058
Mobile: +44 (0)7713 880197

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive





--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Mainframe monitoring - what product do you use?

2003-10-31 Thread Bruce Giordano
Your assumption is that all companies are looking for best-of-breed
monitoring solutions.  I suspect that most companies are instead looking
for the cheapest solution that adequately does the job.  Since going with a
single vendor can avoid integration costs and can also provide better
pricing from the vendor, there definitely seem to be reasons to go that
way.  Note that this is just my opinion.  I don't speak for my company.
 - Bruce Giordano



  Sam Garforth <[EMAIL PROTECTED]>
  To:  
   [EMAIL PROTECTED]
  Sent by: MQSeries List  cc:
  <[EMAIL PROTECTED]>   Subject:   Re: Mainframe 
monitoring - what product do you use?



  Friday October 31, 2003 02:42 AM
  Please respond to sgarforth






Gartner say the opposite of this:
"Enterprises should look at investing in tools to
monitor and manage their application server platform.
Tools from suite vendors such as Hewlett-Packard and
IBM Tivoli, or from point-product vendors such as
Nastel Technologies. Enterprises looking for
best-of-breed performance and availability monitoring
solutions will not be able to source all of their
needs from a single vendor. They will have to
integrate different tools from different vendors on
their own."

 --- Ronald Weinger <[EMAIL PROTECTED]> wrote: > It
was suggested to me a long time ago by someone in
> the business, that it
> made most financial sense to use the same product
> you use to monitor the
> rest of your mainframe systems to monitor WMQ.
> The information contained in this message may be
> CONFIDENTIAL and is for the
> intended addressee only.  Any unauthorized use,
> dissemination of the
> information, or copying of this message is
> prohibited.  If you are not the
> intended addressee, please notify the sender
> immediately and delete this
> message.
>


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
 Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MQRFH2 in Java

2003-10-31 Thread Vivek Pandey
Thanks Marty. I'll try this.

regards,

Vivek Pandey
Software Engineer
IBCOE, TechSpan
Bangalore



-Original Message-
From: Marty Fraiser [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 6:42 PM
To: [EMAIL PROTECTED]
Subject: Re: MQRFH2 in Java


Vivek Pandey wrote:

>But that was precisely my question. After reading IBM's manual, I could not
>find a single class that is equivalent to the MQRFH2 header. Could you
throw
>some more light on this by passing on some sample code ??
>
>
>
Vivek,

You'll probably have to roll your own MQRFH class if you need to
read/write MQRFH headers in base java.  The header and folder structures
are well described: you'll have to build the buffer and  write it to the
beginning of your message or, conversely, read it from the beginning of
a message and parse it.

Here's an example of what you might do to write an MQRFH v2 header.  I'm
not sure if this is the best way but it should work.

// set message format and write RFH2 header
theMsg.format = MQC.MQFMT_RF_HEADER_2;// Msg Format
theMsg.writeString(MQC.MQRFH_STRUC_ID);// StrucId
theMsg.writeInt4(MQC.MQRFH_VERSION_2);// Version
theMsg.writeInt4(MQC.MQRFH_STRUC_LENGTH_FIXED_2 + (folderNames.length *
4) + rfhLength);// StrucLength
theMsg.writeInt4(MQC.MQENC_NATIVE);// Encoding
theMsg.writeInt4(MQC.MQCCSI_DEFAULT);// CodedCharacterSetId
theMsg.writeString(MQC.MQFMT_NONE);// Format (content)
theMsg.writeInt4(MQC.MQRFH_NO_FLAGS);// Flags
theMsg.writeInt4(1208);// NameValueCCSID = UTF-8
// now write folders and their content

HTH,
Marty

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MQRFH2 in Java

2003-10-31 Thread Marty Fraiser
Vivek Pandey wrote:

But that was precisely my question. After reading IBM's manual, I could not
find a single class that is equivalent to the MQRFH2 header. Could you throw
some more light on this by passing on some sample code ??


Vivek,

You'll probably have to roll your own MQRFH class if you need to
read/write MQRFH headers in base java.  The header and folder structures
are well described: you'll have to build the buffer and  write it to the
beginning of your message or, conversely, read it from the beginning of
a message and parse it.
Here's an example of what you might do to write an MQRFH v2 header.  I'm
not sure if this is the best way but it should work.
// set message format and write RFH2 header
theMsg.format = MQC.MQFMT_RF_HEADER_2;// Msg Format
theMsg.writeString(MQC.MQRFH_STRUC_ID);// StrucId
theMsg.writeInt4(MQC.MQRFH_VERSION_2);// Version
theMsg.writeInt4(MQC.MQRFH_STRUC_LENGTH_FIXED_2 + (folderNames.length *
4) + rfhLength);// StrucLength
theMsg.writeInt4(MQC.MQENC_NATIVE);// Encoding
theMsg.writeInt4(MQC.MQCCSI_DEFAULT);// CodedCharacterSetId
theMsg.writeString(MQC.MQFMT_NONE);// Format (content)
theMsg.writeInt4(MQC.MQRFH_NO_FLAGS);// Flags
theMsg.writeInt4(1208);// NameValueCCSID = UTF-8
// now write folders and their content
HTH,
Marty
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Mainframe monitoring - what product do you use?

2003-10-31 Thread Sam Garforth
Gartner say the opposite of this:
"Enterprises should look at investing in tools to
monitor and manage their application server platform.
Tools from suite vendors such as Hewlett-Packard and
IBM Tivoli, or from point-product vendors such as
Nastel Technologies. Enterprises looking for
best-of-breed performance and availability monitoring
solutions will not be able to source all of their
needs from a single vendor. They will have to
integrate different tools from different vendors on
their own."

 --- Ronald Weinger <[EMAIL PROTECTED]> wrote: > It
was suggested to me a long time ago by someone in
> the business, that it
> made most financial sense to use the same product
> you use to monitor the
> rest of your mainframe systems to monitor WMQ.
> The information contained in this message may be
> CONFIDENTIAL and is for the
> intended addressee only.  Any unauthorized use,
> dissemination of the
> information, or copying of this message is
> prohibited.  If you are not the
> intended addressee, please notify the sender
> immediately and delete this
> message.
>


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive