The ABORT subcommand terminates the execution of the script or scripts specified in the command line. Format DEFRAGMENT ABORT { script-name[,...] } [ /QUALIFIERS ]
1 – Parameters
script-name The script-name parameter is the name of the script to be aborted. You can use wildcards in the script-name specification. Use an asterisk (*) to take action on all scripts on the VMScluster system. Use a percent sign (%) to match a single character in the script-name specification.
2 – Restrictions
o You cannot use the script-name parameter with the /ALL qualifier.
3 – Qualifiers
3.1 /AFTER
/AFTER={time} /NOAFTER (default) The /AFTER qualifier keeps the script from being aborted until after the specified time. You can specify time as either an absolute time or as a combination of absolute and delta times. For complete information on specifying time values, see the VMS DCL Concepts Manual.
3.2 /ALL
/ALL /NOALL (default) The /ALL qualifier aborts all currently executing scripts across the system. This qualifier is functionally equivalent to using an asterisk (*) for the script-name parameter.
4 – Examples
The following examples show how the ABORT command functions. 1. $ DEFRAGMENT ABORT MY_SCRIPT/AFTER=16:30 This command aborts MY_SCRIPT after 16:30 on the day this command is submitted. 2. $ DEFRAGMENT ABORT/ALL This command immediately aborts all currently executing scripts in the entire system.