Hi All,
I'm new to SAS programming. Want to know how I can split my data into three sub-datasets: data before 1970, data
between 1970 to 1979 and data from 1980 onwards.
This is my current dataset:
![beekee_0-1629128340917.png beekee_0-1629128340917.png](https://communities.sas.com/t5/image/serverpage/image-id/62634i206DE0B37DAEB4D0/image-size/medium?v=v2&px=400)
This is my current code:
data ANL351.tourism;
infile "/home/u59111097/TMA/tourism.csv" dlm=',' FIRSTOBS = 2;
input year vsp pdi puk exuk pop cpisp exsp;
run;
proc contents data=ANL351.tourism;
run;
proc print data=ANL351.tourism;
run;
Thank you.