BookmarkSubscribeRSS Feed
ChrisHemedinger
Community Manager
Links to the webinar recording, Q&A summary, and other related information are now available here:

http://support.sas.com/documentation/onlinedoc/guide/sasegforprogrammers.htm

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
2 REPLIES 2
charles_s_patridge
Calcite | Level 5
Chris,

I did view the webinar and had several questions which did not get answered.

1. I have written SAS programs that help document a SAS application - it reads all the variables from a SAS Library and then goes through all the SAS programs and finds their respective locations mentioned in the program and creates a SAS dataset that helps document the application as well as assists in troubleshooting the application when there are problems and/or questions.

Is there an easy way to read EGP files like it is when you have SAS programs filed in a directory? I really do not want to go into every project and then export the code to an external file just to document the application.

2. We are all knowledgeable about chaining a series of SAS programs using the "%INCLUDE" statements for running a group of SAS programs in BATCH. Is there a way to chain EGP projects in a similiar fashion? That is, we may have independent EGP projects that do a specific task / application but would like to chain a number of these tasks such that run all together in a sequencial manner AND in BATCH?

Thanks in advance,
Charles Patridge
Chares_S_Patridge at prodigy dot net
RichardH_sas
SAS Employee
Hi Charles,

A few thoughts from me; Chris may have more to add.

1. An EG project is actually a ZIP file underneath it all. You could extract the underlying code by renaming the file with a .zip extension (I'd probably create a backup copy first!), unzipping it, then accessing the code in separate folders. I don't know if this is more automated than doing an Export all code manually. More details on the zip file details here: http://support.sas.com/kb/18/414.html

2. I don't know of a specific way to chain multiple projects together. You can always create code templates from the tasks in question, save the code files, and then use %include on the code. You can also create multiple process flows and ordered lists as a way within a single project to easily control what executes. Usually, %include statements are used to either submit code at the beginning of using SAS or to bring in a specific chunk of pre-written code when needed. You can tackle the "code at the beginning" part in EG 4.2 by using Tools / Options / SAS Programs / Submit SAS code when server is connected. Bringing in a specific chunk or pre-written code can be applied to tasks as previously mentioned by creating code templates from those and saving the code.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 2 replies
  • 724 views
  • 0 likes
  • 3 in conversation