Author |
Message
|
mimi |
Posted: Tue Oct 12, 2004 10:18 am Post subject: stop/start channel |
|
|
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 |
|
 |
siliconfish |
Posted: Tue Oct 12, 2004 11:10 am Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
You can use Queue Depth Full event. _________________ siliconfish |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 12, 2004 11:13 am Post subject: |
|
|
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 |
|
 |
siliconfish |
Posted: Tue Oct 12, 2004 11:25 am Post subject: |
|
|
 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 |
|
 |
mrlinux |
Posted: Tue Oct 12, 2004 11:31 am Post subject: |
|
|
 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 |
|
 |
mimi |
Posted: Tue Oct 12, 2004 11:32 am Post subject: |
|
|
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 |
|
 |
mrlinux |
Posted: Tue Oct 12, 2004 12:12 pm Post subject: |
|
|
 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 |
|
 |
mimi |
Posted: Wed Oct 13, 2004 5:01 am Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Wed Oct 13, 2004 5:20 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Look at support pack MS16. That is a java program |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 13, 2004 5:45 pm Post subject: |
|
|
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 |
|
 |
|