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


Please Help Members By Posting Answers For Below Questions

What is SAS?

617


Differentiate between ceil and floor functions.

656


What is the difference between nodupkey and nodup options?

591


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

1165


What are the prime responsibilities of data integration administrator? : Sas-di

585






How substr function works in sas?

699


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

598


How to specify variables to be processed by the freq procedure?

613


What is a put statement?

660


what is sas metadata repository? : Sas-bi

599


What are the implications?

1179


Explain how merging helps to combine data sets.

612


what is metadata? : Sas-bi

598


What is PDV?

723


State the difference between INFORMAT and FORMAT ?

593