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
List out some key concept of SAS
describe how to adjust the performance of data integrator? : Sas-di
How substr function works in sas?
What is a macro routine?
What is the basic structure of the SAS base program?
Give e an example of..
For what purpose would you use the RETAIN statement?
what is data governance? : Sas-di
how does sas handle missing values in assignment statements? : Sas programming
What are the different types of sas functions?
describe about physical data integration? : Sas-di
explain what is data set in sas? : Sas-administrator
how can you create zero observation dataset? : Sas programming
What is the maximum length of the macro variable? : sas-macro
What system options would you use to help debug a macro? : sas-macro