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 » Mainframe, CICS, TXSeries » executing mqm script files using csqutil

Post new topic  Reply to topic
 executing mqm script files using csqutil « View previous topic :: View next topic » 
Author Message
prince_mq
PostPosted: Wed Jun 20, 2007 4:38 am    Post subject: executing mqm script files using csqutil Reply with quote

Voyager

Joined: 10 Aug 2006
Posts: 76

Hi All,

I have an mqm script file which contains definitions for creating queues and channels and adding this queue manager to cluster.

The question i have is: can I define queues and channels using csqutil utility on my queue manager?. I want to know if this approach is fine.
Do I need to take any additional care while using csqutil for DEFINING objects?.

Thanks,
Prince
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jun 20, 2007 4:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

You mean like this:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsaw.doc/csqsaw0313.htm

People use csqutil to do that all the time.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
prince_mq
PostPosted: Wed Jun 20, 2007 5:07 am    Post subject: Reply with quote

Voyager

Joined: 10 Aug 2006
Posts: 76

Yes Wayne,

My jcl looks similar to the one below:

//COMMAND EXEC PGM=CSQUTIL,PARM='QMGR'
//STEPLIB DD DISP=SHR,DSN=SYS1.MQM.SCSQANLE
// DD DISP=SHR,DSN=SYS1.MQM.SCSQAUTH
//CSQUCMD DD DSN=SOURCE.LIB(C1),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COMMAND
COMMAND TGTQMGR(QMGR) RESPTIME(10)

can i have something like the following in my member SOURCE.LIB(C1)


* Create cluster sender channel which is pointing to cluster repository manager
DEFINE CHANNEL(CLUSSDR1) +
CHLTYPE(CLUSSDR) +
CONNAME('XXXXX(XXXX)') +
REPLACE +
CLUSTER(CLUSTER1)

* Create the cluster receiver channel
DEFINE CHANNEL(CLUSRCVR1) +
CHLTYPE(CLUSRCVR) +
CONNAME('XXX(XXX)') +
REPLACE +
CLUSTER(CLUSTER1)



* Server Channel
DEF CHL(SVRCHL) +
CHLTYPE(SVR) +
XMITQ(XMITQ)


* Requester channel
DEF CHL(RCVRCHL) CHLTYPE(RQSTR) +
CONNAME(XXXXX(XXX)) +


* Transmit queue
DEF QL(XMITQ) USAGE(XMITQ)

Also, I would like to know if i need to take any special care while definining the above mq objects. The reason as to why i am asking this question is I haven't created the queue manager.
Is it okay if i define queues or should i ask the z/os mq admin to do this for me?.


Thanks,
Prince
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jun 20, 2007 5:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
Is it okay if i define queues or should i ask the z/os mq admin to do this for me?.
We can't answer that question. Thats a policy decision. You need to talk to your zOS MQ admin and ask her that question.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » executing mqm script files using csqutil
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.