Below is a collection of Proc Datasets papers used to perform operations on datasets such as coping, appending or displaying contents.  Another similar procedure is PROC COPY.  See also Proc SQL.

General Syntax 
proc datasets library=compat;
 change old=new;               /* rename dataset to new */
 delete members;               /* delete one or more datasets */
 append data= out= force;      /* similar to proc append */
 contents data=;               /* similar to proc contents */
 modify member (dataset)       /* similat to DATA Step */
 rename old=new;               /* rename variable to new */
 label variable='string';      /* assign label */
 informat variables informat;  /* assign informats */

 format variable format;       /* assign formats */#@#_WA_-_CURSOR_-_POINT_#@#run;



SAS® Reference Proc Datasets Syntax

1. PROC DATASETS: Managing Data Efficiently, Daphne Ewing

2. PROC DATASETS; The Swiss Army Knife of SAS® Procedures, Michael Raithel [Append]

3. An Introduction to the Mighty DATASETS Procedure, Ben Cochran

4. Optimize Your Delete, Brad Richardson

Powered by Wild Apricot Membership Software