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 Java / JMS » Error in Execution of java Program(PCF command) on Mainframe

Post new topic  Reply to topic
 Error in Execution of java Program(PCF command) on Mainframe « View previous topic :: View next topic » 
Author Message
neetuj
PostPosted: Fri Apr 09, 2004 1:19 am    Post subject: Error in Execution of java Program(PCF command) on Mainframe Reply with quote

Newbie

Joined: 30 Mar 2004
Posts: 4

I have MQSeries 5.3 on Windows2000 and mainframe as well.
I wrote a java program which uses PCF commands for starting/stopping a channel.
In the program I import a "ibm.com.mq.pcf".
It has a class PCFAgent,using it we send the command to command server and it gets executed there.
when I executed this program for starting a channel on windows,it gets successfully executed.
but when I try to start a channel on mainframe MQseries,it gives an error as
3001: cfh_type error.
Do we need to set a different type on mainframe ?
If so,how?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Apr 09, 2004 1:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

the mainframe (z/OS) version of MQ does not support PCF!
use runmqsc commands instead and read the z/OS administration manual
see also this recent post http://www.mqseries.net/phpBB2/viewtopic.php?t=14668
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Error in Execution of java Program(PCF command) on Mainframe
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.