Schedule Data Set
The Schedule data set produced by PROC PM is very similar to the
Schedule data set produced by PROC CPM. See the
OUT= Schedule data set section in the PROC CPM
chapter.
However, unlike PROC CPM, the PM procedure is interactive in nature,
enabling you to add activities, set precedence constraints, reorder
the activities, and so on. Thus, the output data set produced by PROC
PM is designed to capture the original project data as well as all the
changes that are made to the project in the course of the interactive
session.
There are several main differences between the forms of the Schedule
output data sets produced by the PM and CPM procedures:
- The PM procedure automatically includes all relevant variables
that are needed to define the project. Thus, the ACTIVITY, SUCCESSOR,
LAG, DURATION, ALIGNDATE, and ALIGNTYPE variables are included in
the output data set by default. If the RESOURCE statement is used, all
the resource variables are also included. Likewise, if actual progress
is entered for the project during the course of the interactive session,
all the progress-related variables are added to the output data set.
- The PM procedure contains two sets of observations, identified by two different values of
a new variable, OBS_TYPE.
The first set of observations contains one observation for every activity
in the project. The value of the OBS_TYPE variable for these observations
is `SCHEDULE'. These observations contain all the activity information such
as the duration, the start and finish times, the resource requirements,
and so forth.
The second set of observations contains one observation for every precedence
constraint in the project. The value of the OBS_TYPE variable for these
observations is `LOGIC'. These observations contain all the precedence
information such as the activity, successor, and lag information.
- The order of the activities in the Schedule data set produced by
PROC PM corresponds to the order in which the activities appear in the
Table View at the end of the interactive session. Likewise, when the
procedure is first invoked, the order of the activities in the Table
View corresponds to the order in which the activities are defined in the
Activity input data set. If, during the course of the session, some
of the activties are reordered, or deleted, or if some new activities
are added, the Schedule output data set contains all the activities
that are defined in the Table View at the end of the session.
- The PM procedure also assigns a numeric identifier for each
activity. These values are assigned by PROC PM consecutively in the order
of the activities in the Table View and saved in a variable called ACTID
(see the "Renumbering the Activities" section). In
addition to the ACTID variable, the Schedule data set also contains a
numeric variable called SUCCID, which contains the numeric identifier
for the succesor activities in the LOGIC observations. If the PROJECT
statement is used in the invocation of the PM procedure, a numeric
variable called PNTID is added to the Schedule data set; this variable
identifies the parent task for each activity.
Note: If the ACTIVITY variable in the Activity input data set is a character
variable, the ACTID, SUCCID, and PNTID variables are added to the Schedule data
set in addition to the ACTIVITY, SUCCESSOR, and PROJECT variables. On the other
hand, if the ACTIVITY variable in the Activity input data set is numeric, the
new ACTID, SUCCID, and PNTID variables replace the numeric ACTIVITY, SUCCESSOR,
and PROJECT variables, respectively.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.