|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Run MQ script files on Linux |
« View previous topic :: View next topic » |
Author |
Message
|
chanchal |
Posted: Mon Apr 12, 2004 12:30 pm Post subject: Run MQ script files on Linux |
|
|
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 |
|
 |
bower5932 |
Posted: Mon Apr 12, 2004 1:33 pm Post subject: |
|
|
 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 |
|
 |
kman |
Posted: Mon Apr 12, 2004 7:45 pm Post subject: |
|
|
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 |
|
 |
gunter |
Posted: Tue Apr 13, 2004 3:19 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
Its also possible to use echo or here documents.
or
Code: |
runmqsc <<EOF
....
EOF |
_________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|