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
What is connection profile? : sas-grid-administration
Explain the difference between informat and format with an example.
Give e an example of..
which date functions advances a date time or date/time value by a given interval? : Sas programming
Hi, If anyone has base SAS certification dumps, please share.
What is the use of divide function?
What sas features do you use to check errors and data validation?
what is enterprise guide? What is the use of it? : Sas programming
Explain how you can debug and test your SAS program?
what is operational data and operational system? : Sas-di
What is the difference between %put and symbolgen? : sas-macro
why is sas considered self-documenting? : Sas programming
How sas treats the dsd delimiters?
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?