On SAS EG, how would you code to allow a program to run and ask a user to select the columns they wish to keep (or delete)? This would be done to filter out a large dataset.
I know you can manually filter and use query builder, I have tried these methods. But I want the code to make the program automated so that the user does not need to do anything themselves aside from select the columns they want to keep (or delete). Also, I can't type in the column options for the user as each inputted dataset running the code could consist of different columns, so the filtration options would be different per user.
Any advice or code would be appreciated!
Isn't that exactly the Query Builder/Filter feature?
You're trying to simplify a GUI tool even further?
Reinventing the wheel is considered stupid.
Somebody who can't be taught to use the query builder won't be able to do anything useful with SAS anyway, for lack of mental resources (politely speaking).
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.