Verify Optical (VFYOPT)

The Verify Optical (VFYOPT) command verifies whether a specified optical drive unit or a specified optical media library unit is operating.

Restriction: This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use this command.

Parameters

Keyword Description Choices Notes
DEV Device Name Required, Positional 1

Device (DEV)

Specifies the name of the optical drive or the optical media library unit whose operation is being verified.

Examples

Example 1: Verifying an Optical Drive

VFYOPT   DEV(OPT1)

This command verifies whether the optical drive unit named OPT1 is operating.

Example 2: Verifying an Optical Media Library

VFYOPT   DEV(OPTMLB1)

This command verifies whether the optical media library unit named OPTMLB1 is operating.

Error messages

*ESCAPE Messages

CPF2C31
Optical unit description &1 not found.
CPF2C33
Device description &1 not an optical unit.