BookmarkSubscribeRSS Feed
Chopki
Calcite | Level 5

Hi

I'm very new to SAS programmming so I will attempt to explain this as best I can.  

 

I need a small piece of code that will check the system time whilst not being signed into the SAS grid.  Once that time criteria has been met I need to then sign on to the SAS grid (version 9.2).  Once signed on I need to be able to run a simple "%include" line of code which I already have created.   Once that has been accomplished I then need to sign out of the grid.  

 

Many thanks in advance.

1 REPLY 1
SASKiwi
PROC Star

What you have described is running a SAS job automatically at a given time. This is called scheduling and there are any number of scheduling tools available that will do this without you scripting anything. Talk to your SAS admin about your requirement. They could well be scheduling SAS jobs already.  

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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