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.0

 Attaches RdbALTER to a database,  putting  an  EXCLUSIVE  UPDATE
 lock  on  the  database.   No other user can access the database
 while RdbALTER ATTACH 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  root  file  spec  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 the root file spec refers is attached as
 part of RdbALTER startup.  In this one case, the ATTACH  command
 is  unnecessary.  Otherwise, no commands changing database pages
 are allowed until a  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