The Question is:
How can I do SHUTDOWN in a batch?
The Answer is :
The OpenVMS Wizard would tend to recommend the SYSMAN utility SHUTDOWN command, or the use of a detached process (running DCL).