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 7: Print the Data from the Information Map

You can use the PRINT procedure to print all of the data that the information map contains. If the information map contains any filters, they can be used to restrict the amount of returned data. For the purpose of this example, only the first five observations are selected.

The following code uses the PRINT procedure to display information about the data items:

/* Print five observations from the data that the information map references. */
proc print data=HR_Data."Employee Info"n (obs=5);
run;

Log for the PRINT Procedure

121  /* Print five observations from the data that the information map references. */
122  proc print data=HR_Data."Employee Info"n (obs=5);
123  run;

NOTE: There were 5 observations read from the data set
      HR_DATA.'Employee Info'n.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.87 seconds
      cpu time            0.35 seconds

Output from the PRINT Procedure

                             The SAS System                            

                                                 Identification  Dept_
      Obs  Jobcode  Location  Division               Number      code

        1  FAC011     Cary    FACILITIES          333-88-1850     FAC
        2  TS0007     Cary    TECHNICAL SUPPORT   333-88-7366     TS0
        3  SAM009     Cary    SALES & MARKETING   301-97-8691     SAM
        4  ACT001     Cary    FINANCE             333-44-5555     ACT
        5  VID001     Cary    VIDEO               333-78-0101     VID

                                       Annual       Monthly
      Obs  Title                       Salary        Salary    Enddate

        1  LANDSCAPING SUPV           $28,000        $2,333          .
        2  TECH SUP ANALYST II        $32,000        $2,667          .
        3  MARKETING ANALYST          $52,000        $4,333          .
        4  TAX ACCOUNTANT I           $37,000        $3,083          .
        5  VIDEO PRODUCER             $25,400        $2,117          .

Previous Page | Next Page | Top of Page