Syntax:
Unix:
flowattr -model model_name [-config config_file] [-errorfile error_file]
-object obj_name -source source_obj -destination dest_obj
[-name attr_name -value attr_value]...
[-help [help_dir] | -syntax [help_dir] | -version]
[-options] [-arg_input filename] [-noheader]
[-quiet] [-ask] [-unix] [-vms] [-os2]
VMS:
flowattr /model=model_name [/config=config_file] [/errorfile=error_file]
/object=obj_name /source=source_obj /destination=dest_obj
[/name=attr_name /value=attr_value]...
[/help [=help_dir] | /syntax [=help_dir] | /version]
[/options] [/arg_input=filename] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
OS/2:
flowattr /model:model_name [/config:config_file] [/errorfile:error_file]
/object:obj_name /source:source_obj /destination:dest_obj
[/name:attr_name /value:attr_value]...
[/help [:help_dir] | /syntax [:help_dir] | /version]
[/options] [/arg_input:filename] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
Program Description:
flowattr allows the user to attach simulation attributes to a flow.
Options:
model <model_name> Specifies a model name
config <file_name> Specifies a configuration file
(default: /cadre/tsa/config_file)
object <obj_name> Specifies the name of the object to attach
values to.
source <obj_name> Specifies the name of the source of the
flow to attach values to. Legal values
include offpage, any process name except
Context-Diagram and any valid store name.
destination <obj_name> Specifies the name of the destination of the
flow to attach values to. Legal values
include offpage, any process name except
Context-Diagram and any valid store name.
name <attr_name> Specifies the name of an attribute to attach
to an object. Legal values for attr_name
include:
produce_probability (double >= 0)
produce_amount (stochast integer)
max_queue_size (integer > 0)
write_type (add, update, delete)
consume_enable (boolean expression)
consume_amount (stochast integer)
threshold (integer > 0)
read_type (remove, inspect)
driver_file (string)
initial_delay (double >= 0)
firing_delay (double > 0)
consume_delay (double >= 0)
continuous (boolean value)
The legal values vary by the types of objects
specified in the source and destination.
value <attr_value> Specifies the value of an attribute to attach
to an object. Legal values vary by attribute
name. The types for each attribute are listed
above. Expressions, strings, and stochasts
that include spaces should be double quoted.
(See example 1 below.)
errorfile Specifies the output file to send errors to
(default: stderr)
help [help_dir] Shows the full help screen (this information)
and quits. The default directory
of help files is /cadre/help.
syntax [help_dir] Shows the short help screen (syntax lines only)
and quits.
version Shows the program header with the version
and quits.
options Shows the command line options chosen before
program execution.
arg_input <filename> Indicates more command line options are in
the file 'filename'.
noheader Suppresses display of the program header
before program execution.
quiet Suppresses status messages during
program execution.
ask Prompt user for the entry of command line
options not provided.
unix Allow entry of options in Unix format
(-example_option).
vms Allow entry of options in VMS format
(/example_option).
os2 Allow entry of options in OS2 format
(/example_option).
Examples:
1) Set the consume enable function for flow f1 in mymod to "A | B | C":
flowattr -model mymod -object f1 -nam consume_enable -val "A | B | C"