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.
How to run batch sas job in unix sas?
batch jobs;macro