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

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 4143 views
  • 0 likes
  • 2 in conversation