data have;
input FirmID Beginning End;
cards;
1001 1998 2005
1002 1982 2000
;
data want;
set have;
do year=Beginning to end;
age=year-Beginning+1;
output;
end;
drop Beginning End;
run;
data have;
input FirmID Beginning End;
cards;
1001 1998 2005
1002 1982 2000
;
data want;
set have;
do year=Beginning to end;
age=year-Beginning+1;
output;
end;
drop Beginning End;
run;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.