where variables = 'Age' and 'Hispanic' and 'Race';
should be
where variables = 'Age' or variables= 'Hispanic' or variables = 'Race';
but a few things don't really make sense here:
you have a SAS variable named "Variables"? Or is the actual variable name something different?
you have a single variable whose values include "Age", "Male", "Race", "Hispanic", this doesn't make any sense at all. If the variable had values "Hispanic", "Caucasian", "Asian" etc., that makes sense to be in a single variable. As soon as you put "Hispanic" in a variable with "Age", it doesn't make any sense.
... View more