TLMS UPV for a range of volumes
search cancel

TLMS UPV for a range of volumes

book

Article ID: 131036

calendar_today

Updated On:

Products

TLMS Tape Management

Issue/Introduction

The manual does not show how to put a range of volumes in scratch status.
//TLMSRPTS EXEC CATINQR,MODE=BATCH,
// VMF=SYS0.CA.TLMS.VMF,
// VMFIDX=SYS0.CA.TLMS.VMFINDEX
//CAIIPT DD *
UPV D00000,SCRATCH=YES,CDS=0000
UPV D00001,SCRATCH=YES,CDS=0000
UPV D00002,SCRATCH=YES,CDS=0000
UPV D00003,SCRATCH=YES,CDS=0000
UPV D00004,SCRATCH=YES,CDS=0000

Environment

Release:
Component: TLMS

Resolution

VOLSER ranges for most CATINQR commands are available in CA TLMS 14.0. The ranges are processed as if a command was issued for each VOLSER in the range. 
VOLSER ranges are only available for CATINQR in batch so that the results for each VOLSER can be displayed. 
This command has the following format: 

UPV volser[-volser] keyword=value [,keyword=value]... 

volser 
Specifies the volume serial number. 

To put a range of volumes into scratch status, please use: 

UPV D00000-D00004,SCRATCH=YES,CDS=0000