This is what I hacked together and put into Sys$Manager:SYSHUTDWN.COM. I'm sure there might be better, but it seems to work alright for me.
$ mcr sys$system:endmqm -i QMGR1 $ mcr sys$system:endmqlsr -m QMGR1 $ LOOP: $ wait 00:00:05 $ ctx = "" $ tmp = F$Context( "PROCESS", ctx, "PRCNAM", "QMGR1_*", "EQL" ) $ pid = F$Pid( ctx ) $ If pid .NES. "" Then GoTo LOOP $ wait 00:00:15 $ R Sys$System:MQProc $ @Sys$Manager:MQS_Shutdown -----Original Message----- From: Gunilla Lindberg (ÄL/GIS) [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:27 AM To: [EMAIL PROTECTED] Subject: Shutdown procedure for OpenVms? Hi! Is there someone here that have a complete shutdown procedure for MQ 5.1 on OpenVms? Regards Gunilla 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