ALL (All) Keyword--Logical Files Only for Physical and Logical Files

Use this select/omit field-level keyword to specify the action to be taken after all other select/omit specifications have been processed for this logical file. Specify ALL with S in position 17 to direct the OS/400 program to select any records that do not meet any of the other select/omit rules. Specify O in position 17 to direct the OS/400 program to omit any records that do not meet any of the other select/omit rules. If specified, ALL must follow the other select/omit keywords. You cannot specify a field name with the ALL keyword.

This keyword has no parameters.

If you do not specify the ALL keyword, the default action taken is the opposite of the last select/omit specification you made for the file. If the last specification was a select, the default is to omit all. If the last specification was an omit, the default is to select all.