The CMPBOFS process statement
compares a file between byte limits. The start
and stop reference values
must be hex values. The statement may be specified on one complete line
or may have separate CMPBOFS statements for each of the six keyword
operands: TOP, BTM, NTOP, NBTM, OTOP, and OBTM.
Compare Type: BYTE
.----------------------.
V |
>>-CMPBOFS----+-TOP--+--hex_offset-+---------------------------><
+-BTM--+
+-NTOP-+
+-OTOP-+
+-NBTM-+
'-OBTM-'
- keyword
- The keyword may have one of the following values:
- TOP
- Top. Defines the first byte offset position in the new
and old byte compare file. Means both NTOP and OTOP. The
lowest byte position is at offset zero.
- NTOP
- New Top. Defines the first byte offset position in the
new file for the byte compare.
- OTOP
- Old Top. Defines the first byte offset position in the
old file for the byte compare.
- BTM
- Bottom. Defines the last byte position in the new
and old byte compare file. Means both NBTM and OBTM.
- NBTM
- New Bottom. Defines the ending point in the new file for
the compare.
- OBTM
- Old Bottom. Defines the ending point in the old file for the
compare.
- hex_offset
- A hexadecimal value. Do not put in apostrophes,
or 'bracket' it within "X'...'".
- Example
- Description
- CMPBOFS NTOP 1000 OTOP 5E00
- Compare the new file from hex offset X'1000'
(to the end of file) with
the old file from hex offset X'5E00' (to the end of file).
- CMPBOFS NTOP 1000CMPBOFS OTOP 5E00
- These two separate process statements have the same
effect as the "combined" statement above.