Hi Nobert, thanks for taking the time to reply. What Windows version are you using? We use XP. Here is my command string in the Command OK field: "d:\utils\notify.bat QMName". I also tried your syntax by typing "cmd.exe /d:\utils\notify.bat QMName". With the same result.
If I understand correctly, the string in this field is put into a system call system(). Could this be a XP specific bug? mit herzlichem Dank, Benjamin F. Zhou Technical Specialist Enterprise Application Integration Mercedes-Benz USA x.2474 Pfister Norbert <[EMAIL PROTECTED] To: [EMAIL PROTECTED] ELLIUM.COM> cc: Sent by: MQSeries Subject: AW: MO71 "Command Fail/OK" field not working. List <[EMAIL PROTECTED] AC.AT> 03/09/2004 01:21 AM Please respond to MQSeries List Hi Benjamin, we did successfully via VisualBasic script: cmd.exe /cmonitor.vbs ok n %m %l cmd.exe /cmonitor.vbs fail y %m %l where the parms are: ' 1 - what: "ok" or "fail" ' 2 - MsgBox: "y" for yes, otherwise only to logfile ' 3 - QMGR-Name ' 4-n Location / Title Of course I had to activate the Windows scripting host on my workstation. Regards, Norbert Pfister IT DB/DC-Systemtechnik ITELLIUM Systems & Services GmbH N - Bau V, 1. Stock, Zi. 105 Fürther Strasse 205 D-90429 Nürnberg, Germany Tel.: (+49) 0911/14-26548 Fax: (+49) 0911/14-36548 Mobil: (+49) 0151/14265011 mailto:[EMAIL PROTECTED] -----Ursprüngliche Nachricht----- Von: Benjamin F. Zhou [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. März 2004 20:22 An: [EMAIL PROTECTED] Betreff: MO71 "Command Fail/OK" field not working. Hi All, Again many thanks to all those who helped me located the key in monitoring MQ on z/OS with MO71. Now I am testing using MO71 to monitor our MQ network employe the "command Fail" field to run a batch job which sends out emails. But this seems not working. I also tried the command "amqsput TESTQ TESTQM < mail.txt", with the same result, got the msg "command submitted", but nothing is done. Has anyone successfully used this field to execute a command? I wonder what I could be doing wrong. thanks for your help. Benjamin Zhou Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive