516 Converting to DFSMSrmm from CA-1
11.1.9 Scratch reporting
Perform this step when you need to obtain information about volumes in scratch
status. Sample job EDGJSCRL is provided in SYS1.SAMPLIB.
This job invokes the following procedures:
EDGPRPTX: Creates an updated DFSMSrmm report extract file. For doing
this, it runs the EDGHSKP utility with RPTEXT parameter. It allocates the new
report extract file using the procedure EDGPRPTA.
EDGPSCRL: It uses EDGRPTD reporting utility for generating the latest
scratch lists using files SCRLIST and NEWSCR.
11.1.10 Ejecting volumes from a system-managed tape library
This task ejects volumes from system-managed tape libraries when volume
movement is required. You should also consider VTS export processing in this
step. Similar processing is required for any non-system-managed volumes, which
you have in your library.
A sample IBM Tivoli Workload Scheduler for z/OS job is available in
SYS1.SAMPLIB member EDGJEJC. This job invokes EDGPEJC procedure. You
must execute this procedure once for each library in your installation, changing
the library name (FROM), destination (TO), and output station (EJECT) in each
case.
EDGPEJC procedure has two steps:
1. Creates a list of volumes to be moved from a system-managed library. The list
is created using the command shown in Example 11-2.
Example 11-2 TSO RMM search volume command
RMM SV VOL(*) OWN(*) LIMIT(*) LOC(&FROM) DEST(&TO) INTRANSIT(N) -
CLIST(“RMM CV”,”EJECT(&EJECT)”)
The parameter CLIST allows you to create a set of commands for all the
volumes in the generated list.
2. Uses the set of commands generated in the previous step for ejecting the
volumes. The general command is shown in Example 11-3.
Example 11-3 TSO RMM change volume command
RMM CV volser EJECT(&EJECT)

Get Converting to DFSMSrmm from CA-1 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.