
SUBMIT [qualifier[s]] filespec[s] [/filequalifier[s]]

The SUBMIT command submits one or more files for processing on a batch
processor. The files are grouped together into a single QMG batch job
and will be executed one after the other without interruption.

The optional queuename allows you to submit your job to a queue other than
the default BATCH. The optional jobname allows you to give your print job
a name. If you do not specify jobname, the name of the first file in the
job is used as the job name.

The following command qualifiers are available:

/AFTER:(dd-mmm-yy hh:mm)	/[NO]HOLD		/[NO]LOGFILE
/[NO]PRINT:queue		/PRIORITY:n		/[NO]RESTART

The following file qualifiers are available:

/[NO]DELETE
/[NO]TRANSFER

2 AFTER

SUBMIT/AFTER: (dd-mmm-yy hh:mm) files

The /AFTER qualifier allows you to specify that the processing of your 
job should be delayed until after a specified date and time. 
The job will not run immediately at that time, but will become eligible 
to be processed, and will compete with other jobs at that time.

You may specify either the date, or the time, or both. If you do not
specify a date, the current date is assumed.  To specify the date
without the time, omit the hh and mm values, but still include the
colons.


Examples:

SUBMIT/AFTER:(18:00)BIGFILE.BAT		! process the file after 6 pm

SUBMIT/AFTER:(1-APR-82)JOKE.BAT		! process the file on April 1, 1982

2 DELETE

SUBMIT files/[NO]DELETE

The /DELETE qualifier specifies that the specified file 
is to be deleted after processing. The default is /NODELETE.

In the following example, only FILE2.TXT will be deleted after processing,

Example:

SUBMIT FILE1.BAT,FILE2.BAT/DELETE,FILE3.BAT

In the next example, only FILE1 and FILE2 will be deleted.

SUBMIT/DELETE FILE1.BAT, FILE2.BAT, FILE3.BAT/NODELETE


2 HOLD

SUBMIT/[NO]HOLD files

The /HOLD qualifier specifies that your job is to be held (made ineligible for
printing). You must then release the job to allow it to be processed.

See HELP/RELEASE.
2 LOGFILE

SUBMIT/[NO]LOGFILE files

The /LOGFILE qualifier specifies whether or not a logfile of the job should be 
generated. The logfile tracks all the action in the batch job.

The default is /LOGFILE.
2 PRINT

SUBMIT/[NO]PRINT files
SUBMIT/PRINT:queue files

The /PRINT qualifier specifies whether or not the batch log should be printed.

If you specify /NOPRINT, the logfile will not be printed, but rather, will be
placed in your directory. All output of the batch job not contained in the
batch log file (spooled MACRO listings, etc.) will be printed as separate
print jobs.

If you specify /PRINT, the logfile will be queued to be printed. All output of
the batch job not contained in the batch log file (spooled MACRO listings,
etc.) will be attached to the batch log and printed with it as a single print
job.

If you want your batch log to go to a queue other than PRINT, you can specify
another queue on the /PRINT qualifier.

The default is /PRINT:PRINT.
2 PRIORITY

SUBMIT/PRIOITY:n files

The /PRIORITY qualifier allows you to specify a priority for your batch job. This
priority does not specify the priority at which the batch job actually runs,
but is simply used to determine position in the queue.

Privileged users may specify any priority between 1 and 250. Non-privileged
users may only specify priorities between 1 and 150.

The default is /PRIORITY:50. /PRIORITY:0 is the same as /PRIORITY:50.
2 RESTART

SUBMIT/[NO]RESTART files

The /RESTART qualifier specifies whether or not your job is to be restarted from the
beginning if it is interrupted.

When you specify /RESTART, if your job is stopped for some reason, and then started,
it will start over again from the beginning.

When you specify /NORESTART, the default, if your job is stopped for some reason, and
then started, it will be held.
2 TRANSFER

SUBMIT/[NO]TRANSFER files

The TRANSFER qualifier specifies whether or not the system should make 
temporary copies of batch command files submitted from a volume on a 
private device. The default is /TRANSFER. This permits you to dismount
the volume and deallocate the device as soon as the prompt returns 
after the SUBMIT command.

If you specify /NOTRANSFER, no copies will be made and you must keep 
the volume mounted and the device allocated until the batch processing 
is complete.


