Thanks Kevin, I had to add NULLIFY(ERRORSTATUS) to the command to make it work.
Gadi -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Neubert, Kevin Sent: Wednesday, February 13, 2019 6:19 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: VTL - ISMF Question Build list of volsers with the ERROR-STATUS in question. LISTCAT CATALOG('your.VOLCAT.catalog') ALL Alter volsers accordingly. ALTER Vvolser VOLENTRY USEATTRIBUTE(SCRATCH) OWNERINFORMATION(' ') Regards, Kevin -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Wednesday, February 13, 2019 6:16 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: VTL - ISMF Question Hi, When I look at the list of scratch volumes in ISMF, I see lots of volumes with the status 'REJ BY TAP MGT SYS' I know that if I alter them and select Scratch, they will be returned to the scratch pool. Is there a way to do this in Batch or for all of the volumes in one operation. I have more than 500 of these volumes. Thanks Gadi ---------------------------------------------------------------------- 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