Can someone help me get the below syntax correct? $node works, but due to the "/" or "\\" in filespace_name, it gets escaped and does not execute properly. It would be greatly appreciated if someone could "fix" the syntax to get the $fs part working. btw... I'm scrolling through a list in a specific order so I need to execute as below.
occupancy=`dsmadmc -se=$server -id=id -pa=pass -datao=yes -tabd "select physical_mb from occupancy where node_name='$node' and filespace_name='$fs'"`
occupancy=`dsmadmc -se=$server -id=id -pa=pass -datao=yes -tabd "select physical_mb from occupancy where node_name='$node' and filespace_name='$fs'"`