Chapter Contents |
Previous |
Next |
The GANTT Procedure |
where the data set specified is the Schedule data set produced by PROC CPM.
As an example of this, consider the software development project in the "Getting Started" section in Chapter 2 "The CPM Procedure." The output schedule for this example is saved in a data set, INTRO1, which is displayed in Figure 4.1.
Figure 4.1: Software Project Plan
The following code produces the Gantt chart shown in Figure 4.2.
proc gantt lineprinter data=intro1; run;
The DATA= option could be omitted if the INTRO1 data set is the most recent data set created; by default, PROC GANTT uses the _LAST_ data set.
|
Figure 4.2: Line-Printer Gantt Chart
You can produce a high-resolution graphics quality Gantt chart by specifying the GRAPHICS option instead of the LINEPRINTER option in the PROC GANTT statement. Graphics mode is also the default display mode. The resulting Gantt chart is shown in Figure 4.3.
proc gantt graphics data=intro1; run;
Finally, you can draw a Logic Gantt chart by defining the precedence information to PROC GANTT via AON format using the ACTIVITY= and SUCCESSOR= options in the CHART statement. The Logic Gantt chart is shown in Figure 4.4.
proc gantt data=intro1; chart / activity=activity successor=(succesr1-succesr2); run;
For further examples illustrating typical invocations of the GANTT procedure when managing projects, see Chapter 1 "Introduction to Project Management."
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.