Renee
2004-04-13 17:25:11 UTC
Hi,
I am running SAS V8.2 on a UNIX box. We are running from a batch
command line to submit the sas jobs. When running from the
share(folder), the sas program creates a log in that share and also
creates the log file that is created in the program to it's assigned
folder. We want to turn off the 1st log that gets created. I have
tried using -altlog in the CFG file, but when it runs, it says that
the file is not found because it first puts my home directory up there
(as that is where the batch file is run from)
Here is an example of the batch file we run:
*******************************************************************
nohup sas -config "/home/nqdev/shared/sasv8prodnew.cfg" -sysin
"/home/nqdev/source/fin_2115.sas" -autoexec
"/home/nqdev/shared/autoexec.sas" &
*******************************************************************
Here is an example of the sasv8prodnew.cfg file:
***********************************************
/*
* Default options:
*/
/* INI File - Directory Paths */
-path !SASROOT/hotfix/sasexe
-sysparm "'/home/nqdev/shared/prod.ini'"
-sasscript (!SASROOT/misc/connect)
-altlog "'/home/nqdev/log'"
-sasautos ( '!SASROOT/sasautos' )
-sashelp ( '!SASROOT/sascfg' '!SASROOT/sashelp' )
-maps !SASROOT/maps
-msg !SASROOT/sasmsg
-sasuser ~/sasuser.800
-work /sastemp
-dmsexp
-setjmp
-mvarsize 32K
-msymtabmax 4M
-sortsize 48M
-memsize 64M
-maxmemquery 6M
-noasynchio
-helploc ( '!sasuser/classdoc' '!SASROOT/X11/native_help' )
-docloc !SASROOT/install/docloc.htm
-appletloc !SASROOT/misc/applets
/*
* -news specifies the name of a text file that will automatically
* be displayed in the log when SAS is invoked.
*/
-news !SASROOT/misc/base/news
-path !SASROOT/sasexe
*******************************************************************
Any help would be greatly appreciated.
Renee
I am running SAS V8.2 on a UNIX box. We are running from a batch
command line to submit the sas jobs. When running from the
share(folder), the sas program creates a log in that share and also
creates the log file that is created in the program to it's assigned
folder. We want to turn off the 1st log that gets created. I have
tried using -altlog in the CFG file, but when it runs, it says that
the file is not found because it first puts my home directory up there
(as that is where the batch file is run from)
Here is an example of the batch file we run:
*******************************************************************
nohup sas -config "/home/nqdev/shared/sasv8prodnew.cfg" -sysin
"/home/nqdev/source/fin_2115.sas" -autoexec
"/home/nqdev/shared/autoexec.sas" &
*******************************************************************
Here is an example of the sasv8prodnew.cfg file:
***********************************************
/*
* Default options:
*/
/* INI File - Directory Paths */
-path !SASROOT/hotfix/sasexe
-sysparm "'/home/nqdev/shared/prod.ini'"
-sasscript (!SASROOT/misc/connect)
-altlog "'/home/nqdev/log'"
-sasautos ( '!SASROOT/sasautos' )
-sashelp ( '!SASROOT/sascfg' '!SASROOT/sashelp' )
-maps !SASROOT/maps
-msg !SASROOT/sasmsg
-sasuser ~/sasuser.800
-work /sastemp
-dmsexp
-setjmp
-mvarsize 32K
-msymtabmax 4M
-sortsize 48M
-memsize 64M
-maxmemquery 6M
-noasynchio
-helploc ( '!sasuser/classdoc' '!SASROOT/X11/native_help' )
-docloc !SASROOT/install/docloc.htm
-appletloc !SASROOT/misc/applets
/*
* -news specifies the name of a text file that will automatically
* be displayed in the log when SAS is invoked.
*/
-news !SASROOT/misc/base/news
-path !SASROOT/sasexe
*******************************************************************
Any help would be greatly appreciated.
Renee