Home > Data Services > Catalog . Restricted Data . Census . ACS

Search Data Services

Meta Search
search across all the following databases:

Data Catalog
Data and documentation

KnowledgeBase
Common questions and answers.

Resources
Entire collection of data resources.


Latest Data News

RSS Feed icon

Imagining a Census Survey Without a Mandate

Lessons from North of the Border

Nerd Alert: Dictionary of Numbers

International Migration Statistics for the US

Open Data Executive Order

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 . . .