The DFHCSDUP DEFINE command

Create new resource definitions.

Read syntax diagramSkip visual syntax diagram
DEFINE syntax

>>-DEFine--+-CONnection(name)---+--Group--(--groupname--)------->
           +-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)------+                           
           +-PIpeline(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)-----+                           
           +-Urimap(name)-------+                           
           '-Webservice(name)---'                           

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

Options

Attribute list
The attribute list depends on the resource type being defined; some resources have attributes that must be included in the definition. For a description of the attributes and default values of each resource type, see **** MISSING FILE ****. Attributes that you do not specify are given default values.
Group(groupname)
specifies the name of the group containing the resource definition to be altered. 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. The resource option must always be the first operand of the DEFINE command.

Examples

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)
The next example defines two consoles to CICS®. (You do not need continuation symbols if a definition spans several lines).
DEFINE TERMINAL(CON0)     GROUP(CONTERMS)
       CONSOLE(00)        TYPETERM(DFHCONS)
       DESCRIPTION(MVS CONSOLE ID 00, FOR ISSUING
          JCL COMMANDS)
 
DEFINE TERMINAL(CON1)     GROUP(CONTERMS)
       CONSOLE(01)        TYPETERM(DFHCONS)
       DESCRIPTION(MVS CONSOLE ID 01, MVS MASTER
          CONSOLE)
 

The INITIALIZE command generates a TYPETERM definition, but not a TERMINAL definition, for a console. You must have at least one console defined in order to issue MVS™ MODIFY commands to CICS. Console id 00 is used to issue commands using MVS job control language, and by authorized programs that use that MGCR macro to issue MVS commands.