The library may already be allocated by another job.
Find out what other jobs have allocated the library by using the Work with Object Lock (WRKOBJLCK) command. When the library is available, try the command again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.