You terminate an ADMIN dialog from a privileged user task or via $VMCONS with the command /END-VM-DIALOG VM-ID=...,TYPE=*ADMIN)
.
When the last (or only) dialog of a connection to $VMCONS is terminated, you can use the DISCONNECT
operand to specify whether the connection to $VMCONS is to be cleared or maintained.
/END-VM-DIALOG
also clears the connection to $VMCONS if this is the only connection, i.e. if no dialog has yet been started.
The VM administrator can enter /END-VM-DIALOG
for his/her VM.
If the VM2000 administrator enters /END-VM-DIALOG
for a VM other than the monitor VM, all affected dialogs of the VM are terminated, depending on the specification in the TYPE
operand. If the VM2000 administrator enters /END-VM-DIALOG
for the monitor VM from a BS2000 console, all ADMIN dialogs of the monitor VM are terminated.
If a VM2000 administrator terminates the ADMIN dialog with the monitor VM, any active /SHOW-VM-STATUS
command with periodic output from this VM2000 administrator is terminated.