SAS Studio can take
advantage of the processing capabilities of a SAS Grid. The approach
to take to add grid support depends on the edition of SAS Studio that
you are using.
With all editions of
SAS Studio, you can use the
SAS/CONNECT GRDSVC_ENABLE, SIGNON, and
RSUBMIT functions in your code to send the code to the grid. Use the
GRDSVC_ENABLE function to identify the
SAS/CONNECT session that should
be sent to the grid, specify that session name in the SIGNON statement,
and then submit the code to the session in the RSUBMIT statement.
For example, you could
use the following code to specify processing on the grid:
%let rc=%sysfunc(grdsvc_enable(gridsess,server=SASApp));
options autosignon;
rsubmit gridsess wait=no;
/* code to be processed on the grid */
endrsubmit;
waitfor gridsess;
signoff gridsess;
If you are using SAS
Studio Enterprise Edition together with SAS Grid Manager, you can
convert the SAS Studio workspace server to use grid load balancing.
During the conversion process, you can choose to launch the workspace
server either by the grid or by the object spawner on the least-used
machine in the grid. After you convert the workspace server, the grid
load-balanced server processes the SAS statements in SAS Studio.
See Using SAS Grid Manager for Server Load Balancing for more information.
In order to run code
from any edition of SAS Studio on the grid, you must have SAS Grid
Manager licensed and Platform Computing’s LSF installed on
the same machine as the SAS Studio workspace server.
You should modify the
SAS Studio property metadata to specify that the application is grid
capable. Identifying SAS Studio as grid capable enables you to associate
grid options sets with the application. Grid options sets are collections
of grid options, SAS options, and required resources that you can
map to users and applications (in this case, SAS Studio).
For more information,
see Understanding Grid Options Sets.
To specify that SAS
Studio is grid capable, use SAS Management Console to add the keyword
isGridCapable:*SAS
Studio Mid-Tier*
to the metadata for the SAS Studio
folder.
See Specifying That an Application Is Grid Capable for complete
instructions.