BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
LearnByMistk
Obsidian | Level 7

Hi All,

I'm stuck with a doubt, can we pass memsize while running our SAS job on the grid as a batch script ie nohup abc.sas -memsize 20G & 

 

I found one link which states how could I set memsize on EG for the different set of user (http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#n1inymfs0b7go2n147...), but not sure how to apply it while running as a batch script.

 

Thanks for the help in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
JuanS_OCS
Amethyst | Level 16

Hello @LearnByMistk,

 

indeed, command line has preference as @Kurt_Bremser mentioned.

 

However, and towards make administration and maintenance easier, also to developers, my main recommendation would be to just create additional SAS Batch Servers on your SASApp. You can have as many as you want to, since it is not an IOM server. And on each Batch Server, you can select the memory settings. The configuration and autoexec can be either the same or you can make changes, as those memory settings.

 

On that way, the users will just need to select the right batch server when they deploy/schedule the jobs and it will automatically take the settings.

View solution in original post

3 REPLIES 3
JuanS_OCS
Amethyst | Level 16

Hello @LearnByMistk,

 

indeed, command line has preference as @Kurt_Bremser mentioned.

 

However, and towards make administration and maintenance easier, also to developers, my main recommendation would be to just create additional SAS Batch Servers on your SASApp. You can have as many as you want to, since it is not an IOM server. And on each Batch Server, you can select the memory settings. The configuration and autoexec can be either the same or you can make changes, as those memory settings.

 

On that way, the users will just need to select the right batch server when they deploy/schedule the jobs and it will automatically take the settings.

nhvdwalt
Barite | Level 11

For a SAS Grid environment, you can also use Grid Options Sets. See this link...

 

http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#n1inymfs0b7go2n147...

 

 

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
  • 2496 views
  • 4 likes
  • 4 in conversation