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 API Support » stop/start channel

Post new topic  Reply to topic
 stop/start channel « View previous topic :: View next topic » 
Author Message
mimi
PostPosted: Tue Oct 12, 2004 10:18 am    Post subject: stop/start channel Reply with quote

Novice

Joined: 01 Oct 2004
Posts: 18

Since PCF is not supported on z/OS, but I need to stop the channel once the destination queue is full in my C program. I'm new to z/OS as well, I need some ideas on how to do such thing.

Thanks,
Mimi
_________________
mimi
Back to top
View user's profile Send private message
siliconfish
PostPosted: Tue Oct 12, 2004 11:10 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

You can use Queue Depth Full event.
_________________
siliconfish
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 12, 2004 11:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

siliconfish wrote:
You can use Queue Depth Full event.


Well. That will tell if the queue is full.

That won't cause the channel to stop.

z/OS doesn't support PCF. Its command server takes messages that contain properly formated MQSC commands.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
siliconfish
PostPosted: Tue Oct 12, 2004 11:25 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

Jeff -
I meant using the queue depth full event to trigger an application to put the channel admin commands into the system command input queue for the command server to process.
The same one u have mentioned. Sorry for not explaining properly earlier.
_________________
siliconfish
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Oct 12, 2004 11:31 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well you could alt the qmgr of the destq not to have a DLQ and this will
bring the channel to a stop automatically when a queue fills up
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mimi
PostPosted: Tue Oct 12, 2004 11:32 am    Post subject: Reply with quote

Novice

Joined: 01 Oct 2004
Posts: 18

I haven't done anything like what you mention. Would you give me the sample how to do it? Or is there any sample in the documentation?

Mimi
_________________
mimi
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Oct 12, 2004 12:12 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Goto the mq panels and select
1) 3 (ALTER)
2) MANAGER (Object Type)
3) Make sure (Object Name is clear)
3) Press Enter
4) On this screen you will see a field called Dead-letter queue with a queue name. Erase this field and press enter
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mimi
PostPosted: Wed Oct 13, 2004 5:01 am    Post subject: Reply with quote

Novice

Joined: 01 Oct 2004
Posts: 18

Since we already have a C program to handle certain messages in the DLQ, I would like to put the logic into this program as well. How do I put the channel admin commands into the system command input queue?

Mimi
_________________
mimi
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Oct 13, 2004 5:20 am    Post subject: Reply with quote

Jedi Knight

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

Look at support pack MS16. That is a java program
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Oct 13, 2004 5:45 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mimi wrote:
Since we already have a C program to handle certain messages in the DLQ, I would like to put the logic into this program as well. How do I put the channel admin commands into the system command input queue?

Mimi


In Plain Text.

Write messages that contain the same MQSC commands that you would run from your panels.... So, "STOP CHANNEL(ABC.SVRCONN)" or whatever.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » stop/start channel
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.