Allocating the device description
The process of loading the CD-ROM or DVD media requires shared update (*SHRUPD) use of the device description.
The QJOBSCD must be able to obtain a *SHRUPD lock on the device description for the load to complete successfully. If another job is holding a conflicting lock on the device description, the load processing will fail with the following errors in the QJOBSCD job log.
Optical device xxxxx in use. Add optical disk cartridge failed to complete successfully.As an example, assume that some job allocates OPT01 with an Exclusive Allow Read lock as follows:
ALCOBJ OBJ((OPT01 *DEVD *EXCLRD))As long as the system holds this lock, CD-ROM and DVD loads will fail in QJOBSCD.
Parent topic:
Using optical devices