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 Index » IBM MQ Performance Monitoring » PCF Commands in Java

Post new topic  Reply to topic
 PCF Commands in Java « View previous topic :: View next topic » 
Author Message
rajesh_avrs
PostPosted: Sun Apr 27, 2003 7:51 am    Post subject: PCF Commands in Java Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

Hi all,

I would like to know the different ways of interpreting an MQSeries Event Message. Let us say, I am writing a monitoring tool and if my application need to read the data out of the Event Messsage, what is the API that I should use? Is my assumption that Event Message can be interpreted using PCF APIs? What's the corresponding support pac?

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
rajesh_avrs
PostPosted: Sun Apr 27, 2003 8:20 am    Post subject: Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

I would like to add, if somebody has a sample program to interpret and print event message header and data, can you please pass it on to me?

Thanks.
_________________
****************
MQSeries is cool
****************
Back to top
View user's profile Send private message Send e-mail
blowbeat
PostPosted: Mon Apr 28, 2003 3:27 am    Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2002
Posts: 49

rajesh_avrs wrote:
I would like to add, if somebody has a sample program to interpret and print event message header and data, can you please pass it on to me?

Thanks.


I believe there's a sample Event monitor as support pac : http://www-3.ibm.com/software/integration/support/supportpacs/product.html#wmq

Cheers, Jan.
Back to top
View user's profile Send private message
rajesh_avrs
PostPosted: Mon Apr 28, 2003 3:34 am    Post subject: Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

Jan, thanks for the reply.

There is a suppport pac. But I am specially looking for some Java code for reading Event messages.

Thanks.
_________________
****************
MQSeries is cool
****************
Back to top
View user's profile Send private message Send e-mail
rajesh_avrs
PostPosted: Tue Apr 29, 2003 4:54 am    Post subject: Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

Hello? Any responses?
_________________
****************
MQSeries is cool
****************
Back to top
View user's profile Send private message Send e-mail
clindsey
PostPosted: Tue Apr 29, 2003 6:58 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

The supportpac for the java pcf interface is MS0B. It has samples but I don't recall if it specifically has one for event messages.

Charlie
Back to top
View user's profile Send private message
rajesh_avrs
PostPosted: Tue Apr 29, 2003 9:52 pm    Post subject: Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

I have gone thru the PCF functionality and realized that you can use PCF only to query the health/attributes of a particular MQSeries object. My requirement is to process the event messages. For example, if I have enabled Channel events, MQSeries generates one event message in case if the channel goes down. The event message will be put in the event queue 'system.admin.channel.queue'. My requirement is to write a program using MQ/JMS APIs (no PCF) to read out this event message write the message to the console. Is there a way to do this just using MA88? Anybody has done this before?

Thanks
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Apr 30, 2003 6:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The new manual on Event Monitoring gives you complete information about the formats of all event messages, and should provide you enough information to read and understand these messages from Java.

See http://www-3.ibm.com/software/integration/library/manuals/crosslatest.html for the Event Monitoring manual.
Back to top
View user's profile Send private message
rajesh_avrs
PostPosted: Thu May 01, 2003 2:58 am    Post subject: Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

Unfortunately, this book does not give the files to be used when the programming language is Java.
_________________
****************
MQSeries is cool
****************
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Mon May 05, 2003 10:34 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

As was stated earlier, SupportPac MS0B is what you need. It includes all the Java pieces to create or 'pull apart' a PCF message.

It can be used, quite easily, to break down an Event message to the individual fields. The layouts are described in the MQ manuals.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » PCF Commands in Java
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.