As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


DATASETS procedure

From sasCommunity
Jump to: navigation, search
This is a work in progress. Please contribute to this article.

The DATASETS procedure is a multi-purpose procedure that can be used to manage SAS datasets.

Syntax

PROC DATASETS <options> ;
<Zero or more DATASETS procedure statements> ;
QUIT ;

Example: Library Contents

proc datasets lib=WORK;
    contents;
quit;

For more examples, see [1].

Usage notes

CONTENTS procedure

The CONTENTS procedure can be used instead of the DATASETS procedure's CONTENTS statement.

DELETE procedure

The DELETE procedure can be used instead of the DATASETS procedure's DELETE statement.

See also