Hi, we have two tapes to be used for daily backup. and we have scheduled jobs to run the daily backups at night. previously, we only need 1 tape but now, it asks for 2nd tape. we have a program to initialize single tape, but not for 2 tapes. can anyone helps on how to intialize more than 1 tape for daily backup (1 week rotation basis). 2 tape cartridges per day, 14 tapes/week. os version: v6r1. thanks.
DCL VAR(&DAY) TYPE(*CHAR) LEN(4)
DCL VAR(&DLYVOL) TYPE(*CHAR) LEN(6)
RTVSYSVAL SYSVAL(QDAYOFWEEK) RTNVAR(&DAY)
CHGVAR VAR(&DLYVOL) VALUE('DLY' *CAT %SST(&DAY 2 3))
INZTAP DEV(tapxx) NEWVOL(&DLYVOL) NEWOWNID(xxxx) CHECK(*NO) -