Running SAS (in batch mode)

To run a SAS job:

sas filename &

where filename is the command file.

SAS will run in the background (indicated by '&') allowing the user to do other tasks on the same workstation or to exit (logoff).

Output from the SAS job is printed to a file named filename.lst. The log is printed to a file named filename.log. SAS can also read compressed data. The format for the command file is:

FILENAME INCEN90 PIPE 'zcat ~lisan/ljn/data/black.dat.Z';
DATA BLACK;
INFILE INCEN90 LRECL=359;
INPUT AGE 1-2 SEX 3-3 STATE 4-5 . . .

To read uncompressed data:

DATA BLACK;
INFILE 'lisan/ljn/data/black.dat' LRECL=359;
INPUT AGE 1-2 SEX 3-3 STATE 4-5 . . .



W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software today. The following are good choices: Firefox 2; Opera 9; Safari 3.