Author |
Message
|
Qadeer_824 |
Posted: Tue Apr 22, 2008 3:02 am Post subject: TSO/ISPF command to access MF QMgr |
|
|
 Acolyte
Joined: 04 Oct 2007 Posts: 59
|
Hi,
I am a newcomer to Mainframes and got my mainframe id created recently. I was trying to access queue managers on mainframe box, but didnt find the right console to run the commands.
Can someone please tell me:
1. The exact console on which CSQUTIL command is to be executed?
2. What datasets do i need access for me to execute the CSQUTIL and other MQ related commands (TSO-AAA or TSO-CICS -> ISPF console)?
3. I've been throgh the huge docs on MF MQ admin guide, but couldn't find on how to configure my userid to run MQ related commands. Any suggestions?
Thanks in advance
Regards,
Qadeer |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 22, 2008 3:21 am Post subject: Re: TSO/ISPF command to access MF QMgr |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Qadeer_824 wrote: |
Can someone please tell me:
1. The exact console on which CSQUTIL command is to be executed?
|
CSQUTIL is a batch utility, similar to runmqsc on a distributed platform though it does more than run script. It also performs other admin tasks, like administering page sets.
Qadeer_824 wrote: |
2. What datasets do i need access for me to execute the CSQUTIL and other MQ related commands (TSO-AAA or TSO-CICS -> ISPF console)? |
You'll need the loadlibs in the JCL for CSQUTIL, as well as in your user id's ISPF profile modified to include the REXX libs if you're using the panel. Your site's sys progs will have the HLQs, and will probably need to modify your ISPF for you.
Qadeer_824 wrote: |
3. I've been throgh the huge docs on MF MQ admin guide, but couldn't find on how to configure my userid to run MQ related commands. Any suggestions?
|
I suggest you speak to your site's RACF administrator - it's highly unlikely you'll be able to make the security changes yourself. Details of the RACF profiles you'll need access to are in the z/OS System Setup manual. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Qadeer_824 |
Posted: Tue Apr 22, 2008 3:39 am Post subject: |
|
|
 Acolyte
Joined: 04 Oct 2007 Posts: 59
|
Hi Vitor,
Thnx for the reply. I recently had a call with the site admin and he says that the RACF permissions are set for my user id and he wants me to give him the error message that i get(if any) while running the MQ commands.
But i dont know the exact place to run the commands.
I'm doing this:
1. Login to MF
2. Select TSO-CICS and select ISPF/PDF Primary options menu from the menu.
3. Then select "Command" "Enter TSO or Workstation commands" from the menu.
4. On the Command line i give CSQUTIL and then press Enter.
I neither get any error message nor the console is stuck. It just kind-of ignores the command.
Is there any other way of accessing the queue manager?
Regards,
Qadeer |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 22, 2008 3:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Qadeer_824 wrote: |
4. On the Command line i give CSQUTIL and then press Enter. |
Vitor wrote: |
CSQUTIL is a batch utility, similar to runmqsc on a distributed platform |
Qadeer_824 wrote: |
Is there any other way of accessing the queue manager? |
Yes - the ISPF panel you're trying to access. It's named on page 5 of the z/OS System admin manual. Page 5. Under "Invoking the opperations & control panels" in Chapter 1. CSQUTIL is described in Chapter 18, so you must have seen it as you read past....
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 22, 2008 3:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Again, CSQUTIL is a batch job. You can not run it from TSO, because TSO is interactive.
You can talk to MQ using the ISPF panels for MQ. Your zOS site admin can tell you how to find those, if your ISPF profile has been updated to show them, as Vitor said needed to be done. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
belchman |
Posted: Tue Apr 22, 2008 4:36 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
What "MQ Related Commands" are you referring to? Indicating what you are trying to do may assist in providing help.
QMgr Start/Stop type of commands are run from the SDSF command line.
You could use a distributed instance of the Eclipse MQ Explorer if your mainframe MQ install is >= v6. Using this, you can do more trivial admin tasks. _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 22, 2008 4:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
belchman wrote: |
QMgr Start/Stop type of commands are run from the SDSF command line.
|
And you may not have authority to run them - depending on site standards that level of command is reserved for operational staff. Also you tend not to start and stop queue managers as often on z/OS; if not done in a planned manner, it can annoy the CICS systems & other parts of the stack. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bob_buxton |
Posted: Tue Apr 22, 2008 10:16 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
jefflowrey wrote: |
Again, CSQUTIL is a batch job. You can not run it from TSO, because TSO is interactive.
You can talk to MQ using the ISPF panels for MQ. Your zOS site admin can tell you how to find those, if your ISPF profile has been updated to show them, as Vitor said needed to be done. |
One of the new features of MQ V7 is an ISPF interface to the CSQUTIL Command interface which allows you to enter to issue MQ commands that are not supported via the other ISPF panels. _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Apr 22, 2008 10:40 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
the right console to run the commands |
If you have operations authority, you can run commands from an MVS console (or SDSF equivalent).
At an MVS console, you would enter the console prefix character string for the queue manager you want to send the command to, followed by the MQSC command.
For example:
MQ00 is the queue manager and +MQ00 is the console prefix character string.
+MQ00 START QMGR
+MQ00 DISPLAY QL(DEAD.LETTER.QUEUE)
CSQUTIL has many options, including running MQSC commands. Refer to the WMQ z/OS System Admin Guide for CSQUTIL details.
If you are not a mainframe person, consider taking some IBM training on basic MVS subjects; then take IBMs MQ201 WMQ z/OS System Admin I course. _________________ 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 |
|
 |
tleichen |
Posted: Thu May 08, 2008 1:12 pm Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
jefflowrey wrote: |
Again, CSQUTIL is a batch job. You can not run it from TSO, because TSO is interactive. |
That's not really true. Since Batch and TSO are the same type of job classification, you can do virtually anything under TSO that you can in batch. You just need to allocate the proper DDnames, etc. However, this depends on what your security profile is set up to allow, etc.
jefflowrey wrote: |
You can talk to MQ using the ISPF panels for MQ. Your zOS site admin can tell you how to find those, if your ISPF profile has been updated to show them, as Vitor said needed to be done. |
There are two levels of this. There are some basic panels that come standard with the product. There is also an MA10 support pack that extends these capabilities considerably. I highly recommend it. As I recall it has a selection for queue manager commands and a real nice DLQ browser. You may want to talk to your administrators about getting that installed and getting your profile set up to use it.
Good luck. _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu May 08, 2008 1:23 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Again, CSQUTIL is a batch job. You can not run it from TSO, because TSO is interactive.
That's not really true. |
Technically, it's true that this is not true. Having said (typed) that, CSQUTIL has a small fleet of DDNAMES that must be allocated to a TSO session. _________________ 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 |
|
 |
|