2.5.6 Changing a Logical RMSfile's Log Status

You can enable or disable the transaction logging of a logical RMSfile with toolkit as follows:

gifs/20000000.gif Start toolkit on your database:

c:\> toolkit dbname

gifs/20000000.gif Select 1 - Data Files Menu from the Toolkit Development Menu.

gifs/20000000.gif Select D5 - Define Data File's Log Status from the Data File Menu.

gifs/20000000.gif Enter the logical RMSfile name and press STORE <F5>. Enter yes to enable transaction logging or no to disable it. Press STORE <F5> or CANCEL <F1>-X to leave the RMSfile in its original state.

You can enable or disable the transaction logging of a logical RMSfile with the following command:

c:\> lfadmin -uv -L "logstatus" lfname

Logstatus is either yes to enable transaction logging, or no to disable it. Lfname is the logical name of the RMSfile.

Before enabling transaction logging for a file, you must make sure that the database has a transaction log file that was created with the makelog (C-1) program.