BookmarkSubscribeRSS Feed
Hari2
Quartz | Level 8

Hi All,

 

I am new to SAS Automation. in our office, I need to automate SAS Application using Autosys and there are 17 SAS programs . I am not aware of Autosys as well.

 

High level flow:

 - Run step 1&2 and check one of the temporary datasets count should be 0. If count is not 0, then send mail to 'xxx' and proceed.

 - Run Step 3 and Step 4

 - Run Step 5, check log and if one of the temporary data sets(Ex: X) count is not 0 then run a piece of code which updates data in another dataset for the respective ID's that we found in dataset X.

 - Need to Login to Putty and invoke 2 SAS programs and here , we need to wait for process ID and some return files with latest date, till then need to wait. once we see those files(In putty itself) with latest date and Time stamp we can proceed.

-Need to run Step 7 which internally calls another 3 sas programs 8,9 and 10.

-Need to again login to putty and invoke one sas program and wait for one return file with latest date(return file will appear in putty itself). Proceed to next step.

- Run step 11 and 12

 

Thnaks.

 

 

1 REPLY 1
LinusH
Tourmaline | Level 20
ASFAIK there is no direct integration between SAS and Autosys.
For the flow logic: I think that Autosys reacts primarily to executio return codes. So for the logic of no of observations in data sets I suggest that you write this logic in SAS wich set session rc accordingly, and than have Autosys handle the flow logic.
Autosys should also be able to handle file events (your steps 6 and 10.5). Not sure about how the Putty steps fits into the architecture though. Having a skilled Autosys person to talk to would definitely help.
Data never sleeps

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 792 views
  • 1 like
  • 2 in conversation