Author |
Message
|
Dilrukshi |
Posted: Sun May 19, 2002 9:59 pm Post subject: Starting a Channel Through program |
|
|
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 |
|
 |
mathiss |
Posted: Mon May 20, 2002 4:36 am Post subject: Channel start/stop |
|
|
 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 |
|
 |
mqonnet |
Posted: Mon May 20, 2002 5:01 am Post subject: |
|
|
 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 |
|
 |
Cliff |
Posted: Mon May 20, 2002 6:03 am Post subject: |
|
|
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 |
|
 |
mqonnet |
Posted: Mon May 20, 2002 6:16 am Post subject: |
|
|
 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 |
|
 |
jlamond |
Posted: Tue May 28, 2002 7:28 am Post subject: Start Channel |
|
|
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 |
|
 |
|