IBM 000-8697 사용자 설명서
Operating OnLine
3-35
Change the Logging Status of a Database
Add logging to a database by executing one of these two commands:
tbtape -s -B database
(buffered logging)
tbtape -s -U database
(unbuffered logging)
You can change logging status for any number of databases with the same
command. For further information about the tbtape utility, refer to
command. For further information about the tbtape utility, refer to
.
If you can create an online archive and you do so from
DB-M
onitor, users are
able to access all databases during the archive. After the archive completes,
change the database status before you exit
change the database status before you exit
DB-M
onitor. If you exit, the flag
indicating that you created the necessary archive is reset.
DB-M
onitor will
require you to redo the archive when you reenter.
To add logging to a database
1.
Create an online, level-0 archive from
DB-M
onitor. (Refer to
.)
2.
Select the Logical-Logs menu, Databases option.
3.
Use the Arrow keys to select the database to which you want to add
logging. Press
logging. Press
CTRL-B
or
F3
.
4.
When the logging options screen appears,
DB-M
onitor displays the
current log status of the database. Use the arrow keys to select the
kind of logging you want. Press
kind of logging you want. Press
CTRL-B
or
F3
.
Ending or Modifying Logging from DB-Monitor
1.
To end logging for a database from within
DB-M
onitor, select the
Logical-Logs menu, Databases option.
2.
Use the arrow keys to select the database to which you want to add
logging. Press
logging. Press
CTRL-B
or
F3
.
When the logging options screen appears,
DB-M
onitor displays the current
log status of the database. Use the arrow keys to select the kind of logging
you want, including no logging. Press
you want, including no logging. Press
CTRL-B
or
F3
.
To end logging for a database from the command line, execute the following
command:
command:
tbtape -N database
(no logging)