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.