Previous Topic: List Flag ValuesNext Topic: Using List Flag Values


Setting List Flag Values

Toolkit List Processing and Generic commands set list flag values. This may be either:

For example, on the Toolkit command Filter Object List (YFLTOBJLST) you could specify that items which meet the filter criteria are to be given a particular flag value:

YFLTOBJLST TEXT(‘USRPGM’) OUTFLAGVAL(*ON) UPDLST(*FLAGOK)

Similarly, you could use the Toolkit command Scan Source (YSCNSRC) specifying that items which meet the search criteria are to be given a particular flag value:

YSCNSRC SELN(*IF ‘QCAEXEC’ *FALSE’)  UPDMBRLST(*FLAGERR) OUTFLAGVAL(‘X’)