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 Discussion » Run MQ script files on Linux

Post new topic  Reply to topic
 Run MQ script files on Linux « View previous topic :: View next topic » 
Author Message
chanchal
PostPosted: Mon Apr 12, 2004 12:30 pm    Post subject: Run MQ script files on Linux Reply with quote

Apprentice

Joined: 30 Jan 2004
Posts: 38

I need to run MQ script files(.sh and .mqsc files) on linux server.Can anybody tell me how to run these script files on Linux server??
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Apr 12, 2004 1:33 pm    Post subject: Reply with quote

Jedi Knight

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

I would say that you run the .sh files by simply typing in the filename on the command line. The .mqsc files are input to the runmqsc utility. You can pipe them in:

runmqsc my.qmgr < my.mqsc
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
kman
PostPosted: Mon Apr 12, 2004 7:45 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

Or if you can't run the command suggested, try using the ./ infront of the script.

e.g., ./runmqsc my.qmgr < my.mqsc
Back to top
View user's profile Send private message Yahoo Messenger
gunter
PostPosted: Tue Apr 13, 2004 3:19 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Its also possible to use echo or here documents.

Code:
echo ... | runmqs


or

Code:
runmqsc <<EOF
....
EOF

_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
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 Discussion » Run MQ script files on Linux
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.