12-12-2016 10:54 AM
I have a list of dataset name in excel format and wondering is there anyway to read the list to create datasets accordingly?
12-13-2016 03:15 AM
12-12-2016 11:02 AM
Short snarky answer: Yes.
Better would be to provide a small example of the data as text involved and a description of what you are wanting to do with the result.
For example is this a list of data files external to SAS that you want to read into SAS? File structructures and types can make a big difference in how each file is treated if so. Is it a list of SAS data sets that you want to run the same analysis or manipulation on? Again contents will have an impact on how much automation may be practical.
12-12-2016 11:17 AM
my mistaken to miss out the attachment. Attached excel file with a list of the name of datasets.
(The original list contains more than 60 datasets' name)
The mission is to read this excel file then create dataset one by one. Hope someone can provide me a sample code that I can reference. Thanks in advance.
12-12-2016 01:18 PM
Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.
Given the NAME of a file, how do we know what to do with it? Are the files of the same structure and content?