The DFHCSDUP DEFINE command

Create new resource definitions.

DEFINE syntax

Read syntax diagramSkip visual syntax diagramDEFineAtomservice( name)Bundle( name)CONnection( name)CORbaserver( name)DB2Conn( name)DB2Entry( name)DB2Tran( name)DJar( name)DOctemplate( name)Enqmodel( name)File( name)Ipconn( name)JOurnalmodel( name)JVmserver( name)LIbrary( name)LSRpool( name)MApset( name)MQconn( 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)Group(groupname )attribute list( value)

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 RDO resources. Attributes that you do not specify are given default values.
Group(groupname)
Specifies the name of the group that contains the resource definition that is created. Do not use a generic group name. If you specify the name of a group that 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)
       CONSNAME(CONSJCL)  TYPETERM(DFHCONS)
       DESCRIPTION(MVS CONSOLE FOR ISSUING JCL COMMANDS)
 
DEFINE TERMINAL(CON1)     GROUP(CONTERMS)
       CONSNAME(CONSMAS)  TYPETERM(DFHCONS)
       DESCRIPTION(MVS MAIN CONSOLE)

The INITIALIZE command generates a TYPETERM definition, but not a TERMINAL definition, for a console. You must have at least one console defined to issue MVS™ MODIFY commands to CICS.