SAS Institute. The Power to Know

Base SAS(R) 9.2 Guide to Information Maps

Previous Page | Next Page

Example: Using the INFOMAPS Procedure and the Information Maps Engine

Step 6: View the Data Items and Filters Using the CONTENTS Procedure

You can view the data items and filters in the new information map that you just created. The following code uses the CONTENTS procedure to display information about the data items:

/* View the data items, including any filters, in the information map. */
proc contents data=HR_Data."Employee Info"n;
run;

Log the CONTENTS Procedure

117  /* View the data items, including any filters, in the information map. */
118  proc contents data=HR_Data."Employee Info"n;
119  run;

NOTE: PROCEDURE CONTENTS used (Total process time):
      real time           0.59 seconds
      cpu time            0.07 seconds

Output from the CONTENTS Procedure

                         The CONTENTS Procedure

Data Set Name        HR_DATA.'Employee Info'n   Observations          .
Member Type          DATA                       Variables             9
Engine               INFOMAPS                   Indexes               0
Created              .                          Observation Length    0
Last Modified        .                          Deleted Observations  0
Protection                                      Compressed            NO
Data Set Type                                   Sorted                NO
Label                                           Filters               4
Data Representation  Default
Encoding             Default

               Alphabetic List of Variables and Attributes

#  Variable               Type  Len  Format     Label

7  Annual Salary          Num     8  DOLLAR12.  Physical column SALARY
5  Dept_code              Char   32
3  Division               Char   40             Physical column DIVISION
9  Enddate                Num     8  DATE9.     Physical column ENDDATE
4  Identification Number  Num     8  SSN11.     Physical column IDNUM
1  Jobcode                Char    8             Physical column JOBCODE
2  Location               Char    8             Physical column LOCATION
8  Monthly Salary         Num     8  DOLLAR12.
6  Title                  Char   20  $F20.      Physical column TITLE

                            Information Maps

                          Filter
 FilterName               Type       FilterDesc

 Status is Current        Unp
 Education and            Unp        Employees in Education
 Publications                        and Publications
 Host Systems             Unp        Employees in Host Systems
 Development                         Development
 Cary HQ                  Unp        Located in Cary, North Carolina HQ

Previous Page | Next Page | Top of Page