Posted: Tue Jan 04, 2005 8:00 am Post subject: Loggings
Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
Good question. On Windows you can find it in:
my $QueueManagerIndex = index($MQManager, "/") ;
my $QueueManager = substr($MQManager, 0, $QueueManagerIndex) ;
my $CmdSvrStatusString = 'HKEY_LOCAL_MACHINE/SOFTWARE/IBM/MQSeries/CurrentVersion/Status/QueueManager/'.$MQManager.'QueueManagerStatus/CmdSvrStatus' ;
my $CmdSvrValue = $Registry->{$CmdSvrStatusString} ;
my $CurrentStatusString = 'HKEY_LOCAL_MACHINE/SOFTWARE/IBM/MQSeries/CurrentVersion/Status/QueueManager/'.$MQManager.'QueueManagerStatus/CurrentStatus' ;
my $CurrentStatus = $Registry->{$CurrentStatusString} ;
But on UNIX, if it isn't in qm.ini or the file above it mqs.ini I would suspect dspmq interfaces with the local queue managers. You could always cut the output from dspma to get your answer. Just remember thee are a few states besides ENDED and RUNNING.
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