Name |
Details |
---|---|
Description |
Executes a WebSphere MQ command and displays the command output. |
Parameters |
MQ Manager name followed by the WebSphere MQ command to be executed. Optionally, specify "maxsize=n" as a third parameter to limit the number of lines of output. The default maxsize is 64000 bytes. If the maximum number of bytes is exceeded, an EVO141 message will be written to the output. |
Output |
One line for each line of command output. |
Sample Command |
ev390hostcmd 46 "50|CSQ7|DISPLAY CHANNEL(*).s390.mysite.com" ev390hostcmd 46 "50|CSQ7|DISPLAY CHANNEL(*)|maxsize=70000.s390.mysite.com" |
Sample Output |
CSQN205I COUNT= 13, RETURN=00000000, REASON=00000000 CSQM410I %CSQ7 CHANNEL(mars.to.venus) CHLTYPE(SDR) QSGDISP(QMGR) CSQM412I %CSQ7 CHANNEL(venus.to.mars) CHLTYPE(RCVR) QSGDISP(QMGR) CSQM417I %CSQ7 CHANNEL(SYSTEM.DEF.CLUSRCVR) CHLTYPE(CLUSRCVR) QSGDISP(QMGR) CSQM418I %CSQ7 CHANNEL(SYSTEM.DEF.CLUSSDR) CHLTYPE(CLUSSDR) QSGDISP(QMGR) CSQM412I %CSQ7 CHANNEL(SYSTEM.DEF.RECEIVER) CHLTYPE(RCVR) QSGDISP(QMGR) CSQM413I %CSQ7 CHANNEL(SYSTEM.DEF.REQUESTER) CHLTYPE(RQSTR) QSGDISP(QMGR) CSQM410I %CSQ7 CHANNEL(SYSTEM.DEF.SENDER) CHLTYPE(SDR) QSGDISP(QMGR) |
CSQM411I %CSQ7 CHANNEL(SYSTEM.DEF.SERVER) CHLTYPE(SVR) QSGDISP(QMGR) CSQM415I %CSQ7 CHANNEL(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN) QSGDISP(QMGR) CSQM412I %CSQ7 CHANNEL(VENUS.TO.MARS) CHLTYPE(RCVR) QSGDISP(QMGR) CSQ9022I %CSQ7 CSQMDRTS ' DISPLAY CHANNEL' NORMAL COMPLETION EOF |
---|