Is there a way to specify the variables NOT to print in a PROC PRINT?
In other words, syntax that will print all variables except for the ones specified.
Thanks.
Use the DROP= data set option.
proc print data=have(drop=var1 var2 var19);
run;
Use the DROP= data set option.
proc print data=have(drop=var1 var2 var19);
run;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.