BookmarkSubscribeRSS Feed
dgower
Obsidian | Level 7

We have Studio setup in a GRID environment with 7 GRID nodes.  For testing, I would like to specify which GRID node the code I submit runs on.  I tried using:

%let rc=%sysfunc(grdsvc_enable(_all_, server=SASApp;jobopts=hostname));
%let hostname=host=<server_name>%str(;);

...before my code, but it still ran on the node that Studio connected to at signon.

 

What am I missing?

 

Thanks! 

3 REPLIES 3
BeverlyBrown
Amethyst | Level 16

Hi @dgower, I noticed there's an open Tech Support ticket (seemingly) for this and you've got a discussion going in the admin forum. Hope this is settled satisfactorily soon, if not already! Thanks for using the SAS communities.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
dgower
Obsidian | Level 7

Hi Beverly,

 

The response to the track was:

You would want to use the WORKLOAD option in conjunction with the addresource command, as well as defining the resource in
Management Console. Essentially we'd create a new resource (in my example below, "node1") that is assigned in LSF to a single node
esh our LSF configuration. Then, add that to the Grid Server options in Metadata. Finally in the program we enable grid with the
workload option, and use the "signon" command to start a session through the grid, then rsubmit to submit code in that session.

I don't have time to test this and have closed the track.  I need to focus on a more urgent issue.

 

Thanks,

 

Dan

BeverlyBrown
Amethyst | Level 16
Appreciate the need to prioritize! 🙂


Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2008 views
  • 0 likes
  • 2 in conversation