Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Format

More

Examples

root-file-spec

RDB/VMS RMU/ALTER ATTACH — VMS RDB_4.0B

 Attaches RdbALTER to a database,  putting  an  exclusive  update
 lock  on  the  database.   No other user can access the database
 while the RdbALTER ATTACH command is in effect.

Additional information available:

FormatMoreExamples

Format

 ATTACH ──> root-file-spec ────>

Additional information available:

root-file-spec

root-file-spec

 Specifies the root file of the database whose pages you wish  to
 alter.  The default file type is RDB.

More

 The  database  specified  by  the  root-file-spec  parameter  is
 attached  to  RdbALTER.   Then  you  can  alter the pages of its
 storage area files.  Area 1, page 1 of the database  is  fetched
 automatically  and  remains  the current page until you issue an
 AREA...PAGE command.

 If the RMU/ALTER command includes  a  root-file-spec  parameter,
 the  database  to  which root-file-spec refers is attached to as
 part of RdbALTER startup.  In this one case, the ATTACH  command
 is  unnecessary.  Otherwise, no commands changing database pages
 are allowed until an ATTACH  command  naming  that  database  is
 issued.

 You can use the ATTACH command to attach to only one database at
 a time.  Before invoking another database for altering, you must
 use the DETACH command to detach from the current database.

Examples

 Example 1

 The  following  example  enters  RdbALTER  command  level,  then
 attaches to the PERSONNEL database.

 $ RMU/ALTER
 RdbALTER> ATTACH PERSONNEL
 %RMU-I-ATTACH, now altering database "DISK:[USER]PERSONNEL.RDB;1"

 Example 2

 The following example enters RdbALTER command level and attaches
 to the PERSONNEL database in a single command.

 $ RMU/ALTER PERSONNEL
 %RMU-I-ATTACH, now altering database "DISK:[USER]PERSONNEL.RDB;1"

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