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

Lessons from North of the Border

Nerd Alert: Dictionary of Numbers

International Migration Statistics for the US

Open Data Executive Order

Measuring Marriage & Divorce among Same-Sex Couples

Reading compressed data in SAS

SAS has the capability to read input files that are in UNIX compressed format (.Z). Within your filename statement you will use a combination of the zcat command paired with the PIPE command. Below is an example that is reading compressed ascii data from the /usr/shared drive.

filename pums90 PIPE 'zcat /usr/shared/sb/mi26.Z';
data hh;
  infile pums90;
  input ID 2-8 state $11-12 . . .