SAS data step code makes it easy to reference name prefix lists (e.g. all variables starting with q_) but unfortunately not what you're describing with a common suffix. In order to do that, I would write some SAS code to create a list of variable names as the value for a macro variable, then reference that macro variable in data step code similar to what Cynthia showed above.
Run the following code, then use the final data step shown by Cynthia. However, in that code, replace _numeric_ on the ARRAY statement with &qlist (the name of the macro variable we created). That should do the trick.
/* Create test data set */
data work.test1;
set sashelp.class;
if mod(_N_,2) = 1 then height=.;
/* Every second height missing */
if mod(_N_,5) = 1 then age=.;
/* Every fifth age missing */
rename height=height_q age=age_q;
run;
proc sql noprint;
select name
into : qlist separated by ", "
from dictionary.columns
where libname="WORK"
and memname="TEST1"
and upcase(name) like '%_Q';
quit;
%put &qlist;