What would the following datastep do?
Data _null_;
Set Dist end=eof;
Call Symput("xx"!!left(put(_n_,2.)),&dimension);
If EOF then
Call Symput('numrows',left(put(_n_,2.)));
Run;
dimension is a macro variable that is being passed here
Answer Posted / akshata shenvi
here numeric values have been converted to character values
at the place given by (line) :column
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Describe what are the different levels of administrative users in sas? : sas-grid-administration
Mention the category in which sas informats are placed?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
How can sas program be validated?
Explain input and put function?
What is the basic structure of the SAS base program?
for what purpose would you use the retain statement? : Sas programming
What are the data types does SAS contain?
Describe a time when you were really stuck on a problem and how you solved it?
How to read an input file in sas?
what are the scrubbing procedures in sas? : Sas programming
How to sort in descending order?
What are common programming errors committed in sas
what is snowflake schema? : Sas-di
describe about metadata object? : Sas-di