For what purpose(s) would use the RETURN statement?
Answer / kiran
Return statement is used to return to a called module some
thing similar to a GOTO statement,
GOTO Label1:
Label1:
Statement 1;
Statement 2;
RETURN;
Here the RETURN statement helps in branching back to GOTO
label1 statement after performing statements in Label1
| Is This Answer Correct ? | 7 Yes | 0 No |
Can you calculate the mean, median and mode of the following data set using data step logic? Don't use any function or procedure. data a; input age @@; datalines; 22 32 32 32 43 23 24 56 45 54 28 29 27 26 25 28 30 20 18 37 36 47 46 56 19 20 ; run; I have calculated the mean which i have posted in the answer section.
How would you delete duplicate observations?
How we can create SAS USER DEFINED CODE?
How will you generate test data with no input data?
How experienced are you with customized reporting and use of Data _Null_ features?
Mention what are the data types does SAS contain?
Mention sas system options to debug sas macros.
Tell e how how dealt with..
What is the use of function Proc summary?
I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x y /nocum nopercent; run; Here I get nopercent and nocum in the output only for variables x and y. How do i do it for all variables? Deepak
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?