Page 88 - SAS_manual
P. 88

RUN;

                                 PROC PRINT DATA=SETRESULT2;

                                 RUN;


                    MEARGE:

               Mearge is used to combine two or more datasets side by side, observation by observation according to
               given by statement.variable must be sorted and common in all datsets.


               IN=VAR:  create  a  new  temoporary  variable  to  keep  track  on  dataset.if  dataset  contribute  in  current
               observation it has value 1 otherwise 0.


               Progran 7.31:










               Output:





























               Program 7.32: Interleaving




                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  88
   83   84   85   86   87   88   89   90   91   92   93