The Projman Application

Macro Variables

This section describes the SAS macro variables that are defined by the Projman application during report generation. Many of these macro variables are used in the SAS source code provided with the standard reports. When you modify the source code of custom reports, this information may be helpful.

Standard Macro Variables

Name Contents Explanation
&reptname'report name'current report name
&projname'project name'active project name
&projdesc'project description'active project description
&rdformatdatetime7. or datetime13.specified by the Formats option
&varlist'Variables variable names'specified by the Variable list
&ivarlist'Identifier variable names'specified by the Identifier list
&byvlistBY + 'Sub-Group variable names'specified by the Sub-Group List

Calendar Reports

Name Contents Explanation
&start'start variable name'specified by the Schedule option
&finish'finish variable name'finish corresponding to &start
 header=Small, Medium, or Largespecified by the Header Size option
&caloptsfillif Display All Months is selected
 missingif Include Missing Labels is selected
 caledata=work.cal workdata=if calendars used in scheduling
&caldatawork.shift(drop=holiday workday) 
 holidata=work.holif holidays used in scheduling
&calstmtcalid calid;if calendars used in scheduling
 outstart monday; outfinish friday;if Display Weekdays Only is selected
&holstmtholistart hstart; holidur holidur;if holidays used in scheduling
 holifin hfinish; holiname holiname; 

Note that the &caldata, &calstmt, and &holstmt macro variables are not defined unless the active project's duration unit is 'DAY' or 'WEEKDAY'.

Gantt Chart Reports

Name Contents Explanation
&goutgout=work.ggseggraphics catalog specification
&resdictwork.resdictresource dictionary data set
&zonevar'variable name'first variable in Sub-Group List
&resLineprinter, Fullscreen or Graphicsspecified by the Resolution option
 caledata=work.cal workdata=if calendars used in scheduling
 work.shift(drop=holiday workday) 
&gantdataholidata=work.holif holidays used in scheduling
 labeldata=work.labelsif Mark Parent Tasks is selected
 precdata=work.repttempif Show Precedence is selected
 (where=(obs_type='LOGIC')) 
 mininterval='duration unit'specified by the Per Interval option
 scale='integer value'specified by the Columns option
 name="g"graphics catalog entry name
 maxidsdraw maximum number of identifiers
 interval='duration unit'duration unit used for scheduling
 dur=duration cmile='color'if Show Milestones is selected
 activity=actid succ=succid 
 lag=lag cprec='color'if Show Precedence is selected
 noarrowheadif Suppress Arrowheads is selected
 nojobnumunless Show Job Numbers is selected
 nolegendunless Show Chart Legend is selected
 compressif Compress to One Page is selected
 hconnect chcon='color'if Draw Task Lines is selected
 critflagif Flag Critical Tasks is selected
 combineif Combine Schedules is selected
 labvar=actidif Mark Parent Tasks is selected
&ganoptsmarkwkndif Mark Weekends is selected
 markbreakif Mark Work Breaks is selected
 idpagesif Print Id on Each Page is selected
 fillif Fill Pages Completely is selected
 noframeif Suppress Chart Frame is selected
 pcompressif Proportional Compress is selected
 hpages='integer value'specified by the Horizontal Pages option
 vpages='integer value'specified by the Vertical Pages option
 height='numeric value'specified by the Text Height option
 caxis='color'specified by the Time Axis option
 ctext='color'specified by the Text option
 cframe='color'specified by the Chart Frame option
 holiday=(hstart) holidur=(holidur)if holidays were used in scheduling
 holifin=(hfinish) 
 calid=calidif calendars were used in scheduling
 timenow='timenow date'if Draw Timenow Line is selected
 notnlabelunless Label Timenow Line is selected

Note that the CALEDATA=, HOLIDATA= AND WORKDATA= specifications are not added to the &gantdata macro variable unless the active project's duration unit is larger than 'DAY'.

Network Diagram Reports

Name Contents Explanation
&goutgout=work.ngseggraphics catalog specification
&resLineprinter, Fullscreen or Graphicsspecified by the Resolution option
 name="n"graphics catalog entry name
 zone='variable name'specified by the Zone Variable option
 nozonelabelif Suppress Zone Labels is selected
 zonespaceif Space Between Zones is selected
 nodefaultidunless Show Default Vars is selected
 nolabelunless Label Variables is selected
 duration=durationif Show Duration is selected
 separatearcsif Draw Separate Arcs is selected
 showstatusif Show Progress is selected
 compressif Compress to One Page is selected
 centeridif Center Id Values is selected
 spanningtreeif Spanning Tree Layout is selected
 lag=(lag)if Show Precedence Type is selected
 rectilinearif Draw Rectangular Arcs is selected
 pcompressif Proportional Compress is selected
&netoptsarrowhead=0if Suppress Arrowheads is selected
 noarrowfillif Draw Open Arrowheads is selected
 nonumberif Suppress Page Numbers is selected
 hpages='integer value'specified by the Horizontal Pages option
 vpages='integer value'specified by the Vertical Pages option
 height='numeric value'specified by the Text Height option
 carcs='color'specified by the Arcs option
 ccritarcs='color'specified by the Critical Arcs option
 ctext='color'specified by the Node Text option
 frame caxis='color'if Draw Border is selected
 autozoneif Automatic Zone Layout is selected
 linearif Draw Linear Time Axis is selected
 autoref cref='color'if Draw Reference Lines is selected
 refbreakif Show Ref. Line Breaks is selected
 showbreakif Show Time Axis Breaks is selected
 notimeaxisif Suppress Time Axis is selected
 align='schedule variable name'specified by the Schedule option

Note that the following specifications are not added to the &netopts macro variable unless the Schedule option is specified: FRAME, CAXIS=, LINEAR, AUTOREF, CREF=, REFBREAK, SHOWBREAK, AND NOTIMEAXIS.

Resource Reports

Name Contents Explanation
&goutgout=work.rgseggraphics catalog specification
&plotoptsname="r"graphics catalog entry name
&chrtoptsname="r"graphics catalog entry name
&resdictwork.resdictresource dictionary data set
&schedout'data set name'report schedule data set
&varlist__ALL__if Scope option is set to All Resources
 'resource name'if Scope option is set to Selected Resource
&resLineprinter or Graphicsspecified by the Resolution option
&interval'duration unit'specified by the Frequency scheduling option
&mwhere not currently initialized


Tabular Listing Reports

Name Contents Explanation
 roundif Round values is selected
 doubleif Double space is selected
&prnoptsnoobsunless Print observation number is selected
 labelunless Suppress labels is selected
 nif Print number of observations is selected
 uniformif Format pages uniformly is selected


Previous Page | Next Page | Top of Page