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.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.