Sets the password to access files that are protected by passwords.
Note: Before using this command, see Password for the preferred method of using passwords in procedures. You should ensure that there are other security measures to protect your passwords.
To prevent the password from being written to the Command Log, you should put this command between the Set Echo None and Set Echo On commands. The password is still written in the procedure file itself.
SET PASSWORD n <TO> <password>
• | n must be a value from 1 to 5. |
• | password may be any valid character expression. |
To set password 1 to “secret”:
SET PASSWORD 1 TO "secret"