It looks like your program is using a macro loop to run simulations. You might want to read this article on techniques for performing efficient simulations in SAS: Simulation in SAS
I wish I could use BY processing. However, the EM algorithm is iterative and switches between PROC IML and many datastep. Each simulation requires a different number of iterations. I'm not using any PROCs that utilize BY processing.
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.