1  ZAP

   Zap  enables a user to delete a number of jobs in a queue with
   one command.  GROUP/WORLD/SYSPRV/ etc.  privilege is required to delete
   another users' job.
   Batch, printer, terminal, and generic queues are supported.

   Format
      ZAP /QUE=que_name /USER=username [/PROCESS=process_name]
          [/CONFIRM]  [/GENERIC_DELETE]
2  Qualifiers

/QUEUE = que_name
     This qualifier specifies the queue from which the jobs will be
     deleted.  /QUEUE is required. If not present, the user will be
     prompted for a queue name.  Wildcards are permitted.

/USERNAME= username
     Specifies the name of the user under which the jobs were submitted
     (ie. the person who submitted the jobs).  /USERNAME is required.
     If not present, the user will be prompted for a username.

/PROCESS_NAME = process_name
     Specifies the name of the jobs to be deleted. This qualifier can
     act as a wildcard.  See EXAMPLES for details.  If /PROCESS_NAME
     qualifier is omitted all entries will be deleted that match the
     queuename and username input values.

/JOB_NAME = process_name
     Specifies the name of the jobs to be deleted. This qualifier can
     act as a wildcard.  See EXAMPLES for details.  If /JOB_NAME
     qualifier is omitted all entries will be deleted that match the
     queuename and username input values.
     /JOB_NAME and /PROCESS_NAME are synonumous.

/CONFIRM
      Controls whether a request is issued before each  individual  DELETE
      operation  to confirm that the operation should be performed on those
      jobs matching the specified  username and queue.

/GENERIC_DELETE
      Controls whether ZAP will automatically search the target execution
      queues into which a generic queue feeds.  If the queue name specified
      is not a generic queue, /GENERIC_DELETE will have no effect.  If
      /GENERIC_DELETE is not present, then only the queues specified will
      be searched.  Default is /NOGENERIC_DELETE.
    

2  Examples

     ZAP/QUE=SYS$BATCH/USER=USER1
        deletes all jobs submitted by USER1 from the SYS$BATCH generic queue.

     ZAP/QUE=F*/USER=USER1
        deletes all jobs submitted by USER1 from any queue whose first letter
        begins with  "F".

     ZAP/GEN/QUE=FASTQUE/USER=USER1
        deletes all jobs submitted by USER1 from the FASTQUE generic queue 
        and will delete USER1's jobs from any queues fed by FASTQUE.

     ZAP/QUE=FASTBATCH/USER=SYSTEM/PROC=TEST
        deletes all jobs submitted by SYSTEM from the FASTBATCH queue 
        having a process name whose first 4 letters are "TEST".  Process
        names , TESTING & TEST_CHECKOUT would also be deleted if they exist
        in the queue FASTBATCH
