Hi wonder if anyone can help, I am trying to either write a script or write a few lines in the cmd line for the following:
I want to check the queue status and channel status on certain MQ channels, and rather than su and type all the cmds, I was trying to find an easy way i could do this I have tried the following, but it keeps bombing out on (*)
ie
while true
su - mqm -c runmqsc <Queue Manager>
dis ql(*)
dis chstatus(*)
end
sleep 60
done
Any ideas why this wil not work either from a simple script or from the cmd line
Regards
visvid
I want to check the queue status and channel status on certain MQ channels, and rather than su and type all the cmds, I was trying to find an easy way i could do this I have tried the following, but it keeps bombing out on (*)
ie
while true
su - mqm -c runmqsc <Queue Manager>
dis ql(*)
dis chstatus(*)
end
sleep 60
done
Any ideas why this wil not work either from a simple script or from the cmd line
Regards
visvid