06-05-2017 04:21 AM
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
06-05-2017 10:45 AM