blacksmith71 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I have recently been tasked with creating an interface that will pull an mq event message from an event queue and shuffle it into my companies enterprise managament console (OpenView). After installing the Morgan Stanely mgseries modules from CPAN and reading the documentation there, I was able to successfully pull messages from a "normal" local queue and read them.

Unfortunately, it seems that the messages in event queues are in a PCF format that is unreadable, unless you convert the data format first. I have scoured the web via google, newsgroups, ibm site, searched under small rocks and stones looking anywhere for example code that would show me how to use message::event to convert this data.

Documentum and examples are in very short supply it seems when it comes to the perl api for mqseries. I was hoping that a monk in search of good karma could either point me to a comprehensive source for all things perl/mqseries or at least show me how to translate the danged data.

As always any help would be appreciated, my experiance with oo perl is very limited, this project being the first time I've actually tried to use oo. If I'm missing something blindingly obvious please go easy on me.

Thanks for the help!
  • Comment on perl modules mqseries::message and mqseries::message::event

Replies are listed 'Best First'.
Re: perl modules mqseries::message and mqseries::message::event
by PodMaster (Abbot) on Jan 14, 2004 at 10:03 UTC
    Documentum and examples are in very short supply it seems when it comes to the perl api for mqseries ... blindingly obvious
    So you're saying the documentation for MQSeries::Message::Event and MQSeries::Message::PCF is inadequate? I wouldn't say so (you're looking for function MQDecodePCF or method EventData).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.