BookmarkSubscribeRSS Feed
ucvikas
Obsidian | Level 7

My requirement is to execute tasks or program in parallel using SAS EG 4.3 ; I know one way i.e by using or creating logical workspace servers but somehow I do not like it as it requires manually creating them in SMC and then changing the servers in tasks manually.

Is there any way where we can write small code which can execute tasks or/and program from the same SAS EG project by launching multiple SAS sessions?

I read on SAS web that there are some exciting feature in this regard in SAS EG 5.1 but for now I do not plan for upgrade. so any solution for 4.3.

1 REPLY 1
AhmedAl_Attar
Ammonite | Level 13

If your Workspace Server has SAS/CONNECT licensed, the you may try wrapping your Tasks code and/or programs with MP Connect blocks. Template for Signing on Multiple Times to the Same Machine

The idea here, is you launch Single SAS session, but in turn, this session launches additional sessions on your behalf.

Note: This is fully custom and may not work automatically for adhock tasks and programs! You may need to tinker with EG options to add custom code before and after the Tasks and programs code.

Hope this helps,

Ahmed

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1644 views
  • 0 likes
  • 2 in conversation