LD DISCONNECT [LDAn:] This command will disconnect the Logical Disk device from the Logical Disk file, or from the physical disk.
1 /ABORT
This qualifier can be used if the normal disconnect command does not disconnect the file (for example, when the file has been deleted). The ABORT qualifier disconnects the Logical Disk as it is (No checks.) When the physical disk is dismounted, and the logical disk is still active,the physical disk will enter a marked for dismount state until the logical disk is no longer connected. The steps to follow if this happens are described below; $ DISMOUNT LDA1: $ LD DISCONNECT/ABORT LDA1: $ DISMOUNT DDan: Be careful using the ABORT qualifier because it disconnects the Logical Disk independent of the state it is in.
2 /ALL
This qualifier disconnects all LDAn devices. No devicename has to be given in this case.
3 /LOG
/LOG /NOLOG (default) Shows the status after the device has been disconnected.
4 /TRUNCATE
This qualifier will truncate the container file to the highest written block. This can be used to trim excess blocks which may be left over from an extend operation.