The NEXT RECORD statement ends processing on the current record and proceeds to the next record in the input file. The syntax is as follows:

NEXT RECORD.

Example

Enter these statements to make VMRGRW proceed to the next record if the date in the current record is earlier than February 1, 2010:

IF DATE LT '100201'.
    NEXT RECORD.
END IF.

The current record is not subject to any further processing.