BookmarkSubscribeRSS Feed
tejeshwar
Calcite | Level 5
I have 4 sas codes that I want to run simultaneously and not "sequentially" through SAS.If I use %include in a session, it would run these 4 codes one after the other.

Is there a way with %include that we would be able to run all these 4 codes simultaneously?
Thanks
4 REPLIES 4
Olivier
Pyrite | Level 9
If you have licence for SAS/CONNECT, you can run 4 jobs simultaneously using the MP-connect facility.
See http://support.sas.com/documentation/cdl/en/connref/59593/HTML/default/a001249955.htm for details.

Regards.
Olivier
tejeshwar
Calcite | Level 5
Thanks for Replying,

I have licence to "SAS/CONNECT", i tried the below but still getting an error.

option autosignon=yes;
option sascmd="!sascmd";

rsubmit process=task1 wait=no;

Some code.........

endrsubmit;

rsubmit process=task2 wait=no;

Some Code.....

endrsubmit;

Below is the error I am getting in the log

ERROR: A communication subsystem partner link setup request failure has occurred.
ERROR: SAS did not start properly. Please insure that your sascmd value does not attempt to run SAS
in the background.
ERROR: Remote submit to TASK1 cancelled.

ERROR: A communication subsystem partner link setup request failure has occurred.
ERROR: SAS did not start properly. Please insure that your sascmd value does not attempt to run SAS
in the background.
ERROR: Remote submit to TASK2 cancelled.
Olivier
Pyrite | Level 9
Hello.
You will find a SAS Note about this error and the way to correct it.
http://support.sas.com/kb/11/892.html

Regards.
Olivier
tejeshwar
Calcite | Level 5
Thanks Olivier,

I have a fair bit of idea now, however the solution suggested online on the above link doesnt gives a step-by-step information, planning to raise a ticket online with SAS.

Thanks for replying:)

Tejeshwar

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 4 replies
  • 1134 views
  • 0 likes
  • 2 in conversation