Heelo,
i would like to generate a liste of 'NON SMS VOLUME'. Is it possible to do it by batch ?
Thank's for your help.
Generate all the NON SMS volume
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Generate all the NON SMS volume
just postprocess a dcollect output dataset
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Re: Generate all the NON SMS volume
I di it but i have have volume belonging storrage groupe in other LPAR and i can't know if it is NON SMS volume or if it belongs to a storage group in other LPAR :
The output dataset is with a rexx :
I can see that DBV143 and BGTST8 are SMS Volume because they belongs to a storage groupe : SGBVDEV and BIGTEST
But the other volumes : UDBL07, UDBL08, ZDBP04 are "may be" NON SMS Volume or they belongs to a storage group in an other LPAR and i have to connect to the other LPAR to know it...
And it takes lots of time becuase we have sereval LPARS..
But i would like if it's possible to know it if it's possible to know it just in one LPAR.
Code: Select all
//DCOLLECT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SORTOUT DD DISP=SHR,DSN=UT40.DCOLLECT.VOLUME
//SYSIN DD *
DCOLLECT OUTFILE(SORTOUT) +
VOLUME(*) +
NODATAINFO
/*
The output dataset is with a rexx :
Code: Select all
UDBL07 4006 3390 - FRAGIX= 5 - 11% FREE - CAPACITY= 27
UDBL08 4007 3390 - FRAGIX= 5 - 11% FREE - CAPACITY= 27
DBV143 4008 3390 SGBVDEV - FRAGIX= 82 - 4% FREE - CAPACITY= 27
ZDBP04 4009 3390 - FRAGIX= 126 - 9% FREE - CAPACITY= 27
BGTST8 400A 3390 BIGTEST - FRAGIX= 482 - 2% FREE - CAPACITY= 27
I can see that DBV143 and BGTST8 are SMS Volume because they belongs to a storage groupe : SGBVDEV and BIGTEST
But the other volumes : UDBL07, UDBL08, ZDBP04 are "may be" NON SMS Volume or they belongs to a storage group in an other LPAR and i have to connect to the other LPAR to know it...
And it takes lots of time becuase we have sereval LPARS..
But i would like if it's possible to know it if it's possible to know it just in one LPAR.
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: Generate all the NON SMS volume
I think so. The LISTVTOC utility will tell you is the volume is SMS managaged, and as I recall it this info is based on the SMS flag in the VTOC.
You will of course have to build the LISTVTOC job including all the online volumes.
Sample:
I choose to list the VVDS because if that is not found then the volume is definitely not SMS managed.
You will of course have to build the LISTVTOC job including all the online volumes.
Sample:
Code: Select all
// EXEC PGM=IEHLIST
//SYSPRINT DD SYSOUT=*
//DD1 DD DISP=SHR,UNIT=SYSDA,VOL=SER=SYSXU1
LISTVTOC VOL=3380=SYSXU1,DSNAME=SYS1.VVDS.VSYSXU1
I choose to list the VVDS because if that is not found then the volume is definitely not SMS managed.
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: Generate all the NON SMS volume
Sorry, as is obvious from the sample the name of the utility is IEHLIST, not LISTVTOC. I hit the submit button instead of preview 

Re: Generate all the NON SMS volume
Hello, thank'you. Now the difficulty is to get the vtoc name of each volume by batch...
May be with a DCOLLECT VOLUME(*) NODATAINFO ?
May be with a DCOLLECT VOLUME(*) NODATAINFO ?
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: Generate all the NON SMS volume
My personal favorite would be the REXX interface of the MXI freeware program from www.cbttape.org file 182. A perhaps simpler alternative would be the VTOC program, from www.cbttape.org file 112. Both of which of course will require that you can install software in your system.
I am not aware of any standard utility to provide an online dasd volume list.
I am not aware of any standard utility to provide an online dasd volume list.
Re: Generate all the NON SMS volume
Thank you for your help but i can't find : File 112 or 182 in this page : http://www.cbttape.org/updates.htm
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Generate all the NON SMS volume
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Generate all the NON SMS volume
Thank you for your help but i can't find ....
probably because they are in the main section
http://www.cbttape.org/cbtdowns.htm
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 1790
-
by Blackthorn
View the latest post
Fri Mar 05, 2021 9:34 pm
-
- 0
- 2685
-
by samb01
View the latest post
Thu Feb 04, 2021 6:34 pm
-
- 4
- 4780
-
by willy jensen
View the latest post
Thu Nov 12, 2020 2:40 pm
-
-
REXX call RACF service IRRSPK00 to generate Pass Tickets
by VladGoodman » Mon Feb 27, 2023 1:11 am » in CLIST & REXX - 4
- 2414
-
by Pedro
View the latest post
Fri Mar 17, 2023 11:40 pm
-