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
In ARRAY processing, what does the DIM function do?
What is the basic syntax of a sas program?
How to limit decimal places for variable using proc means?
What is the maximum length of the macro variable?
Given an unsorted data set, how to read the last observation to a new data set?
Describe the ways in which you can create a macro variable?
Which are the statements whose placement in the data step is critical?
what do the pad and dim functions do? : Sas programming
for report generation which one you used proc report or data_null_?
What is maximum number of rows and cols can be handled in SAS?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What is the differnce between SDTM 3.1.2 to 3.1.1 version
Do you need to know if there are any missing values?
What is the difference between the proc sql and data step?