Professional Documents
Culture Documents
B1 Exercise Chapter 3
B1 Exercise Chapter 3
1
LEVEL 1
data work.donations;
infile "C:\Users\NIsaHumaira\OneDrive\Desktop\ICT IV\DEGREE(4)\STA610\P1
2017 Data\P1 2017 Data\donation.dat";
input Employee_ID Qtr1 Qtr2 Qtr3 Qtr4;
Total=sum(Qtr1,Qtr2,Qtr3,Qtr4);
run;
1) No of observation=13
2) Variable=3
3) Length (byte size) product name= 43
CHALLENGE
data work.date;
CurrentDate=today();
CurrentTime=time();
CurrentDateTime=datetime();
run;
XDE LEVEL