Generic naming in CEDA

Generic names allow you to use one command to perform the same operation on many objects. You used this feature of CEDA in Using the CEDA panels when you used an asterisk to mean 'all' groups.

The asterisk can be used to mean 'all' resource names, groups, or lists. For example, CEDA VIEW TRANSACTION(DISC) GROUP(*) shows you transactions called DISC in any group where they occur. CEDA DISPLAY GROUP(*) TRANSACTION(*) shows you all the transactions in every group.

Another way to see groups without having to specify their exact names is to use the plus sign (+) as part of the group name to represent one character. For example, whereas CEDA DISPLAY GROUP(DFH*) displays all groups beginning with DFH, CEDA DISPLAY GROUP(DFH+++) displays only those groups that begin with DFH and are six characters long, CEDA DISPLAY GROUP(DFH++++) displays those that begin with DFH and are seven characters long, and so on.

You can also use the ALL attribute in some commands, instead of specifying a resource type. The command then operates on all resource definitions that fit the type specified with ALL.

Table 1 tells you which CEDA commands that accept generic naming.
yes
means that you may use a generic name or an actual name.
no
means that you must use an actual name.
means that generic naming is not applicable for this command.
Table 1. CEDA commands accepting generic names
Command Generic resource name Generic group name Generic list name ALL resource types
ADD no no
ALTER yes yes no
APPEND no
CHECK GROUP no
CHECK LIST no
COPY yes no yes
DEFINE no no no
DELETE yes no yes
DISPLAY GROUP yes
DISPLAY GROUP ALL yes yes yes
DISPLAY LIST yes
DISPLAY LIST GROUP yes yes
EXPAND GROUP yes yes yes
EXPAND LIST yes yes
INSTALL no no
INSTALL GROUP no
LOCK GROUP no
LOCK LIST no
MOVE yes no yes
REMOVE yes no
RENAME no no yes
UNLOCK GROUP no
UNLOCK LIST no
USERDEFINE no no no
VIEW yes yes no