Administrator Command
Reference Manual
Reconfiguration
: Using the SESSIONS Option
Using the SESSIONS Option
When a DB is reconfigured, by default the session information from the source DB is not preserved. To make sure that session information such as the original session comment, session number, username and original date stays the same after reconfiguration, you can use the command:
RECONFIGURE SESSIONS
The option is not valid for SYSTEM, or GLOBAL DBs, and is not available for a partial reconfiguration.
The following example illustrates the use of the SESSIONS option:
FROM DB CTBATEST/DESI
TO FILE /A /B
RCFCOPY ALL
RECONFIG SESSIONS
After reconfiguration, data can be read back in from the file using the existing commands, replacing the original DB data. When reading in data, the DB number and extract number must be the same as the originating DB number and extract number. For example:
FROM FILE /A /B
TO DB CTBATEST/DESI
RECONFIG
The SAMEREF option is assumed when reading the data. If errors occur, the data is not saved. If you want the data saved even if errors occur, use the FORCE option. For example:
FROM FILE /A /B
TO DB CTBATEST/DESI
RECONFIG FORCE
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.