Hi,

I have an old program that was created for a different purpose, but may be 
helpful to your needs.
It was created to put devices ONLINE or OFFLINE based on the volser mask. 
For instance, if running in production, disks with volser P* were made ONLINE, 
while having any other
volser label, they were put offline. It was created for a very small 
environment with all disks shared, and
based on where running and the masks desired, the disks were made online or 
not. 

This program uses UCBSCAN macro to detect and filter the devices.

If you believe it fits your needs, send me a note, and I'll send you the code.


Best Regards

Ituriel do Nascimento Neto
z/OS System Programmer






Em sexta-feira, 13 de março de 2026 às 16:29:57 BRT, Mark Charles 
<[email protected]> escreveu: 





Hi Steve,

To get the answers from ISMF:

Become system admin:
0 ISMF Profile
0 User Mode Selection
User Mode . . 2

then back to main menu.
2 Volume
1 DASD

Select Source to Generate Volume List . . 2 (1 - Saved list, 2 - New list)
Specify Source of the New List . . 1 (1 - Physical, 2 - SMS)
and the one that gets what you need:
Type of Volume List . . . 3 (1-Online,2-Not Online,3-Either)

if you want a shorter list then select first chars of Volser:
Volume Serial Number . . CIC* (fully or partially specified)

and you can enter these, but you won't get some of the info:
Acquire Physical Data . . Y (Y or N)
Acquire Space Data . . . Y (Y or N)

Thank you,
Mark Charles

________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Steve Estle <[email protected]>
Sent: Saturday, March 7, 2026 12:20
To: [email protected] <[email protected]>
Subject: Identifying Duplicate Volsers In Environment

All,

I have (inherited) a ZOS environment with many duplicate volsers spread across 
two LPAR's: Prod & Test. Right now Test LPAR is down and we are needing to 
restart / ReIPL the Test LPAR but getting many duplicate volsers during IPL 
process. I'm looking for tool / utility that I can use / run from Production 
LPAR that will list out all duplicate volsers and related unit addresses within 
the defined DASD environment - of course this means the utility needs to 
interrogate all configured DASD volumes whether online or not.

Anything out there? - I tried ISMF and don't see a way to do thru the ISPF 
interface but possibly a trick or two with ISMF I'm not aware of?

Anyways open to any / all ideas - have to believe there is a way. Possibly CBT?

Thanks as always.

Steve Estle
CDW

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to