Skipping over leading lines: FIRSTOBS=

The FIRSTOBS= option is useful when you have a data file that contains descriptive text or additional information within the first lines of the file. Below is an example that tells SAS to start reading data on the fourth line of the input file.
data sti90;
infile '/usr/shared/sb/90race.dat' FIRSTOBS=4;
input year fips age wmalh wfemnh bmalnh;
run;

NEW PSC blog

Recent resources, events, news

New Publications

Knodel et al. "Gendered Housework in Vietnam." PSC Research Report.

Couper. Designing Effective Web Surveys

Next Brown Bag

Monday, Oct 13
Jamie Jones
"Fertility & Risk Aversion on Utah Frontier"


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.