Page 1 of 1

Generate all the NON SMS volume

PostPosted: Wed Jun 06, 2018 1:44 pm
by samb01
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.

Re: Generate all the NON SMS volume

PostPosted: Wed Jun 06, 2018 5:04 pm
by enrico-sorichetti
just postprocess a dcollect output dataset

Re: Generate all the NON SMS volume

PostPosted: Wed Jun 06, 2018 6:06 pm
by samb01
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 :



//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 :


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.

Re: Generate all the NON SMS volume

PostPosted: Wed Jun 06, 2018 9:14 pm
by willy jensen
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:
//     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.

Re: Generate all the NON SMS volume

PostPosted: Wed Jun 06, 2018 9:15 pm
by willy jensen
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

PostPosted: Thu Jun 07, 2018 3:08 pm
by samb01
Hello, thank'you. Now the difficulty is to get the vtoc name of each volume by batch...
May be with a DCOLLECT VOLUME(*) NODATAINFO ?

Re: Generate all the NON SMS volume

PostPosted: Thu Jun 07, 2018 4:22 pm
by willy jensen
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.

Re: Generate all the NON SMS volume

PostPosted: Fri Jun 08, 2018 5:35 pm
by samb01
Thank you for your help but i can't find : File 112 or 182 in this page : http://www.cbttape.org/updates.htm

Re: Generate all the NON SMS volume

PostPosted: Fri Jun 08, 2018 5:41 pm
by enrico-sorichetti

Re: Generate all the NON SMS volume

PostPosted: Fri Jun 08, 2018 5:43 pm
by enrico-sorichetti
Thank you for your help but i can't find ....

probably because they are in the main section
http://www.cbttape.org/cbtdowns.htm