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
Answers were Sorted based on User's Feedback
Answer / kumaraswamy maduri
It creates macro variables like xx1,xx2....xxnumber of
observations and all the variables will same value that
&dimesion has and it creates one more macro
variable "numrows" that contains number of observations as
character value.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
Explain the message 'Merge has one or more datasets with repeats of by variables'.
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
Hi Friends, My name is Priya,am new to this Forum. am looking for SAS Platform Administration Interview Questions.I searched every where but I couldn't find any where.please can anyone help me with the FAQ's. It would be a great favor to me if you can email the Interview Questions to priyafeb84@gmail.com
Name statements that function at both compile and execution time.
What are the different servers in sas? : sas-grid-administration
what is sas? is a package or tool? give me introduction about sas?
You need to perform an analysis on a massive dataset by groups, but are unable to sort the data due to memory constraint. How would you accomplish the task?
Does anybody has lastest SAS certification dumps,if anybody has please mail me at akshara_SAS@ymail.com Thanks Akshara
In which format does Date stores in sas..? What is the use of DATE in SAS.?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming