Syntax

>>-CEDA--ADd--Group(groupname)--LIst(listname)-----------------><
Description
You can use the ADD command from a DISPLAY screen.
Options
- After(groupname3)
- You can use this to control the placing of the new group name. If you
do not specify BEFORE or AFTER, the group name is added at the end of the
list.
- Before(groupname2)
- You can use this to control the placing of the new group name. If you
do not specify BEFORE or AFTER, the group name is added at the end of the
list.
- Group(groupname1)
- 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, without specifying where:
ADD GROUP(GA002) LIST(LA01)
LA01 now looks like this:
To add another group at the top of the list:
ADD GROUP(GA003) LIST(LA01) BEFORE(GA001)
and another group between GA001 and GA002:
ADD GROUP(GA004) LIST(LA01) AFTER(GA001)
LA01 now looks like this: