BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
woo
Lapis Lazuli | Level 10 woo
Lapis Lazuli | Level 10

Hello, 

i want to know how can we make sure all jobs [via clients applications, like EG or batch jobs] runs on grid by default? I don't want to include below statements to run jobs in grid? OR with 9.4 its there by default? Thanks - 

 

%let rc=%sysfunc( grdsvc_enable(_all_, server=SASApp));
signon grid_sess1; rsubmit;
/* the SAS code to run in the grid session goes here */
endrsubmit; signoff;
1 ACCEPTED SOLUTION

Accepted Solutions
SimonDawson
SAS Employee
You need to update the definition of the workspace inside metadata to be grid launched. Once you're done the object spawner will use your grid to spawn workspaces for end users onto machines per the queue rules.

View solution in original post

3 REPLIES 3
SASKiwi
PROC Star

I don't have any experience with grid computing, but I assume you could add the grdsvc_enable function call to your SASApp autoexec_usermods program. That way it will run automatically when a SASApp session is started, regardless of how it is invoked (batch, EG, SAS Studio etc).

SimonDawson
SAS Employee
You need to update the definition of the workspace inside metadata to be grid launched. Once you're done the object spawner will use your grid to spawn workspaces for end users onto machines per the queue rules.
woo
Lapis Lazuli | Level 10 woo
Lapis Lazuli | Level 10
Thanks SASKiwi and Simon. I found two very good notes (one for my another grid issue and one for grid launched work space server) as well. http://support.sas.com/kb/60/150.html https://blogs.sas.com/content/sgf/2013/11/06/dear-lsf-can-you-start-a-sas-workspace-server/#prettyPh...

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 458 views
  • 1 like
  • 3 in conversation