The Projman Application |
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.
Name | Contents | Explanation |
---|---|---|
&reptname | 'report name' | current report name |
&projname | 'project name' | active project name |
&projdesc | 'project description' | active project description |
&rdformat | datetime7. 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 |
&byvlist | BY 'Sub-Group variable names' | specified by the Sub-Group List |
Name | Contents | Explanation |
---|---|---|
&start | 'start variable name' | specified by the Schedule option |
&finish | 'finish variable name' | finish corresponding to &start |
header=Small, Medium, or Large | specified by the Header Size option | |
&calopts | fill | if Display All Months is selected |
missing | if Include Missing Labels is selected | |
caledata=work.cal workdata= | if calendars used in scheduling | |
&caldata | work.shift(drop=holiday workday) | |
holidata=work.hol | if holidays used in scheduling | |
&calstmt | calid calid; | if calendars used in scheduling |
outstart monday; outfinish friday; | if Display Weekdays Only is selected | |
&holstmt | holistart 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'.
Name | Contents | Explanation |
---|---|---|
&gout | gout=work.ggseg | graphics catalog specification |
&resdict | work.resdict | resource dictionary data set |
&zonevar | 'variable name' | first variable in Sub-Group List |
&res | Lineprinter, Fullscreen or Graphics | specified by the Resolution option |
caledata=work.cal workdata= | if calendars used in scheduling | |
work.shift(drop=holiday workday) | ||
&gantdata | holidata=work.hol | if holidays used in scheduling |
labeldata=work.labels | if Mark Parent Tasks is selected | |
precdata=work.repttemp | if 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 | |
maxids | draw 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 | |
noarrowhead | if Suppress Arrowheads is selected | |
nojobnum | unless Show Job Numbers is selected | |
nolegend | unless Show Chart Legend is selected | |
compress | if Compress to One Page is selected | |
hconnect chcon='color' | if Draw Task Lines is selected | |
critflag | if Flag Critical Tasks is selected | |
combine | if Combine Schedules is selected | |
labvar=actid | if Mark Parent Tasks is selected | |
&ganopts | markwknd | if Mark Weekends is selected |
markbreak | if Mark Work Breaks is selected | |
idpages | if Print Id on Each Page is selected | |
fill | if Fill Pages Completely is selected | |
noframe | if Suppress Chart Frame is selected | |
pcompress | if 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=calid | if calendars were used in scheduling | |
timenow='timenow date' | if Draw Timenow Line is selected | |
notnlabel | unless 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'.
Name | Contents | Explanation |
---|---|---|
&gout | gout=work.ngseg | graphics catalog specification |
&res | Lineprinter, Fullscreen or Graphics | specified by the Resolution option |
name="n" | graphics catalog entry name | |
zone='variable name' | specified by the Zone Variable option | |
nozonelabel | if Suppress Zone Labels is selected | |
zonespace | if Space Between Zones is selected | |
nodefaultid | unless Show Default Vars is selected | |
nolabel | unless Label Variables is selected | |
duration=duration | if Show Duration is selected | |
separatearcs | if Draw Separate Arcs is selected | |
showstatus | if Show Progress is selected | |
compress | if Compress to One Page is selected | |
centerid | if Center Id Values is selected | |
spanningtree | if Spanning Tree Layout is selected | |
lag=(lag) | if Show Precedence Type is selected | |
rectilinear | if Draw Rectangular Arcs is selected | |
pcompress | if Proportional Compress is selected | |
&netopts | arrowhead=0 | if Suppress Arrowheads is selected |
noarrowfill | if Draw Open Arrowheads is selected | |
nonumber | if 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 | |
autozone | if Automatic Zone Layout is selected | |
linear | if Draw Linear Time Axis is selected | |
autoref cref='color' | if Draw Reference Lines is selected | |
refbreak | if Show Ref. Line Breaks is selected | |
showbreak | if Show Time Axis Breaks is selected | |
notimeaxis | if 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.
Name | Contents | Explanation |
---|---|---|
&gout | gout=work.rgseg | graphics catalog specification |
&plotopts | name="r" | graphics catalog entry name |
&chrtopts | name="r" | graphics catalog entry name |
&resdict | work.resdict | resource 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 | |
&res | Lineprinter or Graphics | specified by the Resolution option |
&interval | 'duration unit' | specified by the Frequency scheduling option |
&mwhere | not currently initialized |
Name | Contents | Explanation |
---|---|---|
round | if Round values is selected | |
double | if Double space is selected | |
&prnopts | noobs | unless Print observation number is selected |
label | unless Suppress labels is selected | |
n | if Print number of observations is selected | |
uniform | if Format pages uniformly is selected |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.