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
How do you define proc in sas? : sas-grid-administration
Explain the difference between nodup and nodupkey options?
what are the benefits of data integration? : Sas-di
what is program data vector? : Sas-administrator
How to limit decimal places for variable using proc means?
what is slowly changing dimension? : Sas-di
What are the difference between ceil and floor functions in sas?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
Describe the function and untility of the most difficult SAS macro that you have written.
what are input dataset and output dataset options? : Sas programming
What are the data types that sas contain?
What are the functions which are used for character handling functions?
What are the uses of sas?
explain the function of substr in sas? : Sas-administrator
Explain how you can debug and test your SAS program?