Chapter Contents

Previous

Next
The DATASETS Procedure

Example 4: Describing a SAS Data Set


Procedure features:
CONTENTS statement option:
DATA=
Other features:
SAS data set option:
READ=

This example shows the output from the CONTENTS statement for the GROUP data set. The output shows the modifications made to the GROUP data set in Modifying SAS Data Sets .


Program

options pagesize=40 linesize=132 nodate pageno=1;
libname health 'SAS-data-library';
 Note about code
proc datasets library=health nolist;


 Note about code
   contents data=group(read=green) out=grpout;
   title  'The Contents of the GROUP Data Set';
run;


Output
(UNIX Environment) [HTML Output]
 [Listing Output]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.