BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I cannot figure out how to reference/include embedded code since I cannot find any paths to the embedded code (and since they are embedded i guess i should not). Is there a way to reference/include embedded code in other embedded code?
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Please help clarify your question regarding your interpretation of "embedded code"?

One SAS technique for refernencing such code is by using a FILENAME declaration with a and then use the %INCLUDE statement. The contents of the included code may be a code snippet, an entire SAS program, or a set (one or more) SAS AUTOCALL macros (okay, also SAS old macro statement definitions too) which are to be invoked within your SAS application.


Scott Barry
SBBWorks, Inc.
deleted_user
Not applicable
when one adds a file to an EG-project one may choose to embed it in the project file (egp). the file is thus a part of the egp and not a file by itself. this is what I meant by embedded code.

what I want is something like
include thisfile.sas which is a part of filename.egp
or
include thisfile.sas which is part of current project

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