Hi,
we are running SAS jobs in production via the sas command in batch mode.
sas -sysin <SCRIPT> -autoexec <AUTOEXEC_FILE> -log <LOGDIR+LOGILFE>
Does this command run the sasv9_local.cfg file automatically, so that OPTIONS like memsize=x, bufno=y etc.(which are included in the .cfg file) are set every time a job is executed?
Or do we need to specify such options in the sas command itself, e.g.
sas -sysin <SCRIPT> -autoexec <AUTOEXEC_FILE> -log <LOGDIR+LOGILFE> -memsize 512M -bufno 10
Thanks a lot,
Thomas
hi
In order to see which configuration files are used, you can run the following code:
The output looks like this:
CONFIG=( "C:\SAS93\SASFoundation\9.3\sasv9.cfg" "C:\SAS93\SASFoundation\9.3\nls\en\sasv9.cfg" )
Specifies a SAS configuration file.
This will give you the information whether your sasv9_local.cfg is used.
you can always specify a custom config file at SAS invocation like this:
sas -sysin <SCRIPT> -config <CONFIG-FILE> ...
Dear
You can use your own configuration or defines your values of the options SAS by default is use the config file of the installation
-memsize 15G -batch -noterminal
-CONFIG " ...."
You can have a look at :http://www.sascommunity.org/wiki/Batch_processing_under_Windows or look at the documentation SAS it depends also of your OS.
hi
In order to see which configuration files are used, you can run the following code:
The output looks like this:
CONFIG=( "C:\SAS93\SASFoundation\9.3\sasv9.cfg" "C:\SAS93\SASFoundation\9.3\nls\en\sasv9.cfg" )
Specifies a SAS configuration file.
This will give you the information whether your sasv9_local.cfg is used.
you can always specify a custom config file at SAS invocation like this:
sas -sysin <SCRIPT> -config <CONFIG-FILE> ...
Awesome, thank you!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.