BookmarkSubscribeRSS Feed
RameshReddy
Calcite | Level 5

Dear Team,

Kindly any one help me out how to schedule diffrent  stored process in one job..? below find my query

I have created one  DAILY job in that i want execute my all daily reports wich are in the diffrent stored process i have already craeted...any idea how to do this........?

thanks in advance,

RAMESH REDDY

1 REPLY 1
milts
Pyrite | Level 9

Hi Ramesh,

How about including the other stored processes in the daily job?

Inside the .sas of your daily job, add %include statements at the bottom depending on the order of your choice.

ex.

%include "<path of .sas>\my_next_job.sas";

%include "<path of .sas>\my_next_job_again.sas";

But if you want to have some error handlings, in case a job fails, you'll have to create a control table and other stuffs for that.

Hope this helps.

Milton

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1086 views
  • 0 likes
  • 2 in conversation