Read-only variables not allowed in storage group routine

The following read-only variables are not allowed in the storage group selection routine: