I hope that someone can help me; and it's probably so simple, I'm missing it. I want to specify a number of CPUs, and loop through them, forcing a program to run in each. Let me try to explain. Let me way that I have 12 CPUS (this is true, it's a main frame). And I want to equally run the programs in each 6 of the CPUs (say 4-9). So it I have 18 programs, and I want to run 3 in each of the above cpus (4-9). How can I loop through these CPUS several times in CODE and assign the programs to each CPU?
Like I said, that it's probably do simple that I'm missing it. The problem is that once I it (in this example), CPU 9, I need to reset the CPU number back to 4, and start all over again. The code to spawn the programs isn't the issue, it's just the looping. I've been working on this for awhile, and I'm tired. With my luck, I will come too me in the morning. But I wanted to ask for help.:mrgreen: :mrgreen: