; SUBMIT
;---------------------------------------------------------------
;! Verb which submits a batch work file to the job queue
;# VERB POPS
;-----------------------------------------------------------------------
;;  Copyright (C) 1995
;;  Associated Universities, Inc. Washington DC, USA.
;;
;;  This program is free software; you can redistribute it and/or
;;  modify it under the terms of the GNU General Public License as
;;  published by the Free Software Foundation; either version 2 of
;;  the License, or (at your option) any later version.
;;
;;  This program is distributed in the hope that it will be useful,
;;  but WITHOUT ANY WARRANTY; without even the implied warranty of
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;  GNU General Public License for more details.
;;
;;  You should have received a copy of the GNU General Public
;;  License along with this program; if not, write to the Free
;;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
;;  MA 02139, USA.
;;
;;  Correspondence concerning AIPS should be addressed as follows:
;;         Internet email: aipsmail@nrao.edu.
;;         Postal address: AIPS Project Office
;;                         National Radio Astronomy Observatory
;;                         520 Edgemont Road
;;                         Charlottesville, VA 22903-2475 USA
;-----------------------------------------------------------------------
;---------------------------------------------------------------
SUBMIT    LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
SUBMIT:  Verb which submits a batch work file to the job queue
BATQUE          1.0         2.0    Batch work file and job queue
DETIME          0.0        48.0    Delay job for DETIME hours
VERSION
                                   Version of Checker and AIPS-
                                   batch to be used.
          Note that AP tasks may only be done in BATQUE 2.
----------------------------------------------------------------
SUBMIT
Type: verb
Use: Submits the specified batch work file to the batch checker
     program (AIPSC).  If the checker finds no errors, the
     contents of the work file are moved to a job file and the
     job is queued to be executed by batch AIPS (AIPSB).
     Note that the checker expands any RUN files during this
     process.  Thus, after the job has been successfully
     submitted, you may modify the RUN files without harm to
     the job.  The work file is not modified by this process.
     The checker will delay the job a few minutes or, if it
     contains AP tasks, until they are allowed to run next.
     Use QUEUES to see when the job is scheduled to run.
Adverbs:
  BATQUE....The number of the batch work file and of the job
            queue to which it is to be submitted (1 or 2).
  DETIME....The number of hours which should pass before the
            job is actually executed.
  VERSION...Version of AIPSC and AIPSB to be used (i.e. 'NEW'
            or 'OLD'.  See HELP VERSION for details.
----------------------------------------------------------------
