Previous Topic: ParametersNext Topic: Syntax


NEWRID

The NEWRID keyword positions the data set specified by the NEWFILE keyword to a specific record before starting processing. If this keyword is not supplied, record processing begins with the first record. NEWRID is only valid with the COMPARE command, and can only be used once per COMPARE. This keyword is mutually exclusive with the RID keyword.

For KSDS processing, if the record key does not exist, processing begins with the next record that is greater than the rid value. If NEWFILE is not supplied, the default file's SYSUT1N is positioned accordingly.