Troubleshooting
Problem
Resolving The Problem
Do you ever want to find out who is using a resource in a tape library that you need?
This tool will produce a report that displays the users of the resources in a tape library for all systems in a BRMS network that share that library. The tool is also available on earlier release with the following PTFS:
o SI24433 for V5R4
o SI24427 for V5R3
To locate the tape library resource status for a specific system, issue the following command:
QSYS/CALL QBRM/Q1AOLD PARM('DEVUSESTS ' 'SYSTEM1 SYSTEM2')
Note: The second parameter can specify multiple systems, restricted only by the parameter length of 200 characters.
To locate the tape library resource status for all systems in the BRMS network, issue the following command:
QSYS/CALL QBRM/Q1AOLD PARM('DEVUSESTS ' '*NETGRP')
Both of the commands will generate an output file, QTEMP/DEVICELOG, and a printer report, QP1ADEVUSE.
Requirements
1. In order to get status from a particular system, the BRMS Network Feature, 57xxBR1 Option 1, needs to be installed.
2. All characters in the PARM field need to be in capitals (CAPs).
3. In order to get status from a particular system, that system must have the appropriate PTF applied and must be in the BRMS network.
- Sample of a QP1ADEVUSE report
FILE LIBRARY MEMBER FORMAT
DEVICELOG QTEMP DEVICELOG DEVICELOG
DATE . . . . . . . . 05/09/13
TIME . . . . . . . . 12:03:41
05/09/13 12:03:41
DEVSTSDATE DEVSTSTIME STATUS
2013-05-09 12.03.00 SYSTEM : SYSA :ML3573L4:T3573L4 STATUS :-*ALLOCATED
2013-05-09 12.03.00 SYSTEM : SYSA
2013-05-09 12.03.40 SYSTEM : SYSA :ML3573L4:T3573L4 STATUS :-*ALLOCATED
2013-05-09 12.03.40 SYSTEM : SYSA
2013-05-09 12.03.40 SYSTEM : SYSB
2013-05-09 12.03.40 SYSTEM : SYSB : DEVICE : TAPVRT01 JOB : 564880/QSYSOPR/QEZBKTMMON
2013-05-09 12.03.40 SYSTEM : SYSB : DEVICE : TAPVRT01 JOB : 564880/QSYSOPR/QEZBKTMMON
* * * E N D O F R E P O R T * * *
This report shows that system SYSA has allocated tape resource T3573L4 in tape library ML3573L4. SYSB currently has a job running on tape device TAPVRT01.
When message BRM1033, Devices needed by control group not available. (C R), or CPD8F91 RC0206 is logged, this report can be a useful tool to help determine which system(s) have the tape resource(s) allocated.
- Example of when this report may be useful
On SYSB, the BRMS backup halted with BRM1033, the command WRKMLBSTS was issued, and it shows tape resource T3573L4 has an allocation of unprotected. This looks good.
Work with Media Library Status
System: SYSB
Type options, press Enter.
1=Vary on 2=Vary off 3=Reset resource 4=Allocate resource
5=Allocate unprotected 6=Deallocate resource 8=Work with description
Device/ Job
Opt Resource Status Allocation name
ML3573L4 VARIED ON
T3573L4 OPERATIONAL UNPROTECTED
When trying to allocate tape resource T3573L4 on system SYSB using Option 4=Allocate resource, message CPD8F91 is logged because the resource is allocated on another system.
CPD8F91: Status of drive resource T3573L4 not changed. Reason code is 0206.
-- 0206 The drive is assigned to another system.
Using the sample QP1ADEVUSE report, SYSA has tape resource T3573L4 allocated. To be able to use T3573L4 on SYSB, you should log onto system SYSA and select Option 5=Allocate unprotected next to tape resource T3573L4. Then on SYSB, respond to BRM1033 with an R to retry and allow the BRMS backup to continue.
Additional information about this feature can be found at on the BRMS Wiki:
Historical Number
669849836
Was this topic helpful?
Document Information
Modified date:
29 January 2020
UID
nas8N1010387