The DFHCSDUP ALTER command
Change some or all of the attributes of an existing resource definition.
Description
For information about the attributes that you can specify on the ALTER command for the various resource types, and for a description of the attributes and default values of each resource type, see RDO resources.
Do not use ALTER to change the value of the attributes of a TYPETERM definition on which other attributes depend. If you make a mistake with DEVICE, SESSIONTYPE, or TERMMODEL, delete the definition and define a new one with the correct values.
ALTER FILE(TEST) GROUP(ACT1) DESCRIPTION()
- The command:
uses the default value of NO for RLSACCCESS and the description is blanked out.ALTER FILE(TEST) GROUP(ACT1) RLSACCESS() DESCRIPTION()
- The command:
uses the default value DFHCICSA for the PROFILE field.ALTER FILE(TEST) GROUP(ACT1) PROFILE()
Changes to resource definitions in the CSD file do not take effect, in a running CICS® system, until you install the group in which the resource definition resides.
Generic naming in the ALTER command
The ALTER command accepts both generic resource names and group names.
For each resource in the CSD file matching the specified combination of resource name and group name, an ALTER is attempted. In the case of an individual ALTER failing, processing terminates when all attempts for the command have been processed.
Options
- Attribute list
- specifies the attributes to be altered.
- Group(groupname)
- specifies the name of the group containing the resource to be altered.
- Resource(name)
- specifies the resource whose attributes you want to alter. You can specify a generic name by using the characters + and *.
Examples
ALTER PROGRAM(ERR01) GROUP(GENMODS) RESIDENT(YES)
DATALOCATION()
ALTER PROGRAM(*) GROUP(GENMOD) RESIDENT(YES)
DATALOC()