BookmarkSubscribeRSS Feed
sasprofile
Quartz | Level 8

Hi all,


I am trying to get sas program code from Enterprise Guide .egp project,How can I do that ?I have used in EG the Export methods "Export all code in Project" and "Export all code in process flow",but its not giving me complete sas program.some of the code is missing,lets say the actual code has like 10 proc sql's then after exporting i can see only 2 proc sql's in the code.


and I tried a method someone has suggested in the internet,change egp project
.egp extension to .zip and unzip it then you will get the code in the folder.

I tried this method with a sample program,its working.but when i tried with actual project,I could not find any code after unzipping in the folders.

does anyone has any any idea how can I get complete sas program code from the EG project.
I would really appreciate all valuable suggestions.


Thank you

1 REPLY 1
ChrisHemedinger
Community Manager

You could accomplish this with the automation API and scripting.  See this sasCommunity article and specifically this VB Script example.

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 4600 views
  • 0 likes
  • 2 in conversation