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 you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
what are all the reports you generated in your recent project?
why is sas data integration studio important? : Sas-di
How can I remove header from output data set?
How we can call macros with in data step? : sas-macro
For clinical entire study how many tables will create approx?
what are _numeric_ and _character_ and what do they do? : Sas programming
If you could design your ideal job, what would it look like?
How to include or exclude specific variables in a data set?
Do you need to rearrange the order of the data for the report?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What is data _null_?
How can sas program be validated?
Explain the use of proc gplot? : sas-grid-administration
how does sas handle missing values in sort order? : Sas programming