We were all newbie's once. For me, that was a very long time ago.... You had a mix of data programming and the procedure statements that were causing headaches. That sort of DATA step can be very efficient, but has challenges. I saw the missing DO immediately, but had forgotten the need for commas until I saw the next round of errors. Then, there was FREQ (vs WEIGHT) for count data. I dropped the PLOT statement because SAS 9.3 provides very nice statistical graphics by default. Doc Muhlbaier Duke
... View more