Basic Script to Extract Queue , Channel and Cluster status

To display qll queues in qmgr: (for queue status use: "qs")

echo "dis q(*) all" |runmqsc <qmgrname> > /tmp/<qmgr.***.txt>

To display qll Clusters in qmgr:

echo "dis clusqmgr(*) cluster(*) all"|runmqsc <qmgrname> > /tmp/<qmgr.***.txt>

To display qll channels in qmgr: (for channel status use "chs")

echo "dis chl(*) all"|runmqsc <qmgrname> > /tmp/<qmgr.***.txt>

Comments