Posted: Fri May 14, 2004 4:19 am Post subject: define a channel with portnumber in runmqsc
Apprentice
Joined: 27 Jan 2004 Posts: 37 Location: Netherlands
Hello,
I´ve got a problem within the runmqsc environment. If I define a channel with a portnummber it doesn´t accept the definition.
In the manual it states that: "It may include the port number, for example (MACHINE(123))." (see http://www.mqseries.net/manuals/intercommunication/csqzae061k.htm#HDRATTCON ) but if I try the following definition
def chl(SND.RCV.CH) chltype(sdr) replace +
trptype(TCP) +
discint(0) +
conname(MACH(1415)) +
batchsz(50) +
npmspeed(normal) +
xmitq(ENV.MACH.XQ)
it stops with an error
"AMQ8405: Syntax error detected at or near end of command segment below:-"
with the segment being the opening bracket after MACH (i.e. the bracket before the portnumber).
The reason I want to do this in runmqsc is the scripts we have for the definition of all our queues.
I can manualy adjust the portnumbers after running the scripts in the MQ explorer but then it wouldn't be an automatic script anymore
Is there a way within runmqsc (scripts) to correctly define channels with a portnumber ? (am I doing something wrong ?)
f.y.i. we're running MQ v5.3 (CSD 06)
conname('MACH(1415)') _________________ chandra mouli
IBM Certified Specialist on MQSeries/WMQ
IBM Certified Specialist on WebSphere MQ Integrator(WMQI)
Joined: 27 Jan 2004 Posts: 37 Location: Netherlands
thanks
I've already tried it with the ' before and it didn't work.
It seems that was probably due to a difference between the keyboard layout/definition of the server (US) and my client (dutch) that I used the wrong quote, the ` one instead of the ' one.
Thanks to your answer I knew the problem had to be there somewhere, so I did some cutting and pasting and now it worked fine.
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