!  STOP.CLD  -- modified STOP command for use with FORCE
!               by Marc Shannon (SYNFUL@DRYCAS) 11/29/86
!
!  Modified original STOP command to include /FORCE_ONLY qualifier
!  which also includes /ERROR qualifier.
!
!  This .CLD is the whole STOP command.  If you just want
!  to include the FORCE option, append the lines after
!  the dashed comment line below.

define syntax STOP_QUEUE_MANAGER
   image QUEMAN
   noparameters
define syntax STOP_QUEUE
   image QUEMAN
   parameter P1 , prompt="Queue"
      value (required)
define syntax STOP_CPU
   image MP
   noparameters
define verb STOP
   cliroutine STOP , cliflags (nostatus)
   parameter P1 , prompt="Process"
      value (type=$process)
   qualifier MANAGER , syntax=STOP_QUEUE_MANAGER
      nonnegatable
   qualifier ABORT , syntax=STOP_QUEUE
      nonnegatable
   qualifier NEXT , syntax=STOP_QUEUE
      nonnegatable
   qualifier IDENTIFICATION
      nonnegatable
      value (required)
   qualifier REQUEUE , syntax=STOP_QUEUE
      nonnegatable
      value
   qualifier ENTRY , syntax=STOP_QUEUE
      nonnegatable
      value (required)
   qualifier PRIORITY , syntax=STOP_QUEUE
      nonnegatable
      value (required)
   qualifier CPU , syntax=STOP_CPU
      nonnegatable
   qualifier QUEUE , syntax=STOP_QUEUE
      nonnegatable
   qualifier HOLD , syntax=STOP_QUEUE
   qualifier RESET , syntax=STOP_QUEUE
      nonnegatable

!-------------------Beginning of FORCE modifications--------------------
   qualifier FORCE , syntax=FORCE_ONLY
      nonnegatable

define syntax FORCE_ONLY
   image FORCE
   parameter P1 , prompt="Process"
      value (required,type=$process)
   qualifier IDENTIFICATION
      syntax FORCE_NOPARAM
      nonnegatable
      value (required)
   qualifier ERROR
      nonnegatable
      value (required)

define syntax FORCE_NOPARAM
   noparameters
