Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

-setowner

Specifies the file password in order to restrict access to the file.

Usage

ctutil -setowner file password 0|1

where:

  • file - File name without extension
  • password - File password
  • 0 - Password is required for any access mode
  • 1 - Permits read-only access if password is not specified

The password parameter is mandatory. In order to remove an existing file password, the password parameter must be an empty string.

TOCIndex