10-06-2016 12:46 PM
I am using SASGSUB in MS Windows batch files to submit SAS code to the SAS Grid.
The batch script code for SAS 9.2 is shown below. The customized config file, sasgsub92.cfg, is located in C:\Users\%username%\SASGrid.
The default SAS WORK data library location assigned to a SAS session created by this submit is WORK= C:\Users\%username%\<_TD…..>
What option should be used to change the default SAS WORK data library location (C:\Users\%username%) to another path?
SET RunSAS="C:\Program Files\SAS\SASFoundation\9.2\sasgsub.exe" -gridconfig "C:\Users\%username%\SASGrid\sasgsub92.cfg" -metauser %username% %RunSAS% -gridsubmitpgm "%mypath%%pgm%" -gridsasopts " -log '%mylog%.log' -print '%mylst%.lst'"
10-06-2016 12:54 PM
10-07-2016 10:33 AM
"-work" is the option I am trying to use.
But it does not work in the sasgsub config file (sasgsub92.cfg in my example):
-GRIDSASOPTS "-work \\servername\...."
It works in the sasgsub.exe command line:
-gridsasopts " -work \\servername\...<other SAS options>."
Is there any way to tell the sasgsub.exe command to use the "-work" option from the sasgsub config file?