C IF X = 1
C EXSR SR01
C EXSR SR01
C ELSEIF X = 2
C EXSR SR02
C ELSEIF X = 3
C EXSR SR01 Noncompliant; duplicates first condition
C EXSR SR01
C ENDIF
select;
when i = 1;
doFirst();
doSomething();
when i = 2;
doSomethingDifferent();
when i = 3: // Noncompliant; duplicates first when's implementation
doFirst();
doSomething();
endsl;
if (a >= 0 and a < 10);
doFirst();
doTheThing();
elseif (a >= 10 and a < 20);
doTheOtherThing();
elseif (a >= 20 and a < 50);
doFirst(); // Noncompliant; duplicates first condition
doTheThing();
else;
doTheRest();
endif;