Page 87 - SAS_manual
P. 87

Note: the statement should be execute for one time otherwise it will be add it for 1 more time.

               The appended dataset will be the !st data set as you mention the datset in base.

               SET:


               Set is used to combine two or more datsets.

                   CONCATENATION

               Combine datsets one below the other.

               SYNTAX:    DATA SETRESULT;


                                 SET TEMP1 TEMP2 TEMP3;

                                 RUN;

                                 PROC PRINT DATA=SETRESULT;

                                 RUN;


                   INTERLEAVING:

               Combine the dataset using a common variable and all data sets must be sorted.

               SYNTAX:    DATA SETRESULT2;

                                 SET TEMP1 TEMP2 TEMP3;

                                 By variable;

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