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 |
Name any two sas spawners? : sas-grid-administration
Code the MEANS to produce output to be used later.
What is shift table? have you ever created shift that?
2 Answers Accenture, Clinical Research, Quintiles,
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
For clinical entire study how many tables will create approx?
What is the order of application for output data set options, input data set options and SAS statements?
How to specify variables to be processed by the freq procedure?
Explain the purpose of substr functions in sas programming.
There are 200 observations in a dataset, i want to pull out the observation no's 100, 150,180,190 by using Proc SQL? How you can get it?
how to display duplicated observations in a data using base sas.
13 Answers HCL, TCS,
Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.
what is study design in while working with SAS? what are screening variables in SAS?