??RESTRICT (Restrict ODT)

The ??RESTRICT (Restrict ODT) command sets or removes restrictions on the use of the ODT at which the command is entered.

Syntax

<security key>

A string from 1 to 17 alphanumeric characters.

Explanation

??RESTRICT + (<security key>)

Restricts the ODT to MARC use.

??RESTRICT − (<security key>)

Removes the restriction from the ODT. The security key must be the same as the key specified when the ODT was restricted.

Considerations for Use

The primitive command ??RESTRICT provides a convenient method of releasing a restricted ODT from the restricted ODT itself. It is particularly useful if privileged access to the system (either through another, unrestricted ODT, or through a usercode with security administrator privileges) is not available.

The security key provides a means by which the system can validate the use of this command to release the ODT and can disregard the restriction on the ODT. If a security key was specified when the ODT was restricted and that security key is supplied in the ??RESTRICT − command, the ODT is returned to nonrestricted use. An ODT that was restricted without a security key by a nonprimitive RESTRICT command cannot be released by a ??RESTRICT − command, which requires a security key specification.

The ??RESTRICT command restricts or releases the ODT from which the command originates; therefore, no unit number is required.