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
What do you know about sas and what we do? : sas-grid-administration
what is enterprise guide? What is the use of it? : Sas programming
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
What are symget and symput? : sas-macro
How long can a macro variable be? A token? : sas-macro
What are the special input delimiters used in SAS?
What do you code to create a macro? : sas-macro
What is the maximum length of the macro variable? : sas-macro
How would you identify a macro variable?
what are the benefits of data integration? : Sas-di
what is intially documentation in sas?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
Have you ever used the SAS Debugger?
What is proc sort?
In sas admin differentiate between roles and capabilities? : sas-grid-administration