I have 36 completely independent queries that I need to run on regular databases, which will work much faster if they can run 3 at a time (the database cancels our queries if we try to do more than 3 at a time) instead of each of which awaiting completion of the previous one.
I would like to do something like this
Or, if possible, just pass it 36 queries together and run it at a time, without thinking that you should not have more than three starts at any given time, and at any time, when done, just add the next one from the stack.
Can this be done using SAS?
thank
source
share