Generate all the NON SMS volume



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Generate all the NON SMS volume

Postby samb01 » Wed Jun 06, 2018 1:44 pm

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.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Generate all the NON SMS volume

Postby enrico-sorichetti » Wed Jun 06, 2018 5:04 pm

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-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Generate all the NON SMS volume

Postby samb01 » Wed Jun 06, 2018 6:06 pm

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.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Generate all the NON SMS volume

Postby willy jensen » Wed Jun 06, 2018 9:14 pm

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.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: Generate all the NON SMS volume

Postby willy jensen » Wed Jun 06, 2018 9:15 pm

Sorry, as is obvious from the sample the name of the utility is IEHLIST, not LISTVTOC. I hit the submit button instead of preview :(
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: Generate all the NON SMS volume

Postby samb01 » Thu Jun 07, 2018 3:08 pm

Hello, thank'you. Now the difficulty is to get the vtoc name of each volume by batch...
May be with a DCOLLECT VOLUME(*) NODATAINFO ?
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Generate all the NON SMS volume

Postby willy jensen » Thu Jun 07, 2018 4:22 pm

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.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: Generate all the NON SMS volume

Postby samb01 » Fri Jun 08, 2018 5:35 pm

Thank you for your help but i can't find : File 112 or 182 in this page : http://www.cbttape.org/updates.htm
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Generate all the NON SMS volume

Postby enrico-sorichetti » Fri Jun 08, 2018 5:41 pm

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-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Generate all the NON SMS volume

Postby enrico-sorichetti » Fri Jun 08, 2018 5:43 pm

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-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post