Hello all,
I imported an excel file and then built a process flow base on that excel file (add query builders, program, etc).
Now I would like to replace the original excel file with a new excel file that has the same variables, but different observations.
Can I connect the new excel file to the process flow (replace the former excel file with the new one), so I would not have to build the process flow all over again?
Thanks in advance,
Lior
You should be able to modify the filename in the Import node, but leave the target dataset name unchanged.
But there is the usual caveat when using Excel files: changes in data can cause changes in structure (variable type and attributes). For a consistent process, use a different file format (csv), the Copy Files task, and a manually written data step.
You should be able to modify the filename in the Import node, but leave the target dataset name unchanged.
But there is the usual caveat when using Excel files: changes in data can cause changes in structure (variable type and attributes). For a consistent process, use a different file format (csv), the Copy Files task, and a manually written data step.
Hi Kurt,
Thank you for your answer. Actually, I found another (less elegant) solution: I copy the new data into the original source data (copy from the new excel file to the original excel file) and the SAS automatically updates the data. but I will try your suggestion as well.
Thank you,
Lior
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.