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 » mqGet

Post new topic  Reply to topic
 mqGet « View previous topic :: View next topic » 
Author Message
TRANSPORTATOR
PostPosted: Fri Aug 04, 2006 8:59 am    Post subject: mqGet Reply with quote

Apprentice

Joined: 04 May 2006
Posts: 27

each you see that I execute the code leaves this to me. but I cannot enter nothing… they can help me with this. please.


{
System.out.print("Please enter the argument in the order of \n" );
System.out.print("Queue name Queue manager name");
System.exit(1);
}

Please enter the argument in the order of
Queue name Queue manager name


********************************************************
public static void main(String arg[])

{

try{

if ( arg.length == 0)
{
System.out.print("Please enter the argument in the order of \n" );
System.out.print("Queue name Queue manager name");
System.exit(1);
}

ExitGetMessage MQGet = new ExitGetMessage();
System.out.println("Queue name " + arg[0]);
System.out.println("Queue manager name " + arg[1]);
MQGet.init(arg[0], arg[1]);

}
catch( Exception e)
{
e.printStackTrace();
}
}
*********************************************************
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Fri Aug 04, 2006 1:39 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You enter it at the command line. Not when the error message pops up as you have already exited the program when you see it.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Sun Aug 06, 2006 5:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

java program-name q-name qmgr-name
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » mqGet
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.