Sample Header Ad - 728x90

How to run batch sas job in unix sas?

3 votes
1 answer
5514 views
I have 5 SAS jobs that I need to run sequentially, one after the other. I typically type in nohup sas filename1.sas & in the command line to run and manually check for progress every few hours. If the 1st job is complete and no error, I then type in the 2nd job nohup sas filename2.sas & . Is there a sas code or unix command I can run them sequentially rather than manually checking progress? I thought about using %include statement in a master sas file, however I have many loop macros and do if then macros which throw the %include off I believe. PS. I also need the log and lst file to be printed, typically it's printed for me automatically using the command above.
Asked by SuperKing (81 rep)
Aug 15, 2016, 09:14 PM
Last activity: Jun 5, 2025, 08:02 PM