Syntax:
Unix:
adalkmgr -model model_name
[-asg asg_name...]
[-dse dse_name...]
[-config filename]
[-help [help_dir] | -syntax [help_dir] | -version]
[-delete]
[-dump]
[-list]
[-query]
[-toggle]
VMS:
adalkmgr /model=model_name
[/config=filename]
[/help[=help_dir] | /syntax[=help_dir] | /version]
[/asg=asg_name... ]
[/dse=dse_name... ]
[/delete]
[/dump]
[/list]
[/query]
[/toggle]
OS/2:
codegen /model:model_name
[/config:filename]
[/help[:help_dir] | /syntax[:help_dir] | /version]
[/asg:(asg_name...)]
[/dse:(dse_name...)]
[/delete]
[/dump]
[/list]
[/query]
[/toggle]
Program Description:
The adalkmgr is a support tool designed primarily for displaying information
about the state of the ASG library units in a model. If a situation arises where
transition from one state to another becomes impossible it may be used to directly
manipulate the ASG library unit locking objects. However, it should be used with
extreme caution. Utilizing the tool incorrectly can lead to loss of
data. All information to be displayed is written to stdout.
Options:
model <model_name> Specifies a model name.
config <config_file> Specifies a configuration file.
(Default: /cadre/tsa/config_file)
help <help_dir> Shows the full help screen (this information)
and exits. The optional argument indicates
the directory that contains the help file.
syntax <help_dir> Shows the short help screen (syntax lines only)
and exits. The optional argument indicates
the directory that contains the help file.
version Shows the program header and the teamwork
version, and exits.
options Shows the command line options chosen, before
executing the program.
asg <asg_name...> List of ASG's in the model to which the operation
is to be applied
dse <dse_name...> List of DSE state ASG's in the model to which the
operation is to be applied
delete Deletes the specified ASG or DSE library unit lock
object from the database.
dump Displays the contents of the library unit lock object
for the specified ASGs.
list Displays the database object name of the library
unit lock object for the specified ASGs.
query Displays the current state (ASG or DSE) of the
ASGs specified.
toggle Changes the current state of the specified ASG diagrams.
If the diagram is in ASG mode it will be set to DSE
mode and vice versa.
Examples (Unix-format):
adalkmgr -model test_mod -list
Lists the database object names of each of the library unit lock objects
in the model named test_mod. The library unit lock objects are not visible
in the PI for the model. Sample output is included below:
COMPARE_FILES__ASGLULO
CONTEXT__ASGLULO
DO__DSELULO
DRIVER__ASGLULO
EMS_IO__ASGLULO
FANT__DSELULO
GRID_TEST__ASGLULO
adalkmgr -model test_mod -dump -asg PGM_MGR
List the contents of the library unit lock object for the asg named
pgm_mgr in the model named test_mod. Sample output is included below:
------------------ BEGIN LIBRARY UNIT PGM_MGR ------------------
SPEC FILE: note #338 = //blitzen/db/r25/db_objects/dir.63/dc_63281
BODY FILE: note #339 = //blitzen/db/r25/db_objects/dir.63/dc_63285
DSE FORMAT SPEC FILE: note #340 = //blitzen/db/r25/db_objects/dir.63/dc_63294
DSE FORMAT BODY FILE: note #341 = //blitzen/db/r25/db_objects/dir.63/dc_63298
------------------ END LIBRARY UNIT PGM_MGR ------------------
adalkmgr -model exp_sys -toggle contoller
Change the state of the library unit named controller in the model
named exp_sys. If the library unit named controller is in
ASG state prior to this call, controller will be set to DSE state. If
controller is in DSE state, it will be set to ASG state. WARNING: the
latter operation will not perform a code injection. Any changes made to
ADA source code in the DSE editor will be lost!
adalkmgr -m exp_sys -delete -dse XYZ ABC
Deletes the library unit lock objects for the ASGs named XYZ and ABC which
are currently in DSE state.
adalkmgr -m exp_sys -delete -asg ZOT REP
Deletes the library unit lock objects for the ASGs named ZOT and REP which
are currently in ASG state.
adalkmgr -m exp_sys -query -asg XYZ
Lists the current state of the ADA library unit XYZ in
the model named exp_sys. Sample output is included below:
Lib Unit: XYZ - Current State ASG