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
What is the use of stop statement?
how to read the variables in sas? : Sas-administrator
Give some examples where proc report’s defaults are same as proc print’s defaults?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
What are symget and symput? : sas-macro
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
What are the data types does SAS contain?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
how does sas handle missing values in procs? : Sas programming
what is function of retain statment
How substr function works in sas?
What are the difference between sas functions and procedures?
name several ways to achieve efficiency in your program? : Sas programming
what are the considerations when picking a SAS/STAT procedure?
How do you test for missing values?