BookmarkSubscribeRSS Feed
Mike_Davis
Fluorite | Level 6


Hello everyone,

If I  have several fixed sas code need to run one by one everyday,Is this a good time to create a stored process ?

and how to create this in SAS base?and in  EG?

Thanks

4 REPLIES 4
Mike_Davis
Fluorite | Level 6

Thanks.

shivas
Pyrite | Level 9

Hi Mike,

Check this link for creating SP using EG.

https://communities.sas.com/message/127137#127137

From Base SAS if you want to create then you need to use

*ProcessBody;

%stpbegin;

%stpend;

Thanks,

Shiva

ChrisHemedinger
Community Manager

A stored process is a SAS program that:

- is stored in a central location

- is registered in the SAS metadata environment (SAS Folders)

- may contain prompts that allow user input into the program

- can be secured with permissions, allowing only certain people to run it

If that's what you need, then you might want to check out Business Intelligence Notes for more tips.

If you have just a collection of SAS programs that you want to run in batch from your SAS Enterprise Guide environment, check out:

http://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch...

And perhaps:

http://blogs.sas.com/content/sasdummy/2012/04/17/doing-more-with-sas-enterprise-guide-automation/

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
Mike_Davis
Fluorite | Level 6

Hi Chris,

Does it possible to use  vbscript operate SAS base ?

Thanks!

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