I found in the BRMS manual that the BRMS select device API lets you select a device to allocate or deallocate, or to select search values such as location and media class to locate and allocate an available device for BRMS media input or output operations.
Well, I don't understand very well how and when to use it.
For example, I have 2 tape drives available TAP01 and TAP02.
Either in my Backup Policy, I can specifiy TAP01 or TAP02 in the device to use for my backup or I can specify also *MEDCLS.
The issue if I use *MEDCLS, if I run 2 backup jobs, TAP01 will be used by the 1st job and the second job will also try to use TAP01 and failed because TAP01 is already in use by the 1st job.
Does this API can be run before starting the job to specify which tape drive to use ?
Does anyone already used this API and how ?
Thanks for your hints and your help.