SECURE command: File
- File manager
- Secures the currently open Model 204 file
SECURE must be issued in file context, that is, the current default must be a file, not a group.
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:
M204.1036: UPDATES NOT PERMITTED.