For VSAM keyed files, the KEY defaults to the actual key, although, as the files are processed sequentially, any field can be defined as the key for the purpose of specifying a range for record matching.
Compare records only in the ranges defined by FROMKEYTOKEY or FROMRECCOUNT.
SKIP and INCLUDE are mutually exclusive.
Ignore records only in the ranges defined by FROMKEYTOKEY or FROMRECCOUNT.
SKIP and INCLUDE are mutually exclusive.
Defines a range of records. value1 specifies the first record in the range, while value2 specifies the last record in the range. Hexadecimal values can be specified as x ' hhhhhh ' , where hhhhhh is a hexadecimal number.
Defines a range of record numbers, from record number x for the next y records.
Defines a field to be ignored when comparing records. Used with INCLUDE only.
//SYSIN DD * KEY=(1,10) INCLUDE FROMKEY='AAAAAAAAAA' TOKEY='BBBBBBBBBB' INCLUDE FROMKEY='WWWWWWWWWW' TOKEY='YYYYYYYYYY' FD=(11,5) FD=(21,5)