04-03-2018 09:16 AM
I have this data set and I need to hide or delete the variables row in data step or proc report
my current data set
my desire data set
04-03-2018 09:41 AM
You can only hide column names or labels in output files. Datasets when viewed in SAS always have names, and also possibly labels. Hiding names/labels isn't straight forward in output either. What is your output destination? The simplest method I can think of is that you dump the data out as plain text:
data _null_; set have; file "want.txt"; put obs vname vvalue; run;
Without specifying what you want further (i.e. be specific, e.g. my rtf file should show this data formatted without variable names/labels) its quite hard to say.
04-03-2018 10:36 AM
A SAS program is not a destination. Saved files such as text files, CSV, Excel, RTF etc. are destinations. Datasets are datasets. SAS programs are text files which get compiled into computer runnable code. Post examples of what you mean, test data etc. so we can see.