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 » PCF Message support and MQ Versions

Post new topic  Reply to topic
 PCF Message support and MQ Versions « View previous topic :: View next topic » 
Author Message
Tollo
PostPosted: Wed Dec 14, 2005 2:37 am    Post subject: PCF Message support and MQ Versions Reply with quote

Newbie

Joined: 13 Dec 2005
Posts: 2

Hi

Using some code from here and other internet sources I'm trying to get any PCF Messages to work on our MQ implementation. I'm using c# and the net interface dll and have tried several different attempts all of which return MQRC_NO_MSG_AVAILABLE. Were on MQ version 5.2 using Z/os as the Queuemanager is there a version issue or a setting issue that needs to be altered if you get that error?

Thanks very much for any help

Heres the code:

// Code looted from internet.
PCFMessage pcfMsg = new PCFMessage(CMQCFC.MQCMD_INQUIRE_CHANNEL_STATUS);
pcfMsg.AddParameter(new MQCFST(CMQCFC.MQCACH_CHANNEL_NAME, "JMCG.IN"));
pcfMsg.AddParameter(new MQCFIL(CMQCFC.MQIACH_CHANNEL_INSTANCE_TYPE,
new int[] { MQC.MQOT_SAVED_CHANNEL } ));

try {
PCFMessageAgent agent = new PCFMessageAgent(cc.GetCC().sharedQM);
PCFMessage[] pcfResponses = agent.Send(pcfMsg);
TraceResponses(pcfResponses); // Just traces out array
} catch (Exception ex) {
TraceException(ex, "inquire error"); // Just traces out exception
}

Thanks very much for any help
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Dec 14, 2005 2:42 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

MQ on z/OS verisons 5.2 and 5.3 do not understand PCF commands. You have to write the command in "text" format to the system command input queue supplying a replytoq for the answers.

afaik PCF is possible in version 6
_________________
Regards, Butcher


Last edited by Mr Butcher on Wed Dec 14, 2005 2:43 am; edited 1 time in total
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Dec 14, 2005 2:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Stop!
Quote:
Were on MQ version 5.2 using Z/os as the Queuemanager
There is no PCF support for commands on zOS until V6 of the qmgr.
Other platforms (unix, iSeries, windows) support PCF commands, but not zOS unitil v6.

For your release of the zOS qmgr, you need to send "text" commands:

"display ql(*) all" ......
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Tollo
PostPosted: Wed Dec 14, 2005 2:46 am    Post subject: Reply with quote

Newbie

Joined: 13 Dec 2005
Posts: 2

Thanks loads! I had been looking for supported versions but failed to find any good info.

Thanks for your help. I'll have a look at the text commands.

Edit: Would anyone know a good starting link for a guide/ doc/manual ?
im on http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzac.doc/csqzac0413.htm at the mo.

Thanks
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Dec 14, 2005 3:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Look at the zOS System Admin Guide:

Chapter: Operating WepShere MQ for ZoS
Section: Writing Programs to Administer WebSphere MQ
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » PCF Message support and MQ Versions
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.