|
On Jun 10, 8:56 pm, rmat <reg...@gmail.com> wrote:
> Hi
>
> I am trying to read a text file containing variables enclosed in
> quotes like given below. There are space between variables. Can you
> please help me to read this data into SAS?
>
> "Name" "Age" "State"
> "Smith" "22" "NJ"
> "Tom" "44" "CT"
> "Shake" "34" "CA"
> ---
> ---
> ---
> ---
> ---
> Thanks very much, Regi
data ;
infile yourdata DSD dlm= ' ' firstobs= 2 ;
length name $20 age 8 state $2 ;
input name age state ;
run;
|