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

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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