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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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