For what purpose(s) would use the RETURN statement?



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

Post New Answer

More SAS Interview Questions

what is the difference between %put and symbolgen?

6 Answers  


What procedure you used to calculate p-value?

2 Answers   Accenture, Quintiles,


In which case u go for libname and in which case u go for proc sql pass thru facilit diff?

1 Answers  


What is the difference between nodup and nodupkey options?

20 Answers   iFlex, Makro, Talwar,


how to do user inputs and command line arguments in sas?

1 Answers   D&B, TCS,


How to read the file names of a text files from a shared drive using SAS?

1 Answers   HSBC, WNS,


What is the difference between where and if statement?

1 Answers  


How is character variable converted into numeric variable and vice versa?

1 Answers  


How would you remove a format that has been permanently associated with a variable? ________________

5 Answers   Quintiles, TCS,


We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B

3 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

1 Answers   Oracle,


Where do the database management systems store data and how do u import them.

2 Answers   L&T,


Categories