BookmarkSubscribeRSS Feed
SASGeek
Obsidian | Level 7

Hello,

Although I've been using SAS ince 1983 (HELLLOOOOO JCL & TSO), all my SAS PC work has been on the base, one file per program version. I have a new job where the manager insists on having a process for

  1. Libnames
  2. Macro variables
  3. Extractions (data retrieval)
  4. Transformations
  5. Loads or Reports

I understand his approach but what I don't understand is how EG does this. What I mean is do I save each program separately (ie I'll have 4 programs for transformations) or do I save it all under the EG project, or both?

 

In a past employer, we tried to use EG and the projects would corrupt, losing our work.

 

Any guidance is appreciated

 

Thank  you

 

Paula Sims

 

2 REPLIES 2
Reeza
Super User

You save each program separately and then run them in an EG project using a process flow so that they run after each other or an Ordered List.

 

 

 

 

SASKiwi
PROC Star

If you don't like using EG projects then create a SAS "control" program that runs the individual steps using the %INCLUDE statement:

%include "libnames.sas";
%include "macro_variables.sas";
%include "extractions.sas";
%include "transformations.sas";
%include "reports.sas";

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

Register Now

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 679 views
  • 0 likes
  • 3 in conversation