Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If then statement

Status
Not open for further replies.

roland9

Technical User
Feb 8, 2006
17
0
0
US
Hi,

If you want the following output ..
capacity airplanetype staff
150 Large 10

then whats wrong with this code...
data work.test;
capacity = 150;
if 100 le capacity le 200 then
airplanetype = 'Large' and staff = 10;
else airplanetype = 'Small' and staff = 5;
run;

Thanks
 
Sorry just ignore this thread...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top