To ensure that all GT.M databases are properly closed before OpenVMS terminates, place a copy or invocation of GTMSTOP.COM in the site-specific shutdown procedure SYS$MANAGER:SYSHUTDWN.COM.