You can use one of the numeric test capabilities of the INCLUDE OMIT Numeric test statement to collect the records…