The CEDA APPEND command

Add the groups in one list to the end of another list.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-CEDA--APpend--LIst(listname1)--To(listname2)----------------><

Options

LIst(listname1)
specifies the source list to be appended. A generic list name is not accepted.
To(listname2)
specifies the target list to be appended to. A generic list name is not accepted. If listname2 already exists, the source list is appended to it. If listname2 does not exist, it is created.

Examples

A list called LISTA contains the following groups:
  • GB001
  • GB002
  • GB003
A list called LISTB contains the following groups:
  • G001
  • G002
  • G003
Append LISTB to LISTA, like this:
APPEND LIST(LISTB) TO(LISTA)
After this, LISTA contains the following groups, in this order:
  • GB001
  • GB002
  • GB003
  • G001
  • G002
  • G003
and LISTB still contains:
  • G001
  • G002
  • G003