lock a class
class lock class [pwd=->/tt> ]
name of class to be locked May specify one of the following:
application:class - lock application singleton class
/catalog:class - lock global catalog class
pwd=- Prompt for the password used to unlock the class. 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).
class lock /system:MYCLASS
Lock global catalog class
class lock myapp:MYCLASS
Lock application singleton class
class lock my-app:MYSQL2 pwd=-
lock singleton class and prompt for password
Note: The 'pwd' argument is required when executed by a non-maintainer.
If the 'pwd' argument is specified, it is required to unlock the class.
When a class is locked, the following operations cannot be executed by non-maintainers:
* class branch
* class copy
* class move
* class get_desc
* export of class or catalog/application containing the class
* managing/modifying/reading of class volumes
See Application and Class Locking Reference for more information.
|
Copyright © 2011 CA.
All rights reserved.
|
|