VMS Help  —  DEFRAGMENT  ENABLE
    The ENABLE subcommand reactivates scripts that have been
    disabled.

    Format

      DEFRAGMENT ENABLE  { script-name } [ /QUALIFIERS ]

1  –  Parameters

 script-name

    The script-name specifies the name of the scripts to be enabled.
    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  The script-name parameter is not allowed if the /ALL qualifier
       is used.

3  –  Qualifiers

3.1    /ALL

       /ALL
       /NOALL (default)

          The /ALL qualifier indicates that all disabled
          scripts in the scheduling and parameter database
          should be enabled.

4  –  Examples

    The following examples show how to use the ENABLE command.

    1.

    $ DEFRAGMENT ENABLE/ALL

    In this example, all previously deactivated scripts are enabled.
    The enabled script executes according to its previously set
    schedule.

    Enabled predecessor or successor scripts resume executing
    according to their link dependencies.

    2.

    $ DEFRAGMENT ENABLE MY_SCRIPT

    In this example, MY_SCRIPT is enabled. MY_SCRIPT starts executing
    according to the parameters and qualifiers assigned to it.
Close Help