The CPM Procedure |
This example shows the use of the ACTUAL and BASELINE statements to track and compare a project's progress with the original planned schedule. Consider the data in Example 2.1, for the network in AON format. Suppose that the project has started as scheduled on December 1, 2003, and that the current date is December 19, 2003. You may want to enter the actual dates for the activities that are already in progress or have been completed and use the CPM procedure to determine the schedule for activities that remain to be done. In addition to computing an updated schedule, you may want to check the progress of the project by comparing the current schedule with the planned schedule.
The BASELINE statement enables you to save a target schedule in the Schedule data set. In this example, suppose that you want to try to schedule the activities according to the project's early start schedule. As a first step, schedule the project with PROC CPM, and use the SET= option in the BASELINE statement to save the early start and finish times as the baseline start and finish times. The following program saves the baseline schedule (in the variables B_START and B_FINISH), and Output 2.13.1 displays the resulting output data set.
data holidays; format holiday holifin date7.; input holiday & date7. holifin & date7. holidur; datalines; 24dec03 26dec03 4 01jan04 . . ; * store early schedule as the baseline schedule; proc cpm data=widget holidata=holidays out=widgbase date='1dec03'd; activity task; succ succ1 succ2 succ3; duration days; holiday holiday / holifin=(holifin); baseline / set=early; run;Output 2.13.1: Target Schedule
As the project progresses, you have to account for the actual progress of the project and schedule the unfinished activities accordingly. You can do so by specifying actual start or actual finish times (or both) for activities that have already finished or are in progress. Progress information can also be specified using percent complete or remaining duration values. Assume that current information has been incorporated into the ACTUAL data set, shown in Output 2.13.2. The variables sdate and fdate contain the actual start and finish times of the activities, and rdur specifies the number of days of work that are still remaining for the activity to be completed, and pctc specifies the percent of work that has been completed for that activity.
Output 2.13.2: Progress Data Set ACTUAL
|
The following statements invoke PROC CPM after merging the progress data with the Schedule data set. The NOAUTOUPDT option is specified so that only those activities that have explicit progress information are assumed to have started. The resulting Schedule data set contains the new variables A_START, A_FINISH, A_DUR, and STATUS; this data set is displayed in Output 2.13.3. The activity 'Mkt. Strat.', which has rdur='3' in Output 2.13.2, has an early finish time (December 21, 2003) that is three days after TIMENOW. The S_VAR and F_VAR variables show the amount of slippage in the start and finish times (predicted on the basis of the current schedule) as compared to the baseline schedule.
* merge the baseline information with progress update; data widgact; merge actual widgbase; run; proc cpm data=widgact holidata=holidays out=widgnupd date='1dec03'd; activity task; succ succ1 succ2 succ3; duration days; holiday holiday / holifin=(holifin); baseline / compare=early; actual / a_start=sdate a_finish=fdate timenow='19dec03'd remdur=rdur pctcomp=pctc noautoupdt; run;Output 2.13.3: Comparison of Schedules: NOAUTOUPDT
|
In order for you to see the effect of the AUTOUPDT option, the same project information is used with the AUTOUPDT option in the ACTUAL statement. Output 2.13.4 displays the resulting schedule. With the AUTOUPDT option (which is, in fact, the default option), PROC CPM uses the progress information and the precedence information to automatically fill in the actual start and finish information for activities that should have finished or started before TIMENOW. The activity 'Prototype' has no progress information in WIDGACT, but it is assumed to have an actual start date of December 17, 2003. This option is useful when there are several activities that take place according to the plan and only a few occur out of sequence; then it is sufficient to enter progress information only for the activities that did not follow the plan. The SHOWFLOAT option, also used in this invocation of PROC CPM, enables activities that are completed or in progress to have float; in other words, the late start schedule for activities in progress is not fixed by the progress information. Thus, the activity 'Anal. Market' has L_START='08JAN04' instead of '05DEC03', as in the earlier invocation of PROC CPM (without the SHOWFLOAT option).
The following invocation of PROC CPM produces Output 2.13.4:
proc cpm data=widgact holidata=holidays out=widgupdt date='1dec03'd; activity task; succ succ1 succ2 succ3; duration days; holiday holiday / holifin=(holifin); baseline / compare=early; actual / as=sdate af=fdate timenow='19dec03'd remdur=rdur pctcomp=pctc autoupdt showfloat; run;Output 2.13.4: Comparison of Schedules: AUTOUPDT
|
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.