TARGETOPTS subcommand (SIMPLAN command)
The TARGETOPTS
subcommand specifies optional settings
for targets.
TARGET keyword
The TARGET
keyword specifies names and optional
settings for one or more targets. The TARGET
keyword
is required when TARGETOPTS
is specified. The specification
for each target is the field name with an optional qualifier of the
form (FORMAT=format)
, where the parentheses are required.
Use a blank space to separate specifications for multiple targets.
For example:
TARGET=target1(FORMAT=DOLLAR) target2(FORMAT=F,4)
- FORMAT. Specifies the output format of the field. The
format consists of a format type, such as
F
, optionally followed by a comma and the number of decimal places. If the number of decimal places is omitted then it is assumed that there are 0 decimal places. The following formats are supported:
Format Specification | Definition |
---|---|
F,d | Numeric |
E,d | Scientific notation |
N,d | Restricted numeric |
DOT,d | Numeric with dots |
COMMA,d | Numeric with commas |
DOLLAR,d | Numeric with commas and dollar sign |
PCT,d | Numeric with percent sign |
CCA,d | Custom currency |
CCB,d | Custom currency |
CCC,d | Custom currency |
CCD,d | Custom currency |
CCE,d | Custom currency |
If no format is specified, then the Numeric format F
is
used for numeric inputs.
COMMENT = 'string'. Specifies a description that will
be associated with the targets listed on the TARGET keyword. Use
separate TARGETOPTS
subcommands for targets requiring
different descriptions. The COMMENT
keyword is only
supported for models with CUSTOM=YES
on the MODEL
subcommand.
Comments are displayed on the Model tab of the Simulation Builder,
when the simulation plan has been loaded into the Simulation Builder.
OUTPUT. Specifies whether the targets listed on the
TARGET keyword are included in table and chart output. The default
is YES
.
TARGETFILTER keyword
The TARGETFILTER
keyword specifies a filter to
apply to the specified targets. The filter allows you to specify the
range of valid values for one or more targets. Values outside of the
specified range are excluded from all output and analyses associated
with the targets.
- MIN. Specifies the minimum value for the range. You
can use the keywords
LO
orLOWEST
. The default isLO
. By default, the value specified forMIN
is included in the range. You can exclude the value from the range by using theEXCLUSIVE
keyword. - MAX. Specifies the maximum value for the range. You
can use the keywords
HI
orHIGHEST
. The default isHI
. By default, the value specified forMAX
is included in the range. You can exclude the value from the range by using theEXCLUSIVE
keyword.