Answered on Jun 01, 2017
input ID $ 1-4 LastName $ 6-12
FirstName $ 14-18 City $ 20-29;
proc print data=work.salesrep;
run;The INPUT statement creates a variable using the name that you assign to each field. Therefore, when you write an INPUT statement, you need to specify the variable names exactly as you want them to appear in the SAS data set.
Forgot your password?