BookmarkSubscribeRSS Feed
LineMoon
Lapis Lazuli | Level 10

Hello,

1) If I want to run more than sas programs or macro in parallel

 

ex:

%marco test1;

data one;

v=2;

run;

%ment test1;

 

%marco test2;

data one;

w=2;

run;

%ment test2;

 

2) unzip in parallel so many file 

If I want to unzip R1.zip, R2.zip,.............Rn.zip

Thank you

 

 

 

3 REPLIES 3
LinusH
Tourmaline | Level 20
Two options:

If you got SAS/CONNECT licensed use the MP CONNECT facility.

Otherwise, run them in parallel in the background /batch from os shell/prompt.
Data never sleeps
LineMoon
Lapis Lazuli | Level 10

Thank you

I can try this one

"run  in parallel in the background /batch from os shell/prompt."

But , If i have a hundrerd of programs, I need so many sessions and works ?

Thank you.

 

LinusH
Tourmaline | Level 20
That's normal scheduling planning. Find how much resources each job requires and calculate how many parallel jobs you can have. You probably need to run sequential as well.
If this a daily job you might want to look at a professional scheduler that automatically submits jobs when there are available resources.
Data never sleeps

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
  • 1446 views
  • 1 like
  • 2 in conversation