Next to the device you are trying to vary-off, enter 2 (VARY OFF) followed by [F4] to prompt the vary-off command. If you enter *LOCK in the FRCVRYOFF parameter and press enter it will vary off the device and release the lock.
There is a program that is available as a PTF called QCMNGETL, this program has one parameter as follows:
CALL QCMNGETL devicename
This will get the exclusive lock released from QSYSARB and assign it to your job.
If this program is not present speak to IBM to find out the relevant PTF to get it.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.