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 » Has anybody successfully connected to AS400 MQ using Java

Post new topic  Reply to topic
 Has anybody successfully connected to AS400 MQ using Java « View previous topic :: View next topic » 
Author Message
benchy
PostPosted: Fri Aug 16, 2002 2:23 am    Post subject: Has anybody successfully connected to AS400 MQ using Java Reply with quote

Newbie

Joined: 13 Aug 2002
Posts: 3

I am trying to write a simple application to monitor the status of channels on an AS400 MQSeries. I have used sample codes and not able to connect using the PCFAgent. I think is mainly because I don't know how to use this to connect properly.

I keep getting Completion code 2, Reason 2085 error

my bit of code that declares defines the agent is like this

agent = new PCFAgent ("host_name",1414,"SYSTEM.DEF.SVRCONN");

and right when I execute this line of code I get the error.

What else do I need to do to connect?

Has anyone successfully connected . I am running my Java program on an NT desktop, but eventually will migrate to the AS400.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri Aug 16, 2002 5:26 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Check on the AS/400 if you have a SYSTEM.ADMIN.COMMAND.QUEUE,
the command server queue on the AS/400 may have a different name and you will need to create SYSTEM.ADMIN.COMMAND.QUEUE alias to
point to the AS/400 COMMAND Q (SYSTEM.COMMAND.QUEUE I think)
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
benchy
PostPosted: Sun Aug 18, 2002 1:41 am    Post subject: Reply with quote

Newbie

Joined: 13 Aug 2002
Posts: 3

Jeff:

Thanks for your reply, we do have SYSTEM.ADMIN.COMMAND.QUEUE. It's defined as a local queue but if I create an alias of this queue what should be it's target. We don't have a SYSTEM.COMMAND.QUEUE.
Back to top
View user's profile Send private message
Reconda
PostPosted: Tue Aug 20, 2002 4:10 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2002
Posts: 40

Benchy,

QN-AppWatch is a web-based tool that you could run off your laptop or anywhere you have access to the internet and be able to view, manipulate, edit, create and manage MQ objects on an AS/400, AIX, Solaris, NT, Tandem, or the mainframe.

You can check our tool at www.reconda.com or register for our upcoming Webinar on Sept 6th to see a live demonstration.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Has anybody successfully connected to AS400 MQ using Java
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.