When a grid environment
is available, the GRDSVC_NNODES function returns the total number
of job slots (busy and idle) that are available for job execution.
This value is resolved at the time that the function is called. Because
of this, the value might vary over time, according to whether job
slots have been added or removed from the grid. It can also vary based
on the user, the queue that is being used, or other slot limits that
are defined in the LSF configuration.
Here are the result
codes:
GRDSVC_NNODES Function Result Codes
|
|
|
If a grid environment
is available, reports the total number of job slots (idle and busy)
that have been configured in a grid environment. The grid contains
the resources that are specified by the SASAPPSERVER= argument and
the WORKLOAD= option.
If a grid environment
is not available, assumes a multi-processor (SMP) environment, and
reports the value of the CPUCOUNT system option. In this case, the
lowest value that can be reported is 1.
|
|
If a grid environment
is not available, assumes a multi-processor (SMP) environment, and
reports the value of the CPUCOUNT system option. In this case, the
lowest value that can be reported is 1.
|
|
reports that no grid
nodes contain the requested resources.
|
|
reports a syntax error
in the function call. For example, a syntax error would result from
supplying no value, or an empty string, to the SASAPPSERVER= option.
|