Hello,
We recently migrated our SAS from old to new server. Installed SAS 9.4 M5 and migrated all users and jobs. Now we have 2 SASApp contexts - SASApp and SASApp2 and we have larger memory settings for SASApp2 so we could accommodate some bulk jobs. I will need to add those memory settings to the new server and trying to see where that is added (which config file) on the old server and I am unable to find out :-(. Here is everything that I checked and none of the files has it. Are there any more files that I could check?
/opt/sas/sashome/SASFoundation/9.4/sasv9.cfg
/opt/sas/sashome/SASFoundation/9.4/nls/en/sasv9.cfg
/opt/sas/sashome/SASFoundation/9.4/sasv9_local.cfg
/opt/sas/config/Lev2/SASApp/sasv9.cfg
/opt/sas/config/Lev2/SASApp/sasv9_usermods.cfg
/opt/sas/config/Lev2/SASApp/WorkspaceServer/sasv9.cfg
/opt/sas/config/Lev2/SASApp/WorkspaceServer/sasv9_usermods.cfg
Thanks!!
MEMSIZE settings should be added to sasv9_usermods.cfg for SASApp2.
Have you looked in Lev1/SASApp2?
And don't forget to look into the SAS metadata for the SASApp2 server context. It might be entered via the command line.
Hi @RupaJ
Run proc options with the VALUE option, for example:
proc options option=memsize value;
run;
This will tell you where that option was loaded from, for that particular SAS session.
Hello @nhvdwalt
Thanks , I get the below output.
Option Value Information For SAS Option MEMSIZE
Value: 171798691840
Scope: SAS Session
How option value set: SAS Session Startup Command Line
How should I set it up in the startup command line?
MEMSIZE settings should be added to sasv9_usermods.cfg for SASApp2.
@SASKiwi is correct. Custom setting should be placed in the *_usermods files.
However, we still need to trace your setting here.....
For Workspace Server sessions (Enterprise Guide, Enterprise Miner, etc.) have a look in WorkspaceServer.sh
For batch jobs, have a look in Batchserver.sh, assuming you call you batch scripts from here.
Command line in you output means the option is set at the point where the SAS executable is called on the command line e.g. ..\sas.exe -memsize 1G
@RupaJ wrote:
Hello @nhvdwalt
Thanks , I get the below output.
Option Value Information For SAS Option MEMSIZE
Value: 171798691840
Scope: SAS Session
How option value set: SAS Session Startup Command Line
How should I set it up in the startup command line?
"Command line" might point to something written into the server definition in SAS metadata, or supplied as part of the startup shell script(s). As you can see, this leaves quite some ambiguity, while placing options into one of the sasv9_usermods.cfg files enables SAS to exactly know from which file it was read, and report that.
(Since the command line arguments are built before SAS starts, the process has no way to know from where a particular item comes from)
Thanks for all the responses!
@nhvdwalt -- Yes you were right!! The settings were in workspace.sh file. As you all have suggested, I have now put them on sasv9_usermods.cfg file on the new server.
Thanks again for all your responses!
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.