VERIFY—Synchronize end of data

Use the VERIFY macro to synchronize end-of-data.

VERIFY is not supported for z/OS UNIX files and returns an error if specified for these files.

The format of the VERIFY macro is:

label
specifies 1 to 8 characters that provide a symbolic address for the VERIFY macro.
RPL=address
specifies the address of the request parameter list defining this VERIFY request. You may specify the address in register notation (using a register from 1 through 12, enclosed in parentheses) or specify it with an expression that generates a valid relocatable A-type address constant.
The following parameter and subparameter are required for VERIFY:
  • In the RPL, OPTCD=(CNV,...) must be specified.
ACTION=REFRESH
specifies the VSAM control blocks that are to be updated from the catalog after an attempt is made to verify the high-used RBA. For a data set that has been extended, VERIFY with ACTION=REFRESH causes an update to the control block structure, reflecting the new extents.

If you do not specify ACTION=REFRESH for an extended data set, you must close the data set and reopen it to obtain new extent information before you can verify it.

Any attempt to issue the VERIFY macro against a linear data set (LDS) results in a logical error (return code 253 in the feedback field of the RPL).

RLS does not support VERIFY because RLS maintains the end of data set information in the control blocks.

After verifying a data set, positioning must be established with a POINT macro for sequential processing or with a GET macro with RPL OPTCD=DIR.