05-11-2016 12:45 PM - edited 05-11-2016 01:18 PM
I know how to embed individual SAS code links in SEG. Is there a way to tell SEG to embed all SAS code at once?
Conversely, is there a way to Save As all embeded SAS code into separate SAS code snippets? I know I can save the entire SEG project as one giant SAS code module and I can save each code module as a SAS code. But can I point SEG to a folder (in my case it's Windows) and have it use the existing module names to create separate SAS code files with *.sas extensions?
What I am trying to do is to import multiple SAS programs into SEG. These are all parts of the code system used to run annual reports. I need to make changes to those modules, run the new report based on the previous report's code and then save the updated code to a new location preserving the structure of the previous report. I really don't want to merge all those multiple SAS code modules into a single giant SAS code module.
Also, I thought there was an OPTION for changing what happens when SAS code is opened in SEG. By default, external SAS code is linked. I thought I remembered an option to automatically embed rather than link the code. Can's seem to find that option in SEG 7.11. Am I imagning things?
Thanks in advance.
05-11-2016 12:52 PM
It sounds like the tool you are looking for is %INCLUDE:
Any of the files can be updated, and the same project then would %INCLUDE the updated code.
05-11-2016 01:00 PM