|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ on Z/OS |
« View previous topic :: View next topic » |
Author |
Message
|
lakshman4474 |
Posted: Tue Dec 01, 2009 1:46 am Post subject: MQ on Z/OS |
|
|
Novice
Joined: 17 Sep 2009 Posts: 10
|
Hi All,
Can some one help me out to answer the following questions.
1. Do you have any sample Queue object creations and MQ object creation in Z/OS via JCL? If yes kindly share with me one sample JCL.
2.suddenly channel go down in Z/OS. Master and CHIN job logs to find out the solutions. Can some one tell me what is the exact reason and why channel go down?
3. In our project we have tivoli configured and got the message via remedy that Queue Manager is not available. We check the MSTR and CHIN jobs thru ISPF. They are fine. Some thing went wrong. Do you have any other logs to check and verify why the Queue manager is not available?
4. Initial Program load (IPL) from which log you can find out the login and shut down LPAR information?
5.what is broker adoption? |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Dec 01, 2009 4:35 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
1. check the system administration guide for CSQUTIL utility.
here is some sample JCL
Code: |
//CSQ EXEC PGM=CSQUTIL,PARM='CSQX'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COMMAND DDNAME(CMD)
/*
//CMD DD *
DEFINE QLOCAL(SAMPLE.QUEUE)
/* |
2. there are many reasons, and it does not make sense to start a list. check the chin log for the reason. sometimes you must also check the remote end for the reason.
3. how does tivoli connect to your MQ? maybe it can not connect and then tells you qmgr not available. is lsitener started? firewall settings okay? network access okay? any security errors in the MSTR? anything in the CHIN log?
from my experience most likely lack in network access or security
4. are you looking for the syslog? or the hardware console?
5. don't know.
looks like you do not have many z/OS experience. so maybe you should talk with your local system programmer how things are set up. _________________ Regards, Butcher |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 01, 2009 5:34 am Post subject: Re: MQ on Z/OS |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lakshman4474 wrote: |
1. Do you have any sample Queue object creations and MQ object creation in Z/OS via JCL? If yes kindly share with me one sample JCL. |
Note that the sample provided by my worthy associate will need to be adapted to your local site.
lakshman4474 wrote: |
2.suddenly channel go down in Z/OS. Master and CHIN job logs to find out the solutions. Can some one tell me what is the exact reason and why channel go down? |
Same as they go down on distributed platforms.
lakshman4474 wrote: |
3. In our project we have tivoli configured and got the message via remedy that Queue Manager is not available. We check the MSTR and CHIN jobs thru ISPF. They are fine. Some thing went wrong. Do you have any other logs to check and verify why the Queue manager is not available? |
How do you know the queue manager's not available? How do you know tivoli isn't reporting a false problem?
lakshman4474 wrote: |
4. Initial Program load (IPL) from which log you can find out the login and shut down LPAR information? |
Why do you want to know this, what use is it to you and do the site sys progs know you're planning to fiddle round with this? Is it connected to this post where you were looking for the big print version of the z/OS install guide? I repeat the advice given there to get some training and assistance; if you don't know how to find & diagnose the IPL you don't want to be changing it! Seriously, you don't.
lakshman4474 wrote: |
5.what is broker adoption? |
Nothing to do with WMQ, it is (unsurprisingly) a WMB concept where a broker is adopted. Again unsurprisingly. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Dec 01, 2009 7:20 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
4. Initial Program load (IPL) from which log you can find out the login and shut down LPAR information? |
If you have a problem with a qmgr or any of its objects, you do not need to shut down an LPAR, nor do you need to re-IPL, nor do you likely need to shut down the qmgr. These are things you might need to do in Windows or UNIX.
Find someone at your shop with z/OS and MQ experience to help you. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
lakshman4474 |
Posted: Tue Jan 05, 2010 12:50 am Post subject: Reg CSQUTIL |
|
|
Novice
Joined: 17 Sep 2009 Posts: 10
|
Hi Mr Butcher
1) I have a small clarification on CSQUTIL. In the following JCL where we can mention the Queue manager name?
Usually we can create local queues under the Queue manager but in the following JCL i could not find the Queue manager name. Pl let me know.
//CSQ EXEC PGM=CSQUTIL,PARM='CSQX'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COMMAND DDNAME(CMD)
/*
//CMD DD *
DEFINE QLOCAL(SAMPLE.QUEUE)
/*
2) I need to copy 20 messages in a file on Z/OS. How can i do that? |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Jan 05, 2010 2:15 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
oh come on. did you compare the jcl with what is described in the manual? have you ever had a look into the system administration guide? of course not. do so, and you know how to specify the qmgr name. i don't mind to share knowledge as long as i see some effort on your end to find out things yourself.
to copy messages to a file (read or edit - able) you need a utility program. check the samples, check the supportpacs for those. utilities, especially copy, move, q2file or file2q have been discussed here many, many, many, many, many, many times. _________________ Regards, Butcher |
|
Back to top |
|
 |
lakshman4474 |
Posted: Tue Jan 05, 2010 2:35 am Post subject: Reg CSQUTIL |
|
|
Novice
Joined: 17 Sep 2009 Posts: 10
|
I have referred the IBM red books for CSQUTIL and system administration guide as well. It has the following contents.
Before asking any question i will always refer the book still if i am not understand then only i can post the reply....
//UTILITY EXEC PGM = CSQUTIL, PARM=('CSQ1')
//STEPLIB DD DSN=thalqual.SCSQANLE, DISP=SHR
//DD DSN=thalqual.SCSQAUTH, DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COMAND DD NAME(COMAND)
/*
//COMMAND DD *
DEFINE QL (firstname.QUEUE) LIKE (instructor_provided)
DISPLAY QL(firstname.QUEUE) ALL
/*
so in the above jcl i don't know where they will mention the Qmanager name? Pl let me know..
Thanks.. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Jan 05, 2010 3:00 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
again, do some RTFM !!!! If you really want to know what you are doing, then you should read the whole system administration manual as well as the other mqseries manuals.
At least you should read the whole CSQUTIL section. In the beginning, you will find how to specify the qmgr name.
I assume that you are not familiar with z/OS, as you do not see how to specify the QMGR name in these few JCL lines (which is very obvious). So in that case you should do a lot of reading, and (better) be close to your MQSeries and z/OS excperienced colleagues or z/OS system administrators. z/OS is way different from Windows / Unix. _________________ Regards, Butcher |
|
Back to top |
|
 |
lakshman4474 |
Posted: Tue Jan 05, 2010 3:03 am Post subject: Reg CSQUTIL |
|
|
Novice
Joined: 17 Sep 2009 Posts: 10
|
Hi Mr Butcher
I have got the information where they will mention the Queue manager name in CSQUTIL. In the PARM they can mention inthe following way.
// EXEC PGM=CSQUTIL,PARM=
PARM= QMGRname
QSGname,DSGname,DB2ssid
QMGRname,QSGname,DSGname,DB2ssid
Let me know if it is correct...
Thanks,Lakshman. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Jan 05, 2010 3:25 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
I have got the information .... |
where did you find it? painted on the wall of the restroom? go and verify with the manual. i am not your manual reader, nor your manual verificator, nor your iamtoolazytoreadcouldyoupleasetellme - guy. _________________ Regards, Butcher |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jan 05, 2010 9:58 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The WMQ for z/OS System Administration Guide has a chapter on "Using the WebSphere MQ Utilities, and a section entitled WebSphere MQ utility program (CSQUTIL).
The section on CSQUTIL identifies how to specify the queue manager name - the PARM= paramenter:
PARM parameters
QMGRname
Specifies the 1– to 4– character name of the queue manager or queue-sharing group to which CSQUTIL is to connect.
If you specify the name of a queue-sharing group, CSQUTIL connects to any queue manager in that group
The CSQUTIL section includes examples of all the things you can do with CSQUTIL - with JCL.
We are here to help you; but we expect that you will have tried to help yourself first. How? First, by reading the manuals, then asking co-workers, then by trying the JCL samples.
We then want you to post with more precision what you are trying to accomplish, exactly which manual (or other source) you are referring, exactly what you have tried, and exactly what results you received.
"...the redbook," "...it didn't work," and "I read somewhere..." lack any precision or clarity needed for problem determination.
We also expect that you demonstrate a general understanding of WMQ - available through WebSphere MQ Fundamentals redbook, downloadable here http://www.redbooks.ibm.com/redbooks/pdfs/sg247128.pdf. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jan 05, 2010 12:32 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
2) I need to copy 20 messages in a file on Z/OS. How can i do that? |
In the WMQ for z/OS System Admin Guide, under CSQUTIL, there is a section entitled Copying queues into a data set while the queue manager is running (COPY). There is another section Copying queues into a data set while the queue manager is not running (SCOPY). Both include sample JCL.
Is this what you are looking for? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
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
|
|
|
|