Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Syntax:

Unix:
    twk_sim  [-compile_only |
              -command sim_cmd_file
             [-trace trace_file] [-statistics statistics_file]]
             [-config config_file] [-errorfile error_file]
              -model model_name [-model_view [essential | implementation]]
             [-hw_mapping [by_module|by_class]] [-root object_name]
             [-depth depth]
             [-help [help_dir] | -syntax [help_dir] | -version]
             [-options] [-arg_input path_name] [-noheader]
             [-quiet] [-ask] [-unix] [-vms] [-os2]

VMS:
    twk_sim  [/compile_only |
              /command=sim_cmd_file
             [/trace=trace_file] [/statistics=statistics_file]]
             [/config=config_file] [/errorfile=error_file]
              /model=model_name [/model_view=[essential | implementation]]
             [/hw_mapping=[by_module | by_class]] [/root=object_name]
             [/depth=depth]
             [/help [=help_dir] | /syntax [=help_dir] | /version]
             [/options] [/arg_input=path_name] [/noheader]
             [/quiet] [/ask] [/unix] [/vms] [/os2]

OS/2:
    twk_sim  [/compile_only |
              /command:sim_cmd_file
             [/trace:trace_file] [/statistics:statistics_file]]
             [/config:config_file] [/errorfile:error_file]
              /model:model_name [/model_view:[essential | implementation]]
             [/hw_mapping:[by_module | by_class]] [/root:object_name]
             [/depth:depth]
             [/help [:help_dir] | /syntax [:help_dir] | /version]
             [/options] [/arg_input:path_name] [/noheader]
             [/quiet] [/ask] [/unix] [/vms] [/os2]

Program Description:
    twk_sim allows you to compile and run a simulation model in batch mode.

Options:
    config <file_name>     Specifies a configuration file
                               (default: /cadre/tsa/config_file)
    command <file_name>    Specifies a command file
    trace <file_name>      Specifies the output file to send trace information
                           to
    errorfile <file_name>  Specifies the output file to send errors to
                               (default: stderr)
    statistics <file_name> Specifies the output file to send statistics to
    model <model_name>     Specifies a model name
    model_view <view>      Specifies that the model view where legal values
                           include essential and implementation.
                               (default: essential)
    hw_mapping <mapping>   Specifies that the model view where legal values
                           include by_module and by_class
                               (default: by_module)
    root                   Specifies the root DFD to start the execution from
                               (default: Context-Diagram)
    depth                  Specifies the depth of the subtree
                               (default: 0)
    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)  Execute the model Traffic_Light with the default config file, sending
    trace output to trace, error output to errors, and statistics to stats:

    twk_sim -model Traffic_Light -trace trace -errorfile errors -stat stats

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026