| knowledge-database (beta) |
Current group: comp.soft-sys.sas
Re: Unix Script to execute SAS
|
|
 | | From: | Fehd, Ronald J. PHPPO | | Subject: | Re: Unix Script to execute SAS | | Date: | 21 Jan 05 22:24:33 GMT |
|
|
 | > From: William Krause > > Do you have an example of a Unix Script that executes SAS and > specifies the > path/filename in the script which will be written to by means > of only the > fileref in the SAS program - file fileref; ? No filename > statement will > be hardcoded in the SAS program will be specified. This is > from a ksh shell.
you are looking for the SAS option -sysin which names the file to execute see also -sysparm
sas -sysin ProgramA -sysin parameterValue
log is written to ProgramA.log list is written to ProgramA.lst
PROC Options define value option = sysin; PROC Options define value option = sysparm;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
If you want creative workers, give them enough time to play. -- John Cleese, comic actor (1939- ) .... to play with invocation options
|
|
|
| | |
|
 |