tcl.basic-prot

Verb: Access/TCL, Releases: AP 5.2.5 and AP 6.0

Displays status of or toggles Pick/BASIC object protection.

Syntax

basic-prot {(option}

Description

toggles or displays the status of the Pick/BASIC object protection scheme.
When enabled, this feature is global, thus it affects the entire system.

The Pick System shares Pick/BASIC object code between all processes running a given program. While this vastly decreases memory requirements, it also opens the possibility of one user compiling a program while another user is concurrently running that same routine. This circumstance tends to produce random, unexplainable aborts that can be difficult to track on large systems. The protection scheme involves insulating running object code from updates caused by recompilation.

When protection is enabled, all previous revisions of Pick/BASIC object code are kept in the same dictionary group, but are simply marked as 'deleted'. These 'deleted' items are automatically cleared during the 'save' process. (See the discussion of 'dirty bits' in the topic on the 'save' verb.) This allows compiling programs while they are currently being executed. Users running a given program when that program is compiled will continue to run the old version. If a user drops out of the program, to TCL, for example, and re-executes the program, the system will execute the newest object version.

Options

f Toggles object protection off.

n Toggles object protection on.

See Also

Command Name Type Description
tcl.basic-prot-on Verb: Access Invokes Pick/BASIC object protection scheme.
tcl.basic-prot-off Verb: Access Turns off Pick/BASIC object protection scheme.
tcl.user-coldstart Verb: Access Invokes user-defined coldstart sequence.
tcl.save Verb: Access Invokes backup process.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.