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 » Mainframe, CICS, TXSeries » How to inquire on status of a channel via a CICS Cobol Pgm.

Post new topic  Reply to topic
 How to inquire on status of a channel via a CICS Cobol Pgm. « View previous topic :: View next topic » 
Author Message
usrmusic
PostPosted: Fri Mar 09, 2007 8:54 am    Post subject: How to inquire on status of a channel via a CICS Cobol Pgm. Reply with quote

Newbie

Joined: 09 Mar 2007
Posts: 3

Hi All,
I have a working cics cobol program that can inquire on queues and processes but I am trying to inquire on the status of a channel associated with the queues. I have the channel name walking from the queue, but can't seem to figure out how to inquire on the channel.
Can anyone help.
Thanks.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Fri Mar 09, 2007 9:05 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

there is no MQINQ for the channel status, mqinq only works for queues and queuemanager objects.

you have to issue a command to mqseries (either in "clear" text using the system.command.input queue or using pcf messages, depending on your mq version) and interpret the result you get back in the reply queue.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
usrmusic
PostPosted: Fri Mar 09, 2007 9:42 am    Post subject: Can this be done in a cobol program? Reply with quote

Newbie

Joined: 09 Mar 2007
Posts: 3

Thanks Butcher, I an not familar with these commands, can they be done in a cics app program? Can you supply a little more detail, or point me in the right direction for finding it on my own.
Thanks.
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Mar 09, 2007 10:26 am    Post subject: Re: Can this be done in a cobol program? Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

There is a manual that covers PCF, which is avaialable for V6 on the mainframe.

It also covers how to make non-PCF requests, for versions earlier than V6.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
usrmusic
PostPosted: Fri Mar 09, 2007 2:44 pm    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2007
Posts: 3

My shop has version 5.6 of MQ, so PCF is out. I need to access the channel status within the cics cobol module. Can you tell me which manual might explain that, or give me an example of the code.
Thanks again.
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Mar 09, 2007 5:57 pm    Post subject: Re: Can this be done in a cobol program? Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

EddieA wrote:
It also covers how to make non-PCF requests, for versions earlier than V6.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Mar 09, 2007 10:17 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

OK...I will ask the obvious .... why do you even need to know the status of a channel? An application really shouldn't need to know the status of a channel (IMHO) unless you are writing some kind of monitor.

In pre 6.0 you can write a MQSC command to the system command input quuee giving the request a reply queue (usually a TDQ) where the results of the command can be writen.
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 » Mainframe, CICS, TXSeries » How to inquire on status of a channel via a CICS Cobol Pgm.
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.