If you have a meta data server environment I strongly advice to upgrade. Then you could use meta bound libraries which can't (by normal users at least) be bypassed. Don't know your requirements but in most cases OS level security is sufficient. Another option would be to move your data to a database that handles authorization.
... View more
Another potential issue is that you are running in a server enviroment and the path "C:\users\chandra..." and the SERVER does not have that path and likely does not see your local drive at all. If this is the case you may need to use a different approach or find a location such as a shared network drive that the server can read from.
... View more
I strongly recommend @Shmuel's first option: create a data set and then print with all of the control that Proc Print or another Report procedure has.
Another option, depending on your actual need from proc means is to use a different report procedure such as proc Report or Tabulate.
And a least favorite option is to modify the template for creating proc means output
... View more
Where do you get the variable names from that doesn't include what data they belong to? I mean you may find them per @PGStats solution, if you have setup libnames to them and they are datasets, however if you don't know your data, then those variables might point to CSV files, or databases or anything.
... View more