tcl.update-prot Verb: Access/TCL

tcl.update-prot

Command tcl.update-prot Verb: Access/TCL
Applicable release versions: AP 6.1
Category TCL (746)
Description toggles or displays the status of the file update protection scheme. When enabled, this feature globally protects all item updates so that a power-off condition will not cause a GFE.

By default the update protection is on.

If the user turns update-protection off, and later turns it back on, the user MUST use a "FLUSH" command afterwards to be sure that all previous updates are written to disk.

If update protection is desired for selected files only, the user may disable the global update protection flag (with "UPDATE-PROT-OFF"), and enable the protection on the selected files by changing attribute 1 of the D-pointers of those files to "DU". When all desired files have been changed to a "DU" type, the user MUST use a "FLUSH" command to write all previous updates to the disk.

If update protection is desired for most of the system, but the user wishes to disable it on certain files, the user can change attribute 1 of the desired D-pointers to "DN". These files will not be protected irrespective of the global update-protection status.
Syntax update-prot {(option}
Options f Toggles update protection off.

n Toggles update protection on.
Example
Purpose
Related tcl.set-dptr
pointer.item