Hi there
I wondered if anyone knows how to sort and veiw all outputs datasets in SAS EG? If the outputs are sorted in alphabetic order, it will be much easier to find the data output to review result.
Any suggestions?
Thanks
Sue
Two quick comments:
In my experience, they are sorted by the order in which they're created. BUT, if you run multiple times, and change the code to add or not create datasets, it will generally sort of keep the datasets that were created on the last run ahead of the datasets that are new to this run. One solution is to delete the datasets from your workspace before running code...then you'll get a nice set in the correct sequence.
Once I've tested code, it's rare that I want to see all of the datasets that I've created. So as a last step in the code I delete all of the datasets that I don't need...then the list contains only the remaining datasets.
Tom
You could use the Filter and Sort task to order your data in the way you like it.
The task is also available directly from the opened data grid.
Thanks Patrick, but that is not what I was asking.
in the Options setting, Maximum number of output data sets is set to 50, that means there will be loads of datasets can be viewed from the drop down list. My question is how to set those files sorted by their name other than random order (I guess they were listed by the time they were created or last updated?). If they are sorted by name, it is easier to find the one when needed.
Thanks again for looking into the solutions.
Two quick comments:
In my experience, they are sorted by the order in which they're created. BUT, if you run multiple times, and change the code to add or not create datasets, it will generally sort of keep the datasets that were created on the last run ahead of the datasets that are new to this run. One solution is to delete the datasets from your workspace before running code...then you'll get a nice set in the correct sequence.
Once I've tested code, it's rare that I want to see all of the datasets that I've created. So as a last step in the code I delete all of the datasets that I don't need...then the list contains only the remaining datasets.
Tom
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.