Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ada.umgr(1) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ada(1)

ada.fmgr(1)

ada.format(1)

ada.mklib(1)

ada.mvlib(1)

ada.probe(1)

ada.protect(1)

ada.rmlib(1)

ada.unlock(1)

ada.xref(1)

ADA.UMGR(1)  —  HP-UX

Series 300 Only

NAME

ada.umgr − examine and modify an Ada library

SYNOPSIS

ada.umgr [ -r ] [ -u ] libraryname

DESCRIPTION

Ada.umgr, the Ada unit manager, can be used to examine and modify the contents of an Ada library. 

The following options are recognized:

−r Open the Ada library in read-only mode.  The Ada library can only be examined, but not modified.  This is the default mode. 

−u Open the Ada library in update mode.  The ERASE and ACQUIRE commands and the RESET option of the CHECK command require that the Ada library be opened in update mode. 

Ada.umgr is an interactive tool which, when executed, prompts with "Unit_Manager".  Commands are then entered to examine or modify the contents of the Ada library. 

For the syntax and semantics of the commands, refer to the Ada User’s Guide, or use the available online help facility in the unit manager. 

The following commands can be typed in response to the "Unit_Manager" prompt:

Acquire Make links in the current Ada library to units in another Ada library (in the same family or INSTALLATION family). 

Check Verify that links in the current Ada library to units in other Ada libraries are valid (that is, up to date). 

Default Set default values for commands. 

Erase Erase units in the current Ada library. 

Global Set global characteristics for commands. 

Help Obtain help on the various ada.umgr commands. 

Invoke Read ada.umgr commands from a file. 

Join Compute a program closure (that is, determine whether a bind can be performed). 

List List units in the current Ada library. 

Other Change the current Ada library. 

Quit Leave ada.umgr. 

System Execute a shell command. 

Users List dependencies of a unit in the current Ada library. 

View Obtain general information about the current Ada library. 

The help command provides online help for all the commands. 

If the file .ada.umgrrc exists in the user’s home directory, its commands are executed before the first prompt is issued. 

If the file .ada.umgrdf exists in the user’s home directory, its commands are executed after those in .ada.umgrrc (if present) and before the first prompt is issued.  The commands in this file are usually DEFAULT commands saved automatically by using the DEFAULTS => KEEP parameter of the QUIT command. 

Environment Variables

Two environment variables, ADA_PATH and ADA_PREDEF_LIB, are associated with all components of the the Ada compilation system.  Both must be set properly and exported before any component of the Ada compilation system (including ada.umgr) can be used (see ada(1), Environment Variables). 

Locks

To ensure the integrity of their internal data structures, Ada libraries and families are locked for the duration of operations that are performed on them.  Normally Ada families are locked only briefly when a library is added, removed, or renamed; however, sometimes multiple Ada libraries must be locked for longer periods during a single operation.  If more than one library is locked, ada places an exclusive lock on one library, for updating, and a shared lock on any others to remain open for read-only purposes. 

An Ada family or library locked for updating cannot be accessed in any way by any part of the Ada compilation system except by the part which holds the lock.  An Ada family or library locked for reading can be accessed by any part of the Ada compilation system which only desires to read from the Ada family or library. 

If ada.umgr cannot obtain a lock, it displays an informational message and terminates. 

Under some circumstances, an Ada family or Ada library might be locked, but the locking program(s) might have terminated (for example, due to system crash or network failure).  If you determine that the Ada family or Ada library is not actually locked, you may remove the lock. 

Use ada.unlock(1) to unlock an Ada library and the UNLOCK command of ada.fmgr(1) to unlock an Ada family.  However, unlocking should be done with care.  If an Ada family or Ada library is actually locked by a tool, unlocking it permits access by other tools which might find the contents invalid or might damage the Ada family or Ada library. 

AUTHOR

Ada.umgr was developed by HP and Alsys. 

FILES

$ADA_PATH/ada.umgr.bin
Ada unit manager subprocess.

$ADA_PATH/ada.umgr.hlp
Ada unit manager help command data.

$ADA_PATH/ada.umgr.btl
Ada unit manager command tables.

SEE ALSO

ada(1), ada.fmgr(1), ada.format(1), ada.mklib(1), ada.mvlib(1), ada.probe(1), ada.protect(1), ada.rmlib(1), ada.unlock(1).  ada.xref(1). 

Ada User’s Guide (Series 300), HP Part No. 98860-90000. 

INTERNATIONAL SUPPORT

8-bit file names. 

Hewlett-Packard Company  —  May 11, 2021

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