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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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