NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-85
MEM Job Attribute
MAXPRINTPAGES
JOB ATTRIBUTES for PAGES
jobnumber: 257
maxprintlines: None
maxprintpages: 50
> BATCHCOM $ZBAT; STATUS JOB PAGES
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
257 PAGES 205,70 11 EXECUTING DEFAULT
> SPOOLCOM
)JOB 11, STATUS DETAIL
JOB: 11
STATE: READY
LOCATION: #PAGES .
.
MAXIMUM LINES:
MAXIMUM PAGES: 50
MEM Job Attribute
The MEM job attribute specifies the minimum number of 2048-byte memory pages
allotted to a job’s executor-program process for user data.
number
is a number in the range 0 through 64 specifying the minimum number of 2048-
byte memory pages.
Considerations
•
A job submitted without the MEM attribute has memory pages allotted
according to
the memory-pages value compiled or bound into the executor
program. This default also applies when the MEM attribute specifies a number less
than that value.
•
The scheduler places the value of the MEM attribute in the memory-pages
parameter of the PROCESS_CREATE_ procedure. For more information on the
procedure, see the Guardian Procedure Calls Reference Manual.
Example
This example shows the execution of a job whose executor program returns the
number of memory pages specified for it by the MEM attribute:
> BATCHCOM /NOWAIT/ $ZBAT; SUBMIT JOB X, OUT [#MYTERM],
EXECUTOR-PROGRAM MEMTST, MEM 45
> PAUSE
Job X Jobnumber 9 submitted
MEM=45
ME[M] number