End of media option *LEAVE not only leaves the tape as is, but also does not release the device resource until the job is over.
In the below screen shot, job BRMBRCEIT finished a RSTLIBBRM from resource TAP02.
A second RSTLIBBRM was issued which required a different volume.
Resource TAP03 was selected for this RSTLIBBRM, Resource TAP02 remained allocated to this job, even though it was no longer being used.
This caused an issue one night, I knew this job only needed one resource, but actually used two, causing a resource not to be available for another process on another partition.
Lesson learned, use *LEAVE with caution.
TAPMLB01 ACTIVE
TAP01 OPERATIONAL UNPROTECTED
TAP03 ACTIVE UNPROTECTED BRMBRCE1T
TAP02 OPERATIONAL UNPROTECTED BRMBRCE1T
TAP04 OPERATIONAL UNPROTECTED
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx
http://www.pencor.com/
As an Amazon Associate we earn from qualifying purchases.