NetBatch Manual

Attributes
NetBatch Manual—522460-004
7-108
SWAP Job Attribute
attribute affects only the SUBMIT JOB command and not other scheduler
operations.
8} SUBMIT JOB Y, HOLD ON
Job Y job number 253 submitted
9} ALTER SCHEDULER, SUBMIT-ALLOWED OFF
Scheduler altered
10} STATUS JOB Y
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
253 Y 255,255 1:Hold DEFAULT
11} ALTER JOB Y, HOLD OFF
Job Y job number 253 altered
12} STATUS JOB Y
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
253 Y 255,255 30 EXECUTING DEFAULT
13} SUBMIT JOB Z
2128-E SUBMIT-ALLOWED is OFF; the scheduler is not accepting
job submissions
SWAP Job Attribute
The SWAP job attribute specifies the name of the swap file for the user data stack
segment of a job’s executor-program process. The file provides space for memory
swaps of the user data stack during process execution.
volume-name
is the name of the volume where the executor-program process is to create a
temporary swap file. When the process terminates, the operating system
automatically purges the file.
file-name
is the name of a swap file. The file must be on the same node as the executor-
program process and can be used by only one process at a time. The file is not
purged when the executor-program process terminates.
BATCHCOM expands a partially qualified file name by using the defaults specified
in the last VOLUME command. If there was no such command, the defaults current
at the start of the session apply.
Considerations
•
A job submitted without the SWAP attribute creates the swap file on the volume
specified by the SWAP attribute of DEFINE =_DEFAULTS. If the DEFINE does not
have the SWAP attribute, the operating system selects a volume for the file.
SWA[P] { $volume-name | file-name }