VMS Help  —  CANCEL  Examples
    1.$ CANCEL CALENDAR

      The CANCEL command in this example cancels a wakeup request for
      a process named CALENDAR (which continues to hibernate until it
      is deleted with the STOP command).

    2.$ RUN/SCHEDULE=14:00 STATUS
      %RUN-S-PROC_ID, identification of created process is 0013012A
         .
         .
         .
      $ CANCEL/IDENTIFICATION=13012A

      The RUN command in this example creates a process to execute
      the image STATUS. The process hibernates and is scheduled to be
      awakened at 14:00. Before the process is awakened, the CANCEL
      command cancels the wakeup request.

    3.$ RUN/PROCESS_NAME=LIBRA/INTERVAL=1:00    LIBRA
      %RUN-S-PROC_ID, identification of created process is 00130027
         .
         .
         .
      $ CANCEL LIBRA
      $ STOP LIBRA

      The RUN command in this example creates a subprocess named
      LIBRA to execute the image LIBRA.EXE at hourly intervals.

      Subsequently, the CANCEL command cancels the wakeup request.
      The process continues to exist, but in a state of hibernation,
      until the STOP command deletes it.
Close Help