I have a loop that I use to get this info, if I need it. Note, this is ksh, and our naming standard is to end all storage groups with '_SG', so I grep for that. Make sure to replace it with something that fits your standard.
for x in $(cat devs)
y=$(symaccess -sid <YOUR_ID> -type storage list dev $x | grep _SG | tr -d '\n')
echo "$x $y"