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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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