ALL (All) keyword—logical files only

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 operating system to select any records that do not meet any of the other select/omit rules. Specify O in position 17 to direct the operating system 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.

Example

The following example shows how to specify the ALL keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          S ACT                       COMP(EQ 3000)
00020A          S ACT                       COMP(GT 3100)
00030A          O AMT                       COMP(LT 0)
00040A          O                           ALL
     A
Related reference
Select or omit field name