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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Mike_Davis
Fluorite | Level 6

Hi Chris,

Does it possible to use  vbscript operate SAS base ?

Thanks!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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