Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Applying SAS Parallel- Processing Feature Berwick Chan, Kaiser Permanente Vaccine Study Center NCAL Division of Research For BASAS.

Similar presentations


Presentation on theme: "1 Applying SAS Parallel- Processing Feature Berwick Chan, Kaiser Permanente Vaccine Study Center NCAL Division of Research For BASAS."— Presentation transcript:

1 1 Applying SAS Parallel- Processing Feature Berwick Chan, berwick.chan@kp.org Kaiser Permanente Vaccine Study Center NCAL Division of Research For BASAS May 2014 meeting

2 2 SAS Step-by-Step Sequential Processing Flow SAS starts Task 1 Task 2 SAS ends Execution Time X seconds y seconds Total: (x+y) seconds Applying SAS Paralle Processing Feature - B. Chan

3 3 SAS Parallel Processing Flow SAS starts SAS ends SAS starts Task 1 SAS ends Execution Time Task 2 Task1Task 2 x sec y sec Total exec time: max(x,y) sec Applying SAS Paralle Processing Feature - B. Chan

4 4 Ideal Tasks For Parallel Processing Independent tasks that run on the same server. For example, sorting 2+ huge SAS tables Independent tasks that run on different servers. For example, reading Oracle/DB2/Teradata tables simultaneously Linking standalone SAS programs together with a set of user-defined condition. (Production job setting) Applying SAS Paralle Processing Feature - B. Chan

5 5 SAS Code Samples Basic MP-Connect program structure Sorting two tables concurrently Sending two passthru sql to different servers concurrently Applying SAS Paralle Processing Feature - B. Chan

6 6 More SAS Code Samples Linking/Running independent SAS programs with controls such as: Be able to communicate among independent programs Be able to check status of individual program Be able to define logic to determine program flow on the fly, for example, if anyone of the independent programs yields non zero return code then abort the entire program Applying SAS Paralle Processing Feature - B. Chan

7 7 More About MP-Connect Useful links: http://support.sas.com/onlinedoc/913/getDoc/en/connref.hlp/connrefwhatsnew900.htm http://support.sas.com/rnd/scalability/tricks/connect.html http://www2.sas.com/proceedings/sugi28/279-28.pdf Applying SAS Paralle Processing Feature - B. Chan


Download ppt "1 Applying SAS Parallel- Processing Feature Berwick Chan, Kaiser Permanente Vaccine Study Center NCAL Division of Research For BASAS."

Similar presentations


Ads by Google