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 dates work in SAS data?
what is data governance? : Sas-di
what is data integration? : Sas-di
Name types of category in which SAS Informats are placed?
Differences between where and if statement?
How do you connect the desktop application to metadata server? : sas-grid-administration
what techniques and/or procs do you use for tables? : Sas programming
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Mention some common errors that are usually committed in sas programming.
what has been your most common programming mistake? : Sas programming
Enlist the syntax rules followed in sas statements.
how many types of prompts are there? : Sas-bi
How to include or exclude specific variables in a data set?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What is the use of function Proc summary?