Chapter Contents

Previous

Next
SAS/ACCESS Interface to IMS-DL/I Software

Charting Data

GCHART procedure programs work with data described by view descriptors just as they do with other SAS data sets. The following example creates a horizontal bar chart of the number of checking account withdrawals per day. This example uses the view descriptor VLIB.CDBTDATE to describe the CHCKDEBT segment of the ACCTDBD database:

options nodate linesize=132;
goptions device=chardrvw;

proc gchart data=vlib.cdbtdate;
   vbar check_date / discrete;
   title2 'Checking Account Withdrawals Per Day';
run;

Vertical Bar Chart of Checking Account Withdrawals shows the output for this example. CDBTDATE represents the date of each checking account withdrawal; the number of checking account withdrawals is represented by the length of the bar. For more information on the GCHART procedure, see SAS Language Reference: Concepts and the SAS Procedures Guide.

Vertical Bar Chart of Checking Account Withdrawals

[IMAGE]

If you have SAS/GRAPH software, you can create colored block charts, plots, and other graphics based on IMS-DL/I data. See SAS/GRAPH Software: Reference for more information on the kinds of graphics that you can produce with this SAS product.


Chapter Contents

Previous

Next

Top of Page

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