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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1027 views
  • 1 like
  • 2 in conversation