Previous Topic: get_desc (Class Management)--Display Class DescriptorNext Topic: lock (Class Management)--Lock a Class


put_desc (Class Management)--Modify Class Descriptor

Modify class descriptor

Syntax
class put_desc class  
Parameters
class

name of class for which to modify descriptor May specify one of the following:

application:class - modify application singleton class descriptor

application/local:class - modify application local catalog class descriptor

/catalog:class - modify global catalog class descriptor

Examples
class put_desc /system:MYCLASS

modify global catalog class descriptor

class put_desc myapp:MYCLASS

modify application singleton class descriptor

Note: The new descriptor is obtained from standard input. The user can type in or paste the new descriptor contents followed by typing CTRL-d to terminate the input.

The name of the class may not be changed within the new descriptor.

The locked attribute may not be changed within the new descriptor if executed by a non-maintainer.

If the operation is executed remotely, the command can be specified as follows, where newdesc is a file containing the modified descriptor:

ssh root@controllerhost class put_desc myapp:MYCLASS <newdesc>