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.
To find 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 find 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. (Use WRKSPLF
or WRKOUTQ
to view the report)
NOTES:
1. In releases IBM i 6.1 and later, the Copy File (CPYF
) command can be used instead of the Run Query (RUNQRY
) command to generate reports with DEVUSESTS tool. The use of RUNQRY
can be overridden to use CPYF
by running the following commands:
QSYS/CRTDTAARA DTAARA(QUSRBRM/Q1ANRUNQRY) TYPE(*CHAR)
QSYS/CHGOBJOWN OBJ(QUSRBRM/Q1ANRUNQRY) OBJTYPE(*DTAARA) NEWOWN(QBRMS)
The following PTFs or superseding PTFs are required: