Chapter Contents |
Previous |
Next |
The PM Procedure |
Note that the PROJNAME= option is used in the PROC PM statement. This value is used to label the PM Window. Also specified in the PROC PM statement is the PROJECT= option that identifes the project attribute data set. The activities in the project follow a weekday calendar which is indicated to PROC PM by specifying the INTERVAL=WEEKDAY option. In the PM Window, the weekends are shaded gray in the Gantt View.
/* Initialize the Activity data set */ data software; length activity $20.; input activity $ actid succid pntid duration; datalines; ; data softattr; length projattr $8. pratcval $200.; input projattr pratnval pratcval; datalines; ; proc pm data=software project=softattr date='1mar99'd interval=weekday projname='Software Project' out=softout1; act actid; succ succid; project pntid; duration duration; id activity; run;Output 6.1.1: Initial PM Window
Design 5 Develop 10 Document 8 Test 8 Ship 0
As each task is entered, the Schedule columns in the Table View are updated with the early and late start times, and the Early Schedule bars appear in the Gantt View. Output 6.1.2 shows the PM Window after the five tasks have been entered. To view the Schedule columns, you can scroll the Table View to the right or use the "View" pull-down menu (Figure 6.6) to move the Schedule columns to the left.
Output 6.1.2: List of Tasks in the Software ProjectDesign --> Develop Design --> Document Develop --> Test Test --> Ship
Output 6.1.3 shows the Software Project as the last precedence constraint is being drawn. Note that, in this view of the PM Window, the Schedule columns have been moved to the left, the grid lines in the Gantt View have been turned off (using the menu in Figure 6.11), and the Gantt View has been scrolled to the right to bring the end of the schedule bar for `Test' into view.
Output 6.1.3: Drawing Precedence ConstraintsFor the next few examples, the units used in the Gantt View are changed to "Weeks" using the Axis pop-up menu shown in Figure 6.12, the Summary Task is displayed at the top of the list of activities, and the Activity description columns are shown in the Table View. The "Project" pull-down menu can be used to save these window settings in the Project data set. The view of the project corresponding to these settings is shown in Output 6.1.4. You can end the interactive editing session by closing the window. All the activity and precedence information is saved in the output data set, SOFTOUT1, displayed in Output 6.1.5. Note the two sets of observations in this data set: the first contains all the schedule information for all the activities, and the second lists all the precedence relationships between activities.
Output 6.1.4: Project Schedule
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.