Hi Nobuhiko, Thanks for your help. Using CBRSPLCS solved my problem. Gadi
________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Nobuhiko Furuya <furu...@v-sol.co.jp> Sent: Tuesday, March 25, 2025 03:53 To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: Virtual volumes assigned wrong category on TS7770 Hi You can use CBRSPLCS which is a sample program in SAMPLIB. If you use DFSMSrmm, EDGSPLCS can be used. Best regards, Nobuhiko Furuya(古谷信彦) On 2025/03/24 21:15, גדי בן אבי wrote: > The tapes do not have any data on them. > They are marked as scratch in the TMS, Tape Catalog and VTL. > > Gadi > > ________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of > Mike Schwab <000005962a42dc49-dmarc-requ...@listserv.ua.edu> > Sent: Monday, March 24, 2025 12:30 > To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU> > Subject: Re: Virtual volumes assigned wrong category on TS7770 > > Did you check all datasets on the tape? I.E. Label=2 or higher. > > On Mon, Mar 24, 2025 at 2:39 AM גדי בן אבי <gad...@malam-payroll.com> > wrote: > >> Hi, >> During an audit of our virtual tape system, we found many virtual volumes >> that were assigned the wrong category. >> This caused these virtual volumes to be unusable. >> We're trying to correct the problem. >> If we use ISMF option 2.3 (Mountable Tape) to change the attributes of the >> virtual volume to PRIVATE and then back to SCRATCH, the volume is assigned >> the correct category. >> We're looking for a way to do this in batch, since we have a about 400 >> virtual volumes that need to be fixed. >> >> We tried using these commands: >> ALTER VD02026 VOLENT USEATTRIBUTE(PRIVATE) STORAGEGROUP(TAPE) >> ALTER VD02026 VOLENT USEATTRIBUTE(SCRATCH) >> >> But they don't do the job. >> What are we doing wrong? >> >> We're using z/OS v3.1. >> >> Thanks >> >> Gadi >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN >> > > -- > Mike A Schwab, Springfield IL USA > Where do Forest Rangers go to get away from it all? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN