BookmarkSubscribeRSS Feed
LineMoon
Lapis Lazuli | Level 10

I want to run more than one sas program on one sas entreprise guid.

But it does not work ?

Please, do you have any solution

3 REPLIES 3
Patrick
Opal | Level 21

You need either to start SAS EG multiple times or you need to store your program in an external file and then batch submit it from SAS EG using SYSTASK with

NOWAIT SAS(R) 9.4 Companion for UNIX Environments, Fourth Edition

What also would work with SAS/Connect is to wrap your code in rsubmit blocks (with noxwait) - but this needs like SYSTASK additional coding to make it work.

We're still dreaming of getting a "batch submit" button in SAS EG but such a feature hasn't been added yet. Vote it up: Add BATCH SUBMIT button to EG | Communities on SAS

SASKiwi
PROC Star

EG does not currently support running more than one SAS program simultaneously. It is possible to queue multiple programs to run, but they will run one after the other in the order you selected them.

In addition to Patrick's suggestions, If SAS is installed on your desktop, not just EG, then it is possible via SAS's Display Manager interface, SAS/CONNECT and using asynchronous remote submits to a SAS server.

ChrisHemedinger
Community Manager

If you have multiple workspace sessions, you can run multiple programs simultaneously.  I described these steps in a blog post about "multitasking" in SAS Enterprise Guide.

Also, you can enable "parallel execution" on a single workspace definition -- EG will spawn multiple sessions to submit jobs in parallel.  To enable, select File->Project Properties, then the Code Submission tab.  There is a checkbox to enable this per project.

parallel.jpg

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 1153 views
  • 1 like
  • 4 in conversation