Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Syntax:

Unix:
     twk_get   -model model_name [-output file_name] [-config config_file]
               [-errorfile file_name] [-all_of_type object_type ...]
               [-object obj_name -type obj_type [-gen gen_num] [-no_notes] ...]
               [-help [help_dir] | -syntax [help_dir] | -version]
               [-options] [-arg_input path_name] [-noheader]
               [-quiet] [-ask] [-unix] [-vms] [-os2]

VMS:
     twk_get   /model=model_name [/output=file_name] [/config=config_file]
               [/errorfile=file_name] [/all_of_type=object_type ...]
               [/object=obj_name /type=obj_type [/gen=gen_num] [/no_notes] ...]
               [/help [=help_dir] | /syntax [=help_dir] | /version]
               [/options] [/arg_input=path_name] [/noheader]
               [/quiet] [/ask] [/unix] [/vms] [/os2]

OS/2:
     twk_get   /model:model_name [/output:file_name] [/config:config_file]
               [/errorfile:file_name] [/all_of_type:object_type ...]
               [/object:obj_name /type:obj_type [/gen:gen_num] [/no_notes] ...]
               [/help [:help_dir] | /syntax [:help_dir] | /version]
               [/options] [/arg_input:path_name] [/noheader]
               [/quiet] [/ask] [/unix] [/vms] [/os2]

Program Description:
     twk_get dumps the objects in a model into a file of CDIF constructs.

Options:
     model <model_name>        Specifies a model name.
     output <file_name>        Specifies the output file
                                   (default: standard output).
     config <file_name>        Specifies a configuration file
                                   (default: /cadre/tsa/config_file).
     errorfile <file_name>     Specifies an error file
                                   (default: standard error).
     all_of_type <obj_type>    Specifies all of one type
                                   (default: all object types).
                                   Object types include:
                                     ASG     Ada Structure Graph
                                     DDE     Data Dictionary Entry
                                     DFD     Data Flow Diagram
                                     ERD     Entity Relationship Diagram
                                     Matrix  includes
                                                 Decision Table
                                                 Process Activation Table
                                                 State Event Matrix
                                     M-Spec  Module Specification
                                     P-Spec  Process Specification
                                     Picture Picture Note
                                     STD     State Transition Diagram
                                     SC      Structure Chart
                                     Text    Text Note
     object <obj_name>         Specifies the name of the object(s)
                                   to be dumped
     type <obj_type>           Specifies the type of the object(s)
                                   to be dumped
     gen <gen_num>             Specifies a generation of the object
                                   (default: latest)
     no_notes                  Specifies not to dump the notes
                                   of the object
     help <help_dir>           Shows the full help screen (this information)
                                   and quits.  The optional argument
                                   specifies the directory containing
                                   the help file.
     syntax <help_dir>         Shows the short help screen (syntax lines
                                   only) and quits.  The optional argument
                                   specifies the directory containing
                                   the help file.
     version                   Shows the program header with the version
                                   and quits.
     options                   Shows the command line options chosen
                                   before program execution.
     arg_input <path_name>     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                       Prompts the user for the entry of command
                                   line options not provided.
     unix                      Allows entry of options in Unix format
                                   (-example_option).
     vms                       Allows entry of options in VMS format
                                   (/example_option).
     os2                       Allows entry of options in OS2 format
                                   (/example_option).

Examples (Unix format):

1)  Dump all objects from the PI, DD, and NI from model mymodel into file
    myoutput using /cadre/tsa/config_file:

    twk_get -model mymodel -output myoutput

2)  Dump all objects from the PI, DD, and NI from model mymodel info file
    myoutput using /joe/config_file:

    twk_get -model mymodel -output myoutput -config /joe/config_file

3)  Dump all objects from the PI, DD, and NI from model mymodel info file
    myoutput sending errors to /joe/error_log:

    twk_get -model mymodel -output myoutput -errorfile /joe/config_file

4)  Dump all DFDs from the model mymodel into file myoutput:

    twk_get -model mymodel -output myoutput -all_for_type dfd

5)  Dump DFD 0 from model mymodel into standard output:

    twk_get -model mymodel -object 0 -type dfd

6)  Dump generation 5 of DFD 0 from model mymodel into standard output:

    twk_get -model mymodel -object 0 -type dfd -gen 5

7)  Dump DFD 0 and 2 from model mymodel into standard output, but don't dump
    the notes on DFD 2:

    twk_get -model mymodel -object 0 -type dfd -object 2 -type dfd -no_notes

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