The CEDA DEFINE command

Create new resource definitions.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-CEDA--DEFine--+-All----------------+--Group(groupname)------->
                 +-Connection(name)---+                     
                 +-CORbaserver(name)--+                     
                 +-DB2Conn(name)------+                     
                 +-DB2Entry(name)-----+                     
                 +-DB2Tran(name)------+                     
                 +-DJar(name)---------+                     
                 +-DOctemplate(name)--+                     
                 +-Enqmodel(name)-----+                     
                 +-File(name)---------+                     
                 +-Journalmodel(name)-+                     
                 +-LSRpool(name)------+                     
                 +-Mapset(name)-------+                     
                 +-PARTItionset(name)-+                     
                 +-PARTNer(name)------+                     
                 +-PROCesstype(name)--+                     
                 +-PROFile(name)------+                     
                 +-PROGram(name)------+                     
                 +-Requestmodel(name)-+                     
                 +-Sessions(name)-----+                     
                 +-TCpipservice(name)-+                     
                 +-TDqueue(name)------+                     
                 +-TErminal(name)-----+                     
                 +-TRANClass(name)----+                     
                 +-TRANSaction(name)--+                     
                 +-TSmodel(name)------+                     
                 '-TYpeterm(name)-----'                     

>--attribute list(newvalue)------------------------------------><

Description

You can use the same name for more than one resource definition in a group, if the definitions are for different resource types. For example:
DEFINE PROGRAM(N28A) GROUP(N28APPL)
DEFINE TRANSACTION(N28A) GROUP(N28APPL)
 
DEFINE TERMINAL(USER) GROUP(USERDEF)
DEFINE PROGRAM(USER) GROUP(USERDEF)

Be careful, when you have any resource definitions with the same name, that you install the one you really want. See Duplicate resource definition names.

You must specify the resource type and name on the command line. You may also specify the group and other attributes on the command line.

The whole definition is displayed on an overtype-to-modify panel, and you can change any of the attributes there, unless you entered a complete DEFINE command on the command line, in which case you can not change the name or groupname attributes.

The definition was created when you entered the DEFINE... command. If you do not wish to further modify it, you may enter another command from the command line.

If a resource definition of the same name and type already exists in the group, any attributes specified on the command line are ignored, and the existing resource definition is displayed. You can then overtype and modify any of the existing values if you wish. If you do not wish to modify the definition, you may enter another command from the command line.

Beware of overtyping values on which other attribute values are dependent. See Creating groups and lists.

Options

Attribute list
The attribute list depends on the resource type being defined; some resources have attributes that must be included in the definition. Attributes that you do not specify are given default values.
Group(groupname)
specifies the name of the group containing the resource definition being defined. Do not use a generic group name. If you specify the name of a group which does not already exist, the group is created.
resource(name)
specifies the name of the resource you want to define. Do not use a generic resource name.