Previous Topic: Using a Generic NameNext Topic: Using the Execute List Function


Using an Existing List

You indicate that a list is to be used by specifying a special value for the object name, OBJ(*OBJLST), and you indicate which list is to be used by a special parameter, OBJLST(list-name).

The following will change the ownership of all objects in object list HENRY in library QGPL:

YCHGOBJOWN OBJ(*OBJLST) OBJTYPE(*OBJLST) NEWOWN(FRED) OBJLST(QGPL/HENRY)

Likewise for member lists you would use a MBRLST parameter, and for database lists a DBFLST parameter.

Toolkit generic commands are described in further detail in the section Generic Commands in this chapter.