SET RECORD

Read syntax diagramSkip visual syntax diagram Set RECord ONOFF rdev LIMIT nn BYTE nn BIT n ANDORBYTEnnBITn

Authorization

Privilege Class: F

Purpose

Use SET RECORD to set the recording mode for a device.

Operands

ON
OFF
controls the intensive recording mode for the device that you specify. You can specify intensive recording for only one device at a time.

If you do not enter SET RECORD OFF, intensive recording is automatically terminated after 10 error records have been accumulated for the device, or when you activate intensive recording for a different device.

rdev
identifies the real device involved.
LIMIT nn
specifies the value at which a recording is made. While intensive recording is active, an error record is made for the first and for every nnth qualifying I/O error from the specified device.
BYTE nn
BIT n
the BYTE and BIT operands define the test condition in the sense bytes. You can test two bits using an AND or OR relationship. The range for BYTE is 0 through 31; the range for BIT is 0 through 7.
AND
OR
is the logical operation that you want to perform on two bits of sense data.

Usage Notes

  1. For more information on error recording, see Collecting Hardware Error Information in z/VM®: System Operation.

Messages

  • HCP003E Invalid option - {option|command contains extra option(s) starting with option}
  • HCP021E A real device number was not supplied or it is invalid.
  • HCP026E Operand missing or invalid
  • HCP040E Device {rdev|vdev|ldev} does not exist