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 » General Discussion » Starting a Channel Through program

Post new topic  Reply to topic
 Starting a Channel Through program « View previous topic :: View next topic » 
Author Message
Dilrukshi
PostPosted: Sun May 19, 2002 9:59 pm    Post subject: Starting a Channel Through program Reply with quote

Apprentice

Joined: 28 Apr 2002
Posts: 29

Hai ,
Is there any way to start / stop a receiver or sender channel through program ?
The channel is for MQSeries in Mainframe v2.1 . If yes how to start/stop it ?

Thanks in advance
_________________
Dil
Back to top
View user's profile Send private message
mathiss
PostPosted: Mon May 20, 2002 4:36 am    Post subject: Channel start/stop Reply with quote

Novice

Joined: 21 Jan 2002
Posts: 12
Location: Harrisburg, PA

Hi Dil,

Check the sample code for the mainframe. There is a program you can use for this.

We have jcl set up in the scheduled jobs that stops our channels prior to the weekly ipl and another job that starts them once the ipl is finishes.

Susan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mqonnet
PostPosted: Mon May 20, 2002 5:01 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

PCF messages are the alternative. You can check out some of the samples from this forum as well IBM web site and modify them according to your needs.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cliff
PostPosted: Mon May 20, 2002 6:03 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

... but PCF messages are not supported on the mainframe. It's possible to write commands to the SYSTEM.COMMAND.INPUT.QUEUE (I think that's its name) which is a similar approach, or your program could output JCL to the internal reader.

Anyone care to comment on the most elegant approach?

Cliff
Back to top
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Mon May 20, 2002 6:16 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Hmmm... I never knew that.

Thought pcf's supported everywhere.


Thanks cliff for the info.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jlamond
PostPosted: Tue May 28, 2002 7:28 am    Post subject: Start Channel Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

Yes indeed,

On MVS you can simply put a message on the SYSTEM.COMMAND.INPUT. The command syntax is as you would do from CSQUTIL or from the MVS console i.e. start channel (<channelName>).

Note : this will only work on MVS / OS/390. For other platform you need to code PCF or the simplified java command.
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Starting a Channel Through program
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.