VMS Help
DEFRAGMENT, MODIFY, Examples

 *Conan The Librarian

      The following examples show how to modify an existing scripts
      using the common qualifiers:

    1.$ DEFRAGMENT MODIFY C/SCRIPT=A

      This command changes the name of script C to A.

    2.$ DEFRAGMENT MODIFY */MAIL_NOTIFICATION

      This command turns on mail notification for all scripts in the
      database.

    3.$ DEFRAGMENT MODIFY myscript/LOG=new_log/NOPREDECESSOR

      This command causes subsequent executions of myscript to
      generate a log file called NEW_LOG.LOG, located in the user's
      default directory. The NOPREDECESSOR qualifier disassociates
      myscript from its predecessor. However, any script for which
      myscript is a predecessor remains dependent upon the execution
      of myscript.

    4.$ DEFRAGMENT MODIFY *C/SCRIPT=*D

      This command changes the name of each script that ends in C to
      end in D. For instance, DAILYC becomes DAILYCD.
  Close     Help