EXCHANGE
- Last UpdatedJan 03, 2023
- 1 minute read
Function
EXCHANGE replaces a current DB by a non-current DB.
Description
EXCHANGE replaces a current DB by a non-current DB. The DB names do not need to be listed in a particular order, since the MDB knows which are current and which are non-current, but they must be paired correctly if more than two names are listed.
Examples
Assume that an MDB contains the following DBs as shown by a LIST command:
/DESIGN
Current DBS: PIPING/PIPING-A PIPING/PIPING-C MASTER/CATA-D
Deferred DBS: PIPING/PIPING-B MASTER/PIPING-E
The command
EXCHANGE PIPING/PIPING-A PIPING/PIPING-B MASTER/PIPING-E MASTER/CATA-D
would result in the new configuration
/DESIGN
Current DBS: PIPING/PIPING-B PIPING/PIPING-C MASTER/PIPING-E
Deferred DBS: PIPING/PIPING-A MASTER/CATA-D
Related Commands
CURRENT DEFER
Command Syntax
.---------------------.
/ |
>--- EXchange ----*--- dbname - dbname ---+--->