qname |
This value cannot be set by the user, and is ignored. |
jobid |
This value cannot be set by the user, and is ignored. |
owner |
This value cannot be set by the user, and is ignored. |
name |
If this value is NULL, it is set to the basename of the script (or STDIN if the script has no pathname). |
priority |
This value must be set. The default is BATCH_JOB_PRI_DEFAULT. |
runpriority |
The default is NORMAL_PRIORITY_CLASS. |
restartable |
The default is TRUE |
starttime |
If this value is not set, the job is started immediately |
size |
This value cannot be set by the user, and is ignored. |
state |
This value cannot be set by the user, and is ignored. |
holds |
The default is no holds. Jobs may be submitted with a user hold. |
script |
If this value is NULL, the script is read from STDIN. |
reserved2 |
This value cannot be set by the user, and is ignored. |
stderr |
The default is jobname.e, where jobname is the filename of the script. |
stdout |
The default is jobname.o, where jobname is the filename of the script. |
system |
This value cannot be set by the user, and is ignored. |
user |
This value cannot be set by the user, and is ignored. |
shell |
If this value is NULL, the system uses the default shell set in the queue. |
envp |
This value has no default, and may be set to NULL. (See comments below for more information.) |
logmsg |
This value has no default, and may be set to NULL. |
account |
This value has no default, and may be set to NULL. |
infiles |
This value has no default, and may be set to NULL. |
outfiles |
This value has no default, and may be set to NULL. |
origin |
This value cannot be set by the user, and is ignored. |
mailaddress |
If this value is NULL, it is set to \\localhost. |
flags |
The default is BATCH_JOB_FLAGS_MAIL_ABORT. |
filesizelimit |
If this value is 0, it defaults to the size limit for the queue. |
recurrence |
Set to zero by default. Unused until a recurring job flag is set in the flags field. |
The envp member has some special constraints. The following environment variables will not be put into the job environment, even if they are included in the envp structure:
HOMEDRIVE |
HOMEPATH |
HOMESHARE |
Path |
ComSpec |
|
TZ |
USERNAME |
QSUB_HOME |
QSUB_PATH |
QSUB_SHELL |
QSUB_MAIL |
QSUB_TZ |
QSUB_USER |
QSUB_REQID |
QSUB_REQNAME |
QSUB_HOST |
Certain environment variables will be taken from the submitting user's environment (NOT the envp member), renamed, and put into the job execution environment:
User environment variable |
Job environment variable |
ComSpec |
QSUB_SHELL |
HOMEDRIVE, HOMEDIR |
QSUB_HOME |
|
QSUB_MAIL |
Path |
QSUB_PATH |
TZ |
QSUB_TZ |
USERNAME |
QSUB_USER |
If an environment variable does not exist in the user's environment, then the corresponding variable is not exported into the job execution environment.
At job execution time, the following environment variables are exported into the job environment:
QSUB_HOST |
the name of the computer where the queue to which the job was submitted resides |
QSUB_REQID |
the jobid |
QSUB_REQNAME |
the job name |