| Valid in: | %SYSFUNC or %QSYSFUNC Macro, DATA step |
| Category: | Grid |
NOTE: No remote session ID enabled/disabled for the grid service.
%put
%sysfunc(grdsvc_getinfo(server=SASApp));
NOTE: SAS Application Server Name= SASAPP
Grid Provider= Platform
Grid Workload= gridwrk
Grid SAS Command= gridsasgrid
Grid Options= gridopts
Grid Server Addr= d15003.na.sas.com
Grid Server Port= 123
Grid Module= gridmod
Server name is a required grid resource value. If the SAS Application Server is a disabled required resource, this
message is displayed: Server name is not a required grid resource value.
/*------------------------------------------------------------------------*/ /* Show grid logical server definition for SAS Application Server 'SASApp'*/ /*------------------------------------------------------------------------*/ %let rc=%sysfunc(grdsvc_getinfo(sasappserver=SASApp)); /*------------------------------------------------------------------------*/ /* Show grid information about server session ID 'task1' */ /*------------------------------------------------------------------------*/ %let rc=%sysfunc(grdsvc_getinfo(task1)); /*------------------------------------------------------------------------*/ /* Show server session information for all server sessions */ /*------------------------------------------------------------------------*/ %let rc=%sysfunc(grdsvc_getinfo(_ALL_)); /*------------------------------------------------------------------------*/ /* Show all server session IDs that are either grid-enabled or */ /* grid-disabled */ /*------------------------------------------------------------------------*/ %let rc=%sysfunc(grdsvc_getinfo(_SHOWID_));