This example shows the
               re-creation of  an index for a SAS data set to be transferred to a
               server session.  
proc upload index=yes in=sales out=sales(index=(region));
run;
 
            The INDEX=YES option
               specifies that an index will be re-created in the server session.
               The INDEX= REGION option causes an index file to be re-created and
               associated with the data set SALES in the server session. The index
               file  identifies all the observations that contain the variable REGION
               and its associated values.
            
 
            If the INDEX= option
               in the OUT= statement had not been specified, an existing index associated
               with the SALES data set in the client session could have been copied
               to the server session.