MQSeries

MQSeries is a Perl extension for MQSeries support.
Download

MQSeries Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Morgan Stanley Dean Witter and Co.
  • Publisher web site:
  • http://search.cpan.org/~hbiersma/MQSeries-1.25/MQSeries.pm

MQSeries Tags


MQSeries Description

MQSeries is a Perl extension for MQSeries support. MQSeries is a Perl extension for MQSeries support.SYNOPSISThere are two interfaces provided by the MQSeries modules. The first is a straight forward mapping to all of the individual MQI calls, and the second is a value-added, OO interface, which provides a simpler interface to a subset of the full MQI functionality.The straight MQI mapping is: use MQSeries; $Hconn = MQCONN($Name,$CompCode,$Reason); MQDISC($Hconn,$CompCode,$Reason); $Hobj = MQOPEN($Hconn,$ObjDesc,$Options,$CompCode,$Reason); MQCLOSE($Hconn,$Hobj,$Options,$CompCode,$Reason); MQBACK($Hconn,$CompCode,$Reason); MQCMIT($Hconn,$CompCode,$Reason); $Buffer = MQGET($Hconn,$Hobj,$MsgDesc,$GetMsgOpts,$BufferLength,$CompCode,$Reason); MQPUT($Hconn,$Hobj,$MsgDesc,%PutMsgOpts,$Msg,$CompCode,$Reason); MQPUT1($Hconn,$ObjDesc,$MsgDesc,$PutMsgOpts,$Msg,$CompCode,$Reason); ($Attr1,...) = MQINQ($Hconn,$Hobj,$CompCode,$Reason,$Selector1,...); MQSET($Hconn,$Hobj,$CompCode,$Reason,$Selector1,$Attr1,...);If the perl5 API is compiled with the version 5 headers and libraries, then the following MQI calls are also available: MQBEGIN($Hconn,$BeginOpts,$CompCode,$Reason); $Hconn = MQCONNX($Name,$ConnectOpts,$CompCode,$Reason);There are also some additional utility routines provided which are not part of the MQI, but specific to the perl5 API: ($ReasonText,$ReasonMacro) = MQReasonToStrings($Reason); ($ReasonText) = MQReasonToText($Reason); ($ReasonMacro) = MQReasonToMacro($Reason);The OO interface is provided in several optional modules. Three of these make up the core OO interface: MQSeries::QueueManager MQSeries::Queue MQSeries::MessageThere are several subclasses of MQSeries::Message which handle special message formats: MQSeries::Message::Storable MQSeries::Message::Event MQSeries::Message::PCF MQSeries::Message::DeadLetterThere is also a module which provides an interface to the command server PCF messages for MQSeries administration: MQSeries::CommandThere are two sets of classes that help you follow (tail -f style) and parse the two kinds of log-files written by MQSeries: the FDC files and the error-logs. These classes allow you to write a log monitoring daemon that feeds into syslog or your system management tools. MQSeries::ErrorLog::Tail MQSeries::ErrorLog::Parser MQSeries::ErrorLog::Entry MQSeries::FDC::Tail MQSeries::FDC::Parser MQSeries::FDC::EntryThere is a set of classes that parses configuration and authority files (/var/mqm/mqs.ini, /var/mqm/qmgrs/*/qm.ini, /var/mqm/qmgrs/*/auth/*/*). MQSeries::Config::Authority MQSeries::Config::Machine MQSeries::Config::QMgrSome internal helper functions are stored in the module: MQSeries::UtilsSee the documentation for each of these individual modules for more information. Requirements: · Perl


MQSeries Related Software