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 IndexGeneral IBM MQ SupportMQ services object issue.

Post new topicReply to topic Goto page Previous  1, 2
MQ services object issue. View previous topic :: View next topic
Author Message
gbaddeley
PostPosted: Thu Apr 20, 2017 4:26 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1659
Location: Melbourne, Australia

mqjeff wrote:
Also, you shouldn't as a recommended practice, keep any user code in "C:\Program Files\IBM\WebSphere MQ\bin", or any MQ product directory.

Agree. Never put anything or make changes in the MQ installation directories, unless it is an IBM documented setting or customization.
Quote:
You can also look at altering the STDOUT attribute to write to a file instead of nowhere.

Agree. STDOUT and STDERR should always be set to valid file names.
STOPCMD and STOPARG should also be set, eg. I use something like the following to set up a trigger monitor on Windows:
Code:
 define service('MY.TRIGMON') replace +
  control(qmgr) servtype(server) descr('Meaningful description') +
  startcmd('+MQ_INSTALL_PATH+bin\runmqtrm.exe') +
  startarg('-m +QMNAME+ -q MY.INITQ') +
  stopcmd('+MQ_INSTALL_PATH+bin\amqsstop.exe') +
  stoparg('-m +QMNAME+ -p +MQ_SERVER_PID+') +
  stdout('D:\MyTrigMonLogs\stdout.log') +
  stderr('D:\MyTrigMonLogs\stderr.log')

_________________
Glenn
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Apr 21, 2017 4:23 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17258

gbaddeley wrote:
I use something like the following to set up a trigger monitor on Windows:

I'm disappointed


_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Apr 23, 2017 4:52 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1659
Location: Melbourne, Australia

mqjeff wrote:
gbaddeley wrote:
I use something like the following to set up a trigger monitor on Windows:

I'm disappointed

Hi Jeff. Sorry to rain on your parade. More power to MA7K!
We've been using a trigger monitor MQ service for eons, set up similarly on our our platforms, Windows, AIX, HP-UX, Linux.
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexGeneral IBM MQ SupportMQ services object issue.
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.