The DFHCSDUP DEFINE command
Create new resource definitions.
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.