|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
executing mqm script files using csqutil |
« View previous topic :: View next topic » |
Author |
Message
|
prince_mq |
Posted: Wed Jun 20, 2007 4:38 am Post subject: executing mqm script files using csqutil |
|
|
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 |
|
 |
wschutz |
Posted: Wed Jun 20, 2007 4:53 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
prince_mq |
Posted: Wed Jun 20, 2007 5:07 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Wed Jun 20, 2007 5:14 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|