Previous Topic: lock (Class Management)--Lock a ClassNext Topic: migrate (Class Management)--Migrate a Class


unlock (Class Management)--Unlock a Class

unlock a class

Syntax
class unlock class [ pwd=- ] [ --override ]  
Parameters
class

name of class to be unlocked May specify one of the following:

application:class - lock application singleton class

/catalog:class - lock global catalog class

pwd=-

Prompt the user for the password that was provided when the class was locked. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).

--override

(for maintainers only) Override the lock on the class.

Examples
class unlock /system:MYCLASS

Unlock global catalog class

class unlock myapp:MYCLASS

Unlock application singleton class

class unlock my-app:MYSQL2 pwd=-

Unlock singleton class and prompt for password

Notes: