0% found this document useful (0 votes)
15 views2 pages

S.N - Statement Type & Description

Decision making structures in programming specify conditions to be evaluated, along with statements to execute if conditions are true or false. SAS provides several types of decision making statements including: IF statements which execute data fetching if a condition is true, IF-THEN-ELSE statements which execute a block if false after IF is evaluated, IF-THEN-ELSE-IF statements which allow additional IF-THEN blocks if preceding conditions are false, and IF-THEN-DELETE statements which delete data if a condition is true.

Uploaded by

prakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

S.N - Statement Type & Description

Decision making structures in programming specify conditions to be evaluated, along with statements to execute if conditions are true or false. SAS provides several types of decision making statements including: IF statements which execute data fetching if a condition is true, IF-THEN-ELSE statements which execute a block if false after IF is evaluated, IF-THEN-ELSE-IF statements which allow additional IF-THEN blocks if preceding conditions are false, and IF-THEN-DELETE statements which delete data if a condition is true.

Uploaded by

prakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Decision making structures require the programmer to specify one or

more conditions to be evaluated or tested by the program, along with a


statement or statements to be executed if the condition is determined to
be true, and optionally, other statements to be executed if the condition
is determined to be false.
Following is the general form of a typical decision making structure found
in most of the programming languages:

SAS provides following types of decision making statements. Click the


following links to check their detail.
S.N
.

Statement Type & Description

1.

IF Statement.
An if statement consists of a condition. If the condition is true then the
specific data is fetched.

2.

IF-THEN-ELSE Statement.
An if statement followed by else statement, which executes when the
boolean condition is false.

3.

IF-THEN-ELSE-IF Statement.
An if statement followed by else statement, which is again followed by
another pair of IF-THEN Statement.

4.

IF-THEN-DELETE Statement.

An if statement consists of acondition, which when true deletes the specific


data from the observations.

You might also like