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 » Specifying APPLICID on process for Windows

Post new topic  Reply to topic
 Specifying APPLICID on process for Windows « View previous topic :: View next topic » 
Author Message
gpklos
PostPosted: Tue Feb 06, 2007 3:09 pm    Post subject: Specifying APPLICID on process for Windows Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

I have a question related to specifying the APPLICATION ID in the
process definition for a windows websphere mq queue manager. I have a
MSCS cluster set up with a queue manager. I have a trigger that kicks
off a process, which in turn runs a batch file. I'm getting inconsistent
results depending on how I specify the file to execute. If I put the
batch file on the C: drive and specify Windows NT as the application
type, and specify
C:\Program Files\IBM\WebSphere MQ\retrigger.bat
for the APPLICID, everything works. ie. I don't use any quotes around
the path or anything. Now if I put the batch file on the shared D: drive
(in the MSCS cluster) with an APPLICID of
D:\WebSphere MQ\mqadmin_scripts\retrigger\retrigger.bat,
when the trigger fires the error that shows up in the log is
"'D:\WebSphere' is not recognized as an internal or external command,
operable program or batch file". So apparently it doesn't like the
spaces in the command line. So I changed the APPLICID to the following,
D:\Websph~1\mqadmi~1\retrig~1\retrigger.bat.
Now it triggers and finds the batch file. So why does MQ find the batch
file on the C drive with spaces in the command, but doesn't find it on
the D drive with spaces? I need to use the old "DOS" directory names for
it it work.

Also two other things, I did try enclosing the whole line in double
quotes (ie. "D:\websphere mq\mqadmin_scripts..."), and even tried the
double quotes on the "C:\program files\ibm\..." and that doesn't work.

So I guess my questions are why can't MQ find the batch file on the D
drive while using long directory names with spaces, but it can on the C
drive?
And, why don't using double quotes around commands lines work either?
Thanks,
Gary
Back to top
View user's profile Send private message
tleichen
PostPosted: Thu Feb 08, 2007 8:00 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Hmmm.... very interesting. Might we know what version of Windows and what version of Websphere MQ you are using?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Feb 08, 2007 9:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Are the file systems the same type on C and D?
Back to top
View user's profile Send private message
gpklos
PostPosted: Fri Feb 09, 2007 4:38 am    Post subject: Specifying APPLICID on process for Windows Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

The operating system is Windows 2003 server addition and WMQ 6.0. Ibm said that traditionally windows only recognizes the drive where windows was installed. What they said is put the D:\ drive in the environment variables for the path. I did that and now MQ recognizes any path (whether it has spaces or not). So I guess by just putting D:\ in the path, now windows thinks of it like it does the C:\ drive. Anyways that was the answer, and it works, so I guess I should be happy.
I believe the C and D file systems are the same. At least that is what I was told.

Thanks,
Gary
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Specifying APPLICID on process for Windows
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.