Hi Sairam,
There is no simple solution to this, well nothing a simple as a wildcard like colon. There are solutions. They would involve macro language. There are various ways to find out what variables are in your dataset but the use of dictionary tables here would be my choice. Using SQL to create a macro variable containg the names of the variables you want to keep.
Here is the code I would use:
proc sql noprint;
select lowcase(name) into: keep_vars
from dictionary.columns
where upcase(memname)="JAN" and upcase(libname)="WORK" and substr(reverse(upcase(name)),1,5)="PMAS_";
quit;
then you can use the keep_vars macro variable in your code to select the variables you want. For example:
proc print data=jan;
var &keep_vars;
run;