asked on
ASKER
ASKER
ASKER
#!/bin/sh
#
# Clear a MQ queue (clearqueue.sh)
#
# Parameters:
# $1=Queue manager
# $2=Queue name
#
if [ $# -ne 2 ] ; then
# Tell the user what they did wrong!
echo "Usage:"
echo " clearqueue.sh QMgrName QueueName"
exit;
fi
echo "clear qlocal($2)" | runmqsc $1
exit
How can I go about it?
ASKER
Software is any set of instructions that directs a computer to perform specific tasks or operations. Computer software consists of programs, libraries and related non-executable data (such as documentation). Computer software is non-tangible, contrasted with computer hardware, which is the physical component of computers. Software written in a machine language is known as "machine code". However, in practice, software is usually written in high-level programming languages than machine language. High-level languages are translated into machine language using a compiler or interpreter or a combination of the two.
TRUSTED BY
what are you trying to do? what shell? linux?
what queue?
you need to provide more details and be specific in what you are asking