Previous Topic: SyntaxNext Topic: OUTFILE


Parameters

Valid rid values for each supported file format are as follows:

ESDS

Specifies the relative byte address (RBA) in a four-byte hexadecimal format:

X'hh…'

Hexadecimal

KSDS

Specifies the record key in one of the following formats:

C'c…'

Character—matches specified case

X'hh…'

Hexadecimal

RRDS

Specifies the relative record number (RRN)

Sequential

Actual record number. Valid values are 1 - 999,999,999

Note: When using a hexadecimal value, you must supply an even number of hexadecimal characters.

Example 1

This example syntax is for a KSDS file. Record processing begins for the data set referenced by the OLDFILE keyword and starts with the record that has the key value X'1000', or if that key does not exist, the next key higher. If keyword OLDFILE is not used, the default value SYSUT1's file is positioned accordingly.

COMPARE,
  OLDRID(X'1000')

Example 2

This example syntax is for RRDS and sequential files. Processing begins with the 32nd record of the data set specified by the OLDFILE keyword, or with the default value of SYSUT1.

COMPARE,
OLDRID(32)