113 reputation
4
bio website
location Chicago, IL
age 25
visits member for 1 year, 6 months
seen May 15 at 14:44

Jan
10
awarded  Scholar
Jan
10
accepted scheduling background tasks in succession
Jan
10
comment scheduling background tasks in succession
(+1) Thanks for the response and link.
Jan
10
comment scheduling background tasks in succession
(+1) for a nice answer that points out logical flaws.
Jan
10
awarded  Student
Jan
10
awarded  Supporter
Jan
10
comment scheduling background tasks in succession
@dchirikov That's currently how I'm looking up the process IDs. I'd like to pass the process ID as an argument to the wait command as part of my script. The question is: If possible, how can I write a statement to grab the process ID and pass it as an argument to the wait command?
Jan
10
comment scheduling background tasks in succession
@dchirikov It appears that by removing the ampersands, the sas programs no longer run in the background.
Jan
10
comment scheduling background tasks in succession
@dchirikov That's... surprisingly simple. By removing the ampersand from the sas ... & statements, the process will still run in the background and later commands won't execute until prior ones and background processes have completed? No, this is not bash.
Jan
10
awarded  Editor
Jan
10
revised scheduling background tasks in succession
added 130 characters in body
Jan
10
comment scheduling background tasks in succession
@jordanm And now that I'm re-reading my post, I realize I started off with "My main problem ..." and didn't actually mention what I'm interested in until the end, so I'll edit the post.
Jan
10
comment scheduling background tasks in succession
@jordanm That's definitely an option, though that's really too problem specific. I provided the context for my problem because that's good practice and respectful to the community. However, my statement about somehow grabbing the process ID and passing it to the wait command is what I'm actually interested in answering.
Jan
10
asked scheduling background tasks in succession