The document discusses various statements that can be used in the PROC DATASETS procedure in SAS. The KILL statement deletes all data sets within a specified library. The CONTENTS statement provides information about the variables within a SAS library. The APPEND statement combines two datasets, adding the data from one dataset to another. The DELETE statement removes a specified dataset. The MODIFY statement modifies attributes of a dataset like the label. The LABEL statement changes or adds variable labels. The RENAME statement renames variables and changes associated labels and indexes.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
52 views1 page
Proc Datasets
The document discusses various statements that can be used in the PROC DATASETS procedure in SAS. The KILL statement deletes all data sets within a specified library. The CONTENTS statement provides information about the variables within a SAS library. The APPEND statement combines two datasets, adding the data from one dataset to another. The DELETE statement removes a specified dataset. The MODIFY statement modifies attributes of a dataset like the label. The LABEL statement changes or adds variable labels. The RENAME statement renames variables and changes associated labels and indexes.
KILL deletes all data sets within a library automatically. The general form is: proc datasets library=mylib memtype=data kill; Caution: KILL executes immediately before the DATASETS procedure completes processing
THE CONTENTS STATEMENT
The CONTENTS statement acts the same as the CONTENTS procedure. This statement gives you information about the variables within a SAS library proc datasets library=mylib memtype=data; contents data=securedloans; run; quit;
THE STEP BY STEP GUIDE FOR SUCCESSFUL IMPLEMENTATION OF DATA LAKE-LAKEHOUSE-DATA WAREHOUSE: "THE STEP BY STEP GUIDE FOR SUCCESSFUL IMPLEMENTATION OF DATA LAKE-LAKEHOUSE-DATA WAREHOUSE"