The DFHCSDUP ADD command

Add a group to a list.

Read syntax diagramSkip visual syntax diagram
ADD syntax

>>-ADd--Group--(--groupname--)--LIst--(--listname--)-----------><

Options

Group(groupname)
specifies the name of the group to be added. The name must not already exist in the list. A generic group name is not accepted. If you do not specify a group, the current group name is added.
LIst(listname)
specifies the name of the list to which the group is to be added. If the list does not already exist, a new one is created. If LIST is not specified, the group name is added to the current list if there is one. A generic list name is not accepted.

Examples

To create a list LA01, by adding a group to it
ADD GROUP(GA001) LIST(LA01)
To add another group to list LA01
ADD GROUP(GA002) LIST(LA01)
LA01 now looks like this
  • GA001
  • GA002