Thanks, I will try this but I found another way, wrote my own script

 

 


From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of McCarty, Brian
Sent: 13 September 2006 06:52 PM
To: [email protected]
Subject: Re: Updating QM.ini with a script

 

I don’t know if this is exactly what your looking for and it is part of a larger script (so the setRc and such may not makes sense), but you get the idea.

 

  if [ "$qmgr" = "" ] || [ "$port" = "" ]; then print $usage; exit 1; fi

 

  qmini="/var/mqm/qmgrs/$qmgr/qm.ini"

 

## Add the list of listener ports to be used by the qmgr to the qm.ini file.

 

  m=`cat $qmini | grep $port 2>&1`; t=$?

 

  if [ $t -gt 0 ]; then

 

    m=`echo "Listeners:\n   Port=$port" >> $qmini 2>&1`

    t=$?; setRc $t; showErrorMessage $t "$m"

 

  fi

 

 

 


From: MQSeries List [mailto:MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT] On Behalf Of Emile Kearns
Sent: Wednesday, September 13, 2006 5:43 AM
To: MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT
Subject: Updating QM.ini with a script

 

Hi all,

 

I need to update the QM.ini with a script to add port 1414 to the TCP stanza, anybody done that?

Please send some pointers

 

---------------------------------------------------------
This e-mail, and any attached file(s), is intended solely for the use of the individual or entity to whom this e-mail is addressed and may contain information that is privileged, confidential or exempt from disclosure. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the UI Information Security Manager at 203-499-3689 and delete this message immediately from any computer. Any other use, retention, dissemination, retransmission, printing or copying of this e-mail is strictly prohibited.


To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
To unsubscribe, write to [EMAIL PROTECTED] and, in the message body (not the subject), write: SIGNOFF MQSERIES Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
To unsubscribe, write to [EMAIL PROTECTED] and, in the message body (not the subject), write: SIGNOFF MQSERIES Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
To unsubscribe, write to [EMAIL PROTECTED] and, in the message body (not the subject), write: SIGNOFF MQSERIES Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Reply via email to