CL Programming

Using Generic Object Names

Sometimes you may want to search for more than one object (even though only one might be found) when the object names start with the same characters. This type of search is called a generic search and can be used on several commands.

To use a generic search, specify a generic name in place of the object name on the command. A generic name consists of a set of characters common to all the object names that identifies a group of objects and ends with an * (asterisk). All objects whose names begin with the specified characters and to which you are authorized have the requested function performed on them. For example, if you entered the Display Object Description (DSPOBJD) command using the generic name ORD*, object descriptions for the objects beginning with ORD are shown.

A generic search can be limited by the following library qualifiers on the generic name (the library name parameter value is given in parentheses, if applicable):

IBM provides information on operations that use generic functions. Refer to the CL section of the Programming category in the iSeries Information Center.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]