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 Index » IBM MQ Installation/Configuration Support » define a channel with portnumber in runmqsc

Post new topic  Reply to topic
 define a channel with portnumber in runmqsc « View previous topic :: View next topic » 
Author Message
boos
PostPosted: Fri May 14, 2004 4:19 am    Post subject: define a channel with portnumber in runmqsc Reply with quote

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)
Back to top
View user's profile Send private message
drona_wipro
PostPosted: Fri May 14, 2004 4:32 am    Post subject: Reply with quote

Apprentice

Joined: 07 May 2004
Posts: 35
Location: London

try this, it will work.

conname('MACH(1415)')
_________________
chandra mouli
IBM Certified Specialist on MQSeries/WMQ
IBM Certified Specialist on WebSphere MQ Integrator(WMQI)
Back to top
View user's profile Send private message Send e-mail
boos
PostPosted: Fri May 14, 2004 4:57 am    Post subject: Reply with quote

Apprentice

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.

Thanks again
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » define a channel with portnumber in runmqsc
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.