I am trying to figure out what I am doing wrong when trying to add a comment. Here is the code i am running.. data tour1; input Country $ 1-11 Nights AirCost LandCost Vendor $; totalCost= airCost + landCost; peakAir= ( airCost * 1.10) + 8; nightCost= landCost / nights; if country = 'Greece' then NewtotalCost = (totalCost * 0.02) + 748 and comment 'sell out fast'; cards; Japan 8 982 1020 Express Greece 12 585 748 Express New Zealand 16 1368 1539 Southsea Ireland 7 787 628 Express Venezuela 9 426 505 Mundial Italy 8 852 598 Express Russia 14 1106 1024 A-B-C Switzerland 9 816 834 Tour2000 Australia 12 1299 1169 Southsea Brazil 8 682 610 Almeida ; run; proc print data=tour1; title 'MAD Echo Print Tour Data'; run; and here is the error message I am receiving. 22 ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, LE, LT, MAX, MIN, NE, NG, NL, OR, ^=, |, ||, ~=. Please help
... View more