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 SAS?
Differentiate between ceil and floor functions.
What is the difference between nodupkey and nodup options?
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
What are the prime responsibilities of data integration administrator? : Sas-di
How substr function works in sas?
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
How to specify variables to be processed by the freq procedure?
What is a put statement?
what is sas metadata repository? : Sas-bi
What are the implications?
Explain how merging helps to combine data sets.
what is metadata? : Sas-bi
What is PDV?
State the difference between INFORMAT and FORMAT ?