SAS Proc Contents

SAS day 51: Proc Contents

Background story:

One day, we need to search for a particular variable from 90 datasets. It would be a mission possible without Yajnes's trick of Proc Contents.

[caption id="attachment_2970" align="alignnone" width="500"]
image

Free-Photos / Pixabay[/caption]

Code:

proc contents data=adam._all_;
run;

Note: the all option would print out the contents of all the datasets.Then we can use the search option to locate the exact dataset.

Thanks, Yajnes so much for willing to share this little trick with me!

Happy SAS Coding!

你可能感兴趣的:(SAS Proc Contents)