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 » General IBM MQ Support » Archiving log files-Tool or code

Post new topic  Reply to topic Goto page Previous  1, 2
 Archiving log files-Tool or code « View previous topic :: View next topic » 
Author Message
veeruk
PostPosted: Thu Mar 30, 2006 7:33 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

But do I also need to change any JAVA settings?
Because there are lot of Exceptions thrown by java..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 31, 2006 4:09 am    Post subject: Reply with quote

Grand High Poobah

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

Nothing works in java without the right CLASSPATH duh..

If you showed us your classpath value
Code:
echo %CLASSPATH%
from within the .bat file we could give you some more guidance.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Fri Mar 31, 2006 4:13 am    Post subject: Reply with quote

Jedi Knight

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

Maybe first you should fix the exception that you posted. (My previous post about the program looking for the "-q" qmgr).
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
veeruk
PostPosted: Fri Mar 31, 2006 6:31 am    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

Thanks guys,
It worked for me. All I had to do is replace the '%1%' after -q flag in the batch file, with the queue manager name.
Thanks once again.
Veeru.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 31, 2006 3:19 pm    Post subject: Reply with quote

Grand High Poobah

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

The %1 is meant to be the first parameter that you pass on the command line. So if you call it for multiple qmgrs in a script you call it multiple times just passing the qmgr name.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Archiving log files-Tool or code
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.