Use the OUTLIMIT attribute to limit the number of rows that an export job returns. OUTLIMIT expects a number greater than zero as input. Specifying an invalid number terminates the export operator and returns an error message. If OUTLIMIT is not specified, the export operator returns all records. OUTLIMIT controls the number of rows exported for each instance.
You can also use one of the following techniques to limit record output:
- The WHERE clause can limit the number of rows that are exported by specifying conditions that must be met.
- The SAMPLE function is an SQL function that can limit the number of random rows returned. For more information, see SQL Data Manipulation Language (B035-1146).