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

How would you include common or reuse to be processed along with your statements?

0 Answers  


how to generate the test data in sas without input data? : Sas-administrator

0 Answers  


WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS FUNCTION?

3 Answers   IBM, Zensar,


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

0 Answers  


what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?

36 Answers   Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,






In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


SAS System ?

5 Answers  


What is the difference between the proc sql and data step?

0 Answers  


What are the scrubbing procedures in sas?

0 Answers  


what is enterprise guide? What is the use of it? : Sas programming

0 Answers  


I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.

1 Answers  


What are the data types in sas?

0 Answers  


Categories