In SAS EG or SAS studio, I can use key Ctrl + I to auto formatter my program. I have two question for it:
1. How can I do this in SAS Base(Display Manager System)?
2. May I process amounts of program files in batches? If so, How?
%include "g:\myfolder\mysubfolder\program1.sas";
%include "g:\myfolder\mysubfolder\program2.sas";
I am very interested in the answer too. My gues sis that it will be in the APIs SAS EG uses. Look at Chris H's articles on Custom EG Tasks, PowerShell automation, C#. It should be in there as a method call.
I would try and find it for you right now but just too many things happening. However, if it was going to be in EG, and accessible, it should be in their dlls and libraries. Hope that is a hint you can use.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.