BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am new to Stored Processes. We are trying to convert all .sas programs (reports) into Stored processes.

In our old sas code we are using include to call other code. I am looking for a way to replace the include command by calling a stored process. Is this possible and how.
3 REPLIES 3
deleted_user
Not applicable
I don't believe this is possible in SAS 9.1.x.

A solution around this is to convert your programs into macros and call these macros from your stored processes, thereby enabling calling the code chunks from many stored processes.
deleted_user
Not applicable
I was afraid that is was not possible.

Stored Processes have the advantage that the meta data is stored in the meta data server and you can control who may use the Stored process.

Another advantage is that (we are using Unix) that the Stored Processes places the code on the server with the correct user rights.
Vince_SAS
Rhodochrosite | Level 12
Do you really need to convert all the %INCLUDE code to stored processes? People routinely write stored processes that use %INCLUDE.

Vince DelGobbo
SAS R&D

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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