NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-60
EXTSWAP Job Attribute
EXTSWAP Job Attribute
The EXTSWAP job attribute specifies the name of the swap file for the default 
extended data segment of a job’s executor-program process. The file provides space 
for memory swaps of the default extended data segment 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 for the default extended data segment. The file must be 
on the same node as the executor-program process and can only be used by 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 EXTSWAP attribute creates its extended 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.
•
An executor-program process does not use the specified swap file unless 
the process 
lets the operating system allocate space for memory swaps of the 
default extended data segment.
•
The scheduler places the value of the EXTSWAP attribute in the ext-
swap-file
 parameter of the PROCESS_CREATE_ procedure. For more 
information about the procedure, see the Guardian Procedure Calls Reference 
Manual.
Example
This example shows the EXTSWAP attribute specifying the extended swap file for a 
user-written program:
> BATCHCOM $ZBAT; SUBMIT JOB EXTSWAP-JOB, EXECUTOR-PROGRAM
$DATA7.OBJFILES.OBJECT, EXTSWAP $TRASH.ZBAT.EXTSWAP
Job EXTSWAP-JOB Jobnumber 5 submitted
> BATCHCOM $ZBAT; INFO JOB 5, EXTSWAP
JOB ATTRIBUTES for EXTSWAP-JOB
EXT[SWAP]BBC{( AALVS1($volume-name, file-name) )










