How do you read in the variables that you need?
Answer Posted / hitesh
You can read in the variable with INPUT statement.
There are more than 1 ways use input statement.
eg:
input name$ no sal;
...OR you can read selected fields from byte positions at which they appear in the input file.
eg:
INPUT @1 NAME $20.
@21 No 3.
@24 Sal 7.;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Mention sas system options to debug sas macros.
what is the use of sas management console? : Sas-di
What is the difference between where and if statement?
What is the difference between one to one merge and match merge? Give an example.
Mention how to limit decimal places for the variable using proc means?
Of all your work, where have you been the most successful?
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
what is the Population you used in your project, is it ITT or PP?
What do you know about sas data set?
how does sas handle missing values in a merge? : Sas programming
what is ae onset date n what is RDS
explain what is data set in sas? : Sas-administrator
How to limit decimal places for the variable using proc means?
Give e an example of..
What are the special input delimiters used in SAS?