|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ClientConnection with Perl MQSeries Module |
« View previous topic :: View next topic » |
Author |
Message
|
fetmik |
Posted: Fri Oct 18, 2002 5:58 am Post subject: ClientConnection with Perl MQSeries Module |
|
|
Newbie
Joined: 18 Oct 2002 Posts: 1
|
Hi all,
I have installed the Perl MQSeries module (V1.19) under NT4 and want to connect to an MQSeries Server, but get a error message like
'MQM could not display the text for error 536895891'
'MQCONN failed (Reason = 2195) (Unexpected error occurred.)'
On my machine is no MQSeries installation, only Perl and the MQSeries module. An SvrConnection channel reside on the target QueueManager.
Here is a code snipped:
Code: |
use MQClient::MQSeries;
use MQSeries::QueueManager;
my $qmgr = MQSeries::QueueManager->new
(
QueueManager => 'AMIAS01E',
ClientConn => { 'QMgrName' => 'AMIAS01E',
'ChannelName' => 'SYSTEM.ADMIN.SVRCONN',
'TransportType' => 'TCP', # Default
'ConnectionName' => "AMIAS01E(1414)",
'MaxMsgLength' => 16 * 1024 * 1024,
},
) || die("Unable to connect to queue manager\n");
|
Could anybody help me ???
Thanks in advance,
Mike |
|
Back to top |
|
 |
simon.starkie |
Posted: Fri Nov 15, 2002 12:43 pm Post subject: Need MQ Client |
|
|
Disciple
Joined: 24 Mar 2002 Posts: 180
|
You said "On my machine is no MQSeries installation, only Perl and the MQSeries module".
Maybe you need to install at least the MQ Client (downloadable from IBM for free) to get the MQ Client modules... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|