Hi KSharp-- Thanks again. I do have one more question. I want to try and use Proc SQL as oppssed to the Data Step to make the final organized data steps. Its easier when outputting to spreadsheets. I got an error message I don't understand. Proc SQL; Create table FINAL as select Quest_, Case_Number, Case_FirstName, Case_FirstName, &list1, Agency_Name, &list2, cra5, program_name, cra14, &list3 from work.want; quit; NOTE: Line generated by the macro variable "LIST1". 1 cra52a1 cra52a_1 cra52a_2 cra52a_3 cra52a_4 cra52a_5 cra52a_6 cra52a_7 cra52a_8 -------- 22 76 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &, (, *, **, +, ',', -, '.', /, <, <=, <>, =, >, >=, ?, AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT, FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE, LEN, LENGTH, LET, LIKE, LT, LTT, NE, NET, NOT, NOTIN, OR, TRANSCODE, ^, ^=, |, ||, ~, ~=.
... View more