Syntax:
Unix:
procattr -model model_name [-config config_file] [-errorfile error_file]
-object obj_name [-name attr_name -value attr_value]...
[-help [help_dir] | -syntax [help_dir] | -version]
[-options] [-arg_input path_name] [-noheader]
[-quiet] [-ask] [-unix] [-vms] [-os2]
VMS:
procattr /model=model_name [/config=config_file] [/errorfile=error_file]
/object=obj_name [/name=attr_name /value=attr_value]...
[/help [=help_dir] | /syntax [=help_dir] | /version]
[/options] [/arg_input=path_name] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
OS/2:
procattr /model:model_name [/config:config_file] [/errorfile:error_file]
/object:obj_name [/name:attr_name /value:attr_value]...
[/help [:help_dir] | /syntax [:help_dir] | /version]
[/options] [/arg_input:path_name] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
Program Description:
procattr allows the user to attach simulation attributes to a process.
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.
name <attr_name> Specifies the name of an attribute to attach
to an object. Legal values for attr_name
include:
data_enable (boolean expression)
mutex_data_output (boolean value)
mutex_ctrl_output (boolean value)
firing_delay (double >= 0)
hardware_module (string)
preemption (boolean value)
priority (integer >= 0)
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 data enable function for process 1.1 in mymod to "A | B | C":
procattr -model mymod -object 1.1 -name data_enable -value "A | B | C"