Name statements that are execution only.
Answer Posted / n katepalli
Subsetting IF statement:Stops the current iteration when a
condition is false, does not write the current observation
to the data set, and returns control to the top of the DATA
step.
IF-THEN/ELSE statement :Stops the current iteration when a
conditon is true, writes the current observation to the data
set, and returns control to the top of the DATA step.
DO loops:Cause parts of the DATA step to be executed
multiple times.
LINK and RETURN statements:Alter the flow of control,
execute statements following the label specified, and return
control of the program to the next statement following the
LINK statement.
GO TO statement alters the flow of execution by branching
to the label that is specified in the GO TO statement. SAS
executes subsequent statements then returns control to the
beginning of the DATA step.
_N_ automatic variable in an IF-THEN construct causes parts
of the DATA step to execute only for particular iterations.
SELECT statement:Conditionally executes one of a group of
SAS statements.
OUTPUT statement in an IF-THEN construct:Outputs an
observation before the end of the DATA step, based on a
condition; prevents automatic output at the bottom of the
DATA step.
DELETE statement in an IF-THEN construct:Deletes an
observation based on a condition and causes a return to the
top of the DATA step.
ABORT statement in an IF-THEN construct:Stops execution of
the DATA step and instruct SAS to resume execution with the
next DATA or PROC step. It can also stop executing a SAS
program altogether, depending on the options specified in
the ABORT statement and on the method of operation.
WHERE statement or WHERE= data set option:Causes SAS to read
certain observations based on one or more specified criteria.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
In sas, what are the areas that you are most interested in? : sas-grid-administration
Explain the special input delimiters used in sas programming.
What system options would you use to help debug a macro? : sas-macro
how to debug and test the sas program? : Sas-administrator
AE datasets names? how many types?
How long can a macro variable be? A token? : sas-macro
explain about various caches available in data integrator? : Sas-di
What are the different servers in sas? : sas-grid-administration
How would you define the end of a macro? : sas-macro
What is the difference between INPUT and INFILE ?
what r the job openings SAS for fresher graduates !
describe the interaction table in sas di? : Sas-di
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
Explain what Proc glm does?