SECURE command: File

From m204wiki
Jump to navigation Jump to search


File manager
Secures the currently open Model 204 file



Syntax notes

SECURE must be issued in file context, that is, the current default must be a file, not a group.

Usage notes

The SECURE command secures the Model 204 file that is currently open. A special field in the password table serves as the key for securing files. SECURE processing copies this key into the open file. Then the secured file is opened and the password table key is compared with the file's copy. The file is accessible only if the two keys match.

The LOGKEY command can be used by the system manager to change the password table from its initial setting.

When it processes SECURE, Model 204 ends any current User Language update unit and begins a non-backoutable update unit. If a Model 204 command is processing an update unit that cannot be backed out, the SECURE command is included in that update unit. For more information about Model 204 update units, see Update units and transactions.

To use the SECURE command you must have update authority to the selected file. If the file is open for read-only access, the SECURE command is rejected with the following message: