Chapter Contents

Previous

Next
SAS/ACCESS Interface to ADABAS Software

Charting Data

CHART procedure programs work with data described by view descriptors just as they do with other SAS data sets. The following examples use the view descriptor VLIB.ALLORDR to create a vertical bar chart of the number of orders per product.

proc chart data=vlib.allordr;
   vbar stocknum;
   title "Data Described by VLIB.ALLORDR";
run;

VLIB.ALLORDR accesses data from the NATURAL DDM named ORDER. Vertical Bar Chart Showing Number of Orders per Product shows the output for this example. STOCKNUM represents each product; the number of orders for each product is represented by the height of the bar.

Vertical Bar Chart Showing Number of Orders per Product
                         Data Described by VLIB.ALLORDR                        

 Frequency

 8 +     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
 7 +     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
   |     *****     *****                                   *****     *****
 6 +     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
 5 +     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
 4 +     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
 3 +     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
   |     *****     *****     *****                         *****     *****
 2 +     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
 1 +     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   |     *****     *****     *****     *****               *****     *****
   ----------------------------------------------------------------------------
          750       2250      3750      5250      6750      8250      9750

                                 STOCKNUM

For more information about the CHART procedure, see the SAS Procedures Guide.

If you have SAS/GRAPH software, you can create colored block charts, plots, and other graphics based on ADABAS data. See the SAS/GRAPH Software: Reference for more information about the types of graphics you can produce with SAS/GRAPH software.


Chapter Contents

Previous

Next

Top of Page

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