In many of the commands that manipulate lists, either an existing list can be added to, or a new list can be created. The list update option (LSTOPT) parameter denotes which. It may have the following values:
The LSTOPT parameter can be used to build up lists from a number of sources, and to merge lists. For instance, the following two commands would result in a list of all programs in QGPL whose names begin with either AB or CD:
YBLDOBJLST OBJ (QGPL/AB) OBJTYPE (PGM) LSTOPT (REPLACE)
YBLDOBJLST OBJ (QGPL/CD) OBJTYPE (PGM) LSTOPT (ADD)
Copyright © 2014 CA.
All rights reserved.
|
|