Posted By

sarathannapareddy on 04/26/10


sort single and multiple call execute using proc sas Datasets

Versions (?)

CALL EXECUTE: Easy way to print or sort multiple files.

 / Published in: SAS


When printing multiple files, or sorting multiple datasets, the traditional method is to write multiple steps as below.

Proc print; var all; run; Proc print data=libref.conmed; var all; run; Proc print data=libref.demog; var all; run; Proc print data=libref.lab; var all; run; Proc print data=libref.medhist; var all; run; If you are like me who likes to simplify the traditional SAS code here is the tip. CALL EXECUTE comes to rescue here.


Report this snippet  

You need to login to post a comment.