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 Java / JMS » Some Clarifications on PCF Commands

Post new topic  Reply to topic
 Some Clarifications on PCF Commands « View previous topic :: View next topic » 
Author Message
jigjim
PostPosted: Thu Apr 08, 2004 6:43 am    Post subject: Some Clarifications on PCF Commands Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

Hi,

I have been able to successfully do a Client connection for sending and recieving a "message".

I Now want to do the Client Connection to execute PCF commands. I am using Java, ms0b package, PCFAgent and PCFMessages to format my PCF Commands. I need help with the following information:

1. As per my understanding, the PCF commands are to be sent to SYSTEM.ADMIN.COMMAND.QUEUE as against SYSTEM.DEFAULT.LOCAL.QUEUE for messages. To put it in another way, The PCF commands have to be sent to the COMMANDQ associated with that Q Manager, Am i right on this ?

2. IS there a way to find out which Q is the COMMANDQ for that Q manager ? (I dont have a SYSTEM.ADMIN.COMMAND.QUEUE).

Thank you

Jigs
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Apr 08, 2004 6:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

runmqsc QmgrName

dis qmgr all

you'll see the command queue in the COMMANDQ property
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
vennela
PostPosted: Thu Apr 08, 2004 6:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

1:Right

2: Under runmqsc of the QMGR (i,e, if you do runmqsc <QMGR NAME> will give you the runmqsc prompt)
issue
Code:
dis qmgr
and you will see the command q of the qmgr
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jigjim
PostPosted: Thu Apr 08, 2004 6:58 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

Thanks for the help.

1. I believe you do runmqsc from the dos prompt. right ?
2. Is there a way i can do it to connect to a remote machine where my mainframe is located ?

Thanks

Jigs
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Apr 08, 2004 7:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

on z/OS the command queue is called: SYSTEM.COMMAND.INPUT is that one present?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Thu Apr 08, 2004 7:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But PCF messages are not supported on zOS.

So even if SYSTEM.COMMAND.INPUT exists, it won't help you use PCF commands.

You have to put MQSC commands on SYSTEM.COMMAND.INPUT to control MQSeries on zOS.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Apr 08, 2004 7:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

true finding the right queue seemed to be the problem...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jigjim
PostPosted: Thu Apr 08, 2004 10:27 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

How do i run runmqsc for a remote server.

I am on a pc and I have MQ series on it. I eun "runmqsc" from a DOS prompt and I see the results of DISPLAY QMGR (*) and see teh COMMANDQ attribute and its value.

How do i do it for a remote machine ? My MQSeries on the remote machine is running on mainframe which i can ping to.

Jigs
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 08, 2004 10:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jigjim wrote:
How do i run runmqsc for a remote server

According to the instructions in the manuals.

jigjim wrote:
My MQSeries on the remote machine is running on mainframe which i can ping to.
Ping just means you can make some sort of network connection to the remote server.

I highly doubt you can use RUNMQSC to control a zOS MQSeries queue manager.

Have you read the zOS System Administration Guide to see if it has any recommendations for remote administration?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
clindsey
PostPosted: Thu Apr 08, 2004 11:25 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Quote:

Have you read the zOS System Administration Guide to see if it has any recommendations for remote administration?


It is amazing what you can find in the docs .
I am not criticizing, preaching, or campaigning. The next paragraph is just to share information. Whether you use it or not is your choice.

For anyone who works with MQ on a regular basis, I highly recommend getting the MQ documentation CD from the install bundle and installing the doc locally on a windows machine. It is the best way I know of to do multi key word searches. For example, I started WebSphere MQ Information Center and clicked on the search tab and plugged in "runmqsc remote z/os". It returned approx 20 hits. I selected Remote Administration from the list and here is an excerpt:

Quote:

Working with queue managers on z/OS
You can issue MQSC commands to a z/OS queue manager from a queue manager on the platforms described in this book. However, to do this, you must modify the runmqsc command and the channel definitions at the sender.

In particular, you add the -x flag to the runmqsc command on the source node to specify that the target queue manager is running under z/OS:

runmqsc -w 30 -x target.queue.manager


Hope this helps,
Charlie
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Apr 08, 2004 11:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I think that somewhere it actually tells you that in order for this to work, you have to run against the default qmgr on the local machine.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Thu Apr 08, 2004 12:00 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Not to mention the security issues that will have to be identified and resolved.

And the presumed need for the CAF on the mainframe, or an established channel between the local QM and the mainframe QM.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Apr 08, 2004 1:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The default qmgr comment is in the Sys Admin manual. It uses remote messaging rather than a client connection. You can skip the CAF. However, making sure that security is correct is probably the biggest hurdle you'll have.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Some Clarifications on PCF Commands
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.